00001 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 00002 00003 /* Metacity resizing-terminal-window feedback */ 00004 00005 /* 00006 * Copyright (C) 2001 Havoc Pennington 00007 * 00008 * This program is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU General Public License as 00010 * published by the Free Software Foundation; either version 2 of the 00011 * License, or (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, but 00014 * WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 * General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00021 * 02111-1307, USA. 00022 */ 00023 00024 #ifndef META_RESIZEPOPUP_H 00025 #define META_RESIZEPOPUP_H 00026 00027 /* Don't include gtk.h or gdk.h here */ 00028 #include "boxes.h" 00029 #include "common.h" 00030 #include <X11/Xlib.h> 00031 #include <glib.h> 00032 #include <gdk-pixbuf/gdk-pixbuf.h> 00033 00034 MetaResizePopup* meta_ui_resize_popup_new (Display *display, 00035 int screen_number); 00036 void meta_ui_resize_popup_free (MetaResizePopup *popup); 00037 void meta_ui_resize_popup_set (MetaResizePopup *popup, 00038 MetaRectangle rect, 00039 int base_width, 00040 int base_height, 00041 int width_inc, 00042 int height_inc); 00043 void meta_ui_resize_popup_set_showing (MetaResizePopup *popup, 00044 gboolean showing); 00045 00046 #endif 00047
1.5.5