comparison plugins/win32/winprefs/gtkappbar.h @ 10550:522cd02f235f

[gaim-migrate @ 11924] This should fix the annoying problem of the docked buddy list stealing screen real estate when it is hidden. Turns out it was actually using the section of the screen, you just couldn't see it. I think this is the last of the bugs that I introduced into the docking stuff. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 28 Jan 2005 05:01:24 +0000
parents 759a81390b36
children
comparison
equal deleted inserted replaced
10549:8bc7ba019e96 10550:522cd02f235f
25 #ifndef _GTKAPPBAR_H_ 25 #ifndef _GTKAPPBAR_H_
26 #define _GTKAPPBAR_H_ 26 #define _GTKAPPBAR_H_
27 27
28 typedef struct { 28 typedef struct {
29 GtkWidget *win; 29 GtkWidget *win;
30 /** The rectangle of the screen area used for docking */
30 RECT docked_rect; 31 RECT docked_rect;
32 /** The height of the window prior to docking */
31 UINT undocked_height; 33 UINT undocked_height;
34 /** The side of the screen to which the window is docked*/
32 UINT side; 35 UINT side;
36 /** Is the window currently docked? */
33 gboolean docked; 37 gboolean docked;
38 /** Is the window currently in the process of docking? */
34 gboolean docking; 39 gboolean docking;
40 /** Is the window currently registered as an appbar */
35 gboolean registered; 41 gboolean registered;
42 /** Callback functions to notify of dock state change */
36 GList *dock_cbs; 43 GList *dock_cbs;
44 /** Is the window currently iconized? */
45 gboolean iconized;
37 } GtkAppBar; 46 } GtkAppBar;
38 47
39 typedef void (*GtkAppBarDockCB)(gboolean); 48 typedef void (*GtkAppBarDockCB)(gboolean);
40 49
41 GtkAppBar *gtk_appbar_add(GtkWidget *win); 50 GtkAppBar *gtk_appbar_add(GtkWidget *win);