Mercurial > pidgin.yaz
comparison gtk/plugins/win32/winprefs/gtkappbar.h @ 14224:ab8a105eff62
[gaim-migrate @ 16905]
First step of getting wingaim working again.
libgaim and gtk are compiling.
The protocols aren't compiling yet.
There are a number of things that are compiling, but should be cleaned up.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 20 Aug 2006 16:49:37 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
14223:7c560c01b8f9 | 14224:ab8a105eff62 |
---|---|
1 /* | |
2 * gaim - WinGaim Options Plugin | |
3 * | |
4 * File: gtkappbar.h | |
5 * Date: August 2, 2003 | |
6 * Description: Appbar functionality for Windows GTK+ applications | |
7 * | |
8 * Copyright (C) 2003, Herman Bloggs <hermanator12002@yahoo.com> | |
9 * | |
10 * This program is free software; you can redistribute it and/or modify | |
11 * it under the terms of the GNU General Public License as published by | |
12 * the Free Software Foundation; either version 2 of the License, or | |
13 * (at your option) any later version. | |
14 * | |
15 * This program is distributed in the hope that it will be useful, | |
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 * GNU General Public License for more details. | |
19 * | |
20 * You should have received a copy of the GNU General Public License | |
21 * along with this program; if not, write to the Free Software | |
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
23 * | |
24 */ | |
25 #ifndef _GTKAPPBAR_H_ | |
26 #define _GTKAPPBAR_H_ | |
27 | |
28 typedef struct { | |
29 GtkWidget *win; | |
30 /** The rectangle of the screen area used for docking */ | |
31 RECT docked_rect; | |
32 /** The height of the window prior to docking */ | |
33 UINT undocked_height; | |
34 /** The side of the screen to which the window is docked*/ | |
35 UINT side; | |
36 /** Is the window currently docked? */ | |
37 gboolean docked; | |
38 /** Is the window currently in the process of docking? */ | |
39 gboolean docking; | |
40 /** Is the window currently registered as an appbar */ | |
41 gboolean registered; | |
42 /** Callback functions to notify of dock state change */ | |
43 GList *dock_cbs; | |
44 /** Is the window currently iconized? */ | |
45 gboolean iconized; | |
46 } GtkAppBar; | |
47 | |
48 typedef void (*GtkAppBarDockCB)(gboolean); | |
49 | |
50 GtkAppBar *gtk_appbar_add(GtkWidget *win); | |
51 void gtk_appbar_remove(GtkAppBar *ab); | |
52 void gtk_appbar_dock(GtkAppBar *ab, UINT side); | |
53 void gtk_appbar_add_dock_cb(GtkAppBar *ab, GtkAppBarDockCB dock_cb); | |
54 | |
55 #endif /* _GTKAPPBAR_H_ */ |