1 | /* Redmond 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 | |
---|
23 | #include <gtk/gtkstyle.h> |
---|
24 | |
---|
25 | typedef struct _RedmondStyle RedmondStyle; |
---|
26 | typedef struct _RedmondStyleClass RedmondStyleClass; |
---|
27 | |
---|
28 | extern GType redmond_type_style; |
---|
29 | |
---|
30 | #define REDMOND_TYPE_STYLE redmond_type_style |
---|
31 | #define REDMOND_STYLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), REDMOND_TYPE_STYLE, RedmondStyle)) |
---|
32 | #define REDMOND_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), REDMOND_TYPE_STYLE, RedmondStyleClass)) |
---|
33 | #define REDMOND_IS_STYLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), REDMOND_TYPE_STYLE)) |
---|
34 | #define REDMOND_IS_STYLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), REDMOND_TYPE_STYLE)) |
---|
35 | #define REDMOND_STYLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), REDMOND_TYPE_STYLE, RedmondStyleClass)) |
---|
36 | |
---|
37 | struct _RedmondStyle |
---|
38 | { |
---|
39 | GtkStyle parent_instance; |
---|
40 | }; |
---|
41 | |
---|
42 | struct _RedmondStyleClass |
---|
43 | { |
---|
44 | GtkStyleClass parent_class; |
---|
45 | }; |
---|
46 | |
---|
47 | void redmond_style_register_type (GTypeModule *module); |
---|