| 1 |
/* MS-Windows Engine (aka GTK-Wimp) |
| 2 |
* |
| 3 |
* Copyright (C) 2003, 2004 Raymond Penners <[email protected]> |
| 4 |
* Includes code adapted from redmond95 by Owen Taylor, and |
| 5 |
* gtk-nativewin by Evan Martin |
| 6 |
* |
| 7 |
* This library is free software; you can redistribute it and/or |
| 8 |
* modify it under the terms of the GNU Library General Public |
| 9 |
* License as published by the Free Software Foundation; either |
| 10 |
* version 2 of the License, or (at your option) any later version. |
| 11 |
* |
| 12 |
* This library is distributed in the hope that it will be useful, |
| 13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 |
* Library General Public License for more details. |
| 16 |
* |
| 17 |
* You should have received a copy of the GNU Library General Public |
| 18 |
* License along with this library; if not, write to the |
| 19 |
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 20 |
* Boston, MA 02111-1307, USA. |
| 21 |
*/ |
| 22 |
|
| 23 |
#ifndef MSW_RC_STYLE_H |
| 24 |
#define MSW_RC_STYLE_H |
| 25 |
|
| 26 |
#include "gtk/gtk.h" |
| 27 |
|
| 28 |
typedef struct _MswRcStyle MswRcStyle; |
| 29 |
typedef struct _MswRcStyleClass MswRcStyleClass; |
| 30 |
|
| 31 |
extern GType msw_type_rc_style; |
| 32 |
|
| 33 |
#define MSW_TYPE_RC_STYLE msw_type_rc_style |
| 34 |
#define MSW_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), MSW_TYPE_RC_STYLE, MswRcStyle)) |
| 35 |
#define MSW_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MSW_TYPE_RC_STYLE, MswRcStyleClass)) |
| 36 |
#define MSW_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), MSW_TYPE_RC_STYLE)) |
| 37 |
#define MSW_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MSW_TYPE_RC_STYLE)) |
| 38 |
#define MSW_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MSW_TYPE_RC_STYLE, MswRcStyleClass)) |
| 39 |
|
| 40 |
struct _MswRcStyle |
| 41 |
{ |
| 42 |
GtkRcStyle parent_instance; |
| 43 |
|
| 44 |
GList *img_list; |
| 45 |
}; |
| 46 |
|
| 47 |
struct _MswRcStyleClass |
| 48 |
{ |
| 49 |
GtkRcStyleClass parent_class; |
| 50 |
}; |
| 51 |
|
| 52 |
void msw_rc_style_register_type (GTypeModule *module); |
| 53 |
|
| 54 |
#endif /* MSW_TYPE_RC_STYLE */ |