1 | /* Redmond Theme Engine |
---|
2 | * Copyright (C) 2001 Red Hat, Inc. |
---|
3 | * |
---|
4 | * This library is free software; you can redistribute it and/or |
---|
5 | * modify it under the terms of the GNU Library General Public |
---|
6 | * License as published by the Free Software Foundation; either |
---|
7 | * version 2 of the License, or (at your option) any later version. |
---|
8 | * |
---|
9 | * This library is distributed in the hope that it will be useful, |
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
12 | * Library General Public License for more details. |
---|
13 | * |
---|
14 | * You should have received a copy of the GNU Library General Public |
---|
15 | * License along with this library; if not, write to the |
---|
16 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
---|
17 | * Boston, MA 02111-1307, USA. |
---|
18 | * |
---|
19 | * Written by Owen Taylor <otaylor@redhat.com> |
---|
20 | */ |
---|
21 | |
---|
22 | #include <gtk/gtkrc.h> |
---|
23 | |
---|
24 | typedef struct _RedmondRcStyle RedmondRcStyle; |
---|
25 | typedef struct _RedmondRcStyleClass RedmondRcStyleClass; |
---|
26 | |
---|
27 | extern GType redmond_type_rc_style; |
---|
28 | |
---|
29 | #define REDMOND_TYPE_RC_STYLE redmond_type_rc_style |
---|
30 | #define REDMOND_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REDMOND_TYPE_RC_STYLE, RedmondRcStyle)) |
---|
31 | #define REDMOND_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REDMOND_TYPE_RC_STYLE, RedmondRcStyleClass)) |
---|
32 | #define REDMOND_IS_RC_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REDMOND_TYPE_RC_STYLE)) |
---|
33 | #define REDMOND_IS_RC_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REDMOND_TYPE_RC_STYLE)) |
---|
34 | #define REDMOND_RC_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REDMOND_TYPE_RC_STYLE, RedmondRcStyleClass)) |
---|
35 | |
---|
36 | struct _RedmondRcStyle |
---|
37 | { |
---|
38 | GtkRcStyle parent_instance; |
---|
39 | |
---|
40 | GList *img_list; |
---|
41 | }; |
---|
42 | |
---|
43 | struct _RedmondRcStyleClass |
---|
44 | { |
---|
45 | GtkRcStyleClass parent_class; |
---|
46 | }; |
---|
47 | |
---|
48 | void redmond_rc_style_register_type (GTypeModule *module); |
---|