]> Pileus Git - ~andy/gtk/blob - modules/engines/ms-windows/msw_style.h
Make the ms-windows theme engine build with mingw.
[~andy/gtk] / modules / engines / ms-windows / msw_style.h
1 /* MS-Windows Engine (aka GTK-Wimp)\r
2  *\r
3  * Copyright (C) 2003, 2004 Raymond Penners <raymond@dotsphinx.com>\r
4  * Includes code adapted from redmond95 by Owen Taylor, and\r
5  * gtk-nativewin by Evan Martin\r
6  *\r
7  * This library is free software; you can redistribute it and/or\r
8  * modify it under the terms of the GNU Library General Public\r
9  * License as published by the Free Software Foundation; either\r
10  * version 2 of the License, or (at your option) any later version.\r
11  *\r
12  * This library is distributed in the hope that it will be useful,\r
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
15  * Library General Public License for more details.\r
16  *\r
17  * You should have received a copy of the GNU Library General Public\r
18  * License along with this library; if not, write to the\r
19  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,\r
20  * Boston, MA 02111-1307, USA.\r
21  */\r
22 \r
23 #ifndef MSW_STYLE_H\r
24 #define MSW_STYLE_H\r
25 \r
26 #include "gtk/gtkstyle.h"\r
27 \r
28 typedef struct _MswStyle MswStyle;\r
29 typedef struct _MswStyleClass MswStyleClass;\r
30 \r
31 extern GType msw_type_style;\r
32 \r
33 #define MSW_TYPE_STYLE              msw_type_style\r
34 #define MSW_STYLE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), MSW_TYPE_STYLE, MswStyle))\r
35 #define MSW_STYLE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), MSW_TYPE_STYLE, MswStyleClass))\r
36 #define MSW_IS_STYLE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), MSW_TYPE_STYLE))\r
37 #define MSW_IS_STYLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), MSW_TYPE_STYLE))\r
38 #define MSW_STYLE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), MSW_TYPE_STYLE, MswStyleClass))\r
39 \r
40 struct _MswStyle\r
41 {\r
42   GtkStyle parent_instance;\r
43 };\r
44 \r
45 struct _MswStyleClass\r
46 {\r
47   GtkStyleClass parent_class;\r
48 };\r
49 \r
50 void msw_style_register_type (GTypeModule *module);\r
51 void msw_style_init (void);\r
52 void msw_style_setup_system_settings (void);\r
53 \r
54 #endif /* MSW_TYPE_STYLE */\r