]> Pileus Git - ~andy/gtk/blob - modules/engines/pixbuf/pixbuf-style.h
ec6b60c225ae9d4db3ca6d5e281f7666f2d1a8a8
[~andy/gtk] / modules / engines / pixbuf / pixbuf-style.h
1 /* GTK+ Pixbuf Engine
2  * Copyright (C) 1998-2000 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, see <http://www.gnu.org/licenses/>.
16  *
17  * Written by Owen Taylor <otaylor@redhat.com>, based on code by
18  * Carsten Haitzler <raster@rasterman.com>
19  */
20
21 #include <gtk/gtk.h>
22
23 typedef struct _PixbufStyle PixbufStyle;
24 typedef struct _PixbufStyleClass PixbufStyleClass;
25
26 extern G_GNUC_INTERNAL GType pixbuf_type_style;
27
28 #define PIXBUF_TYPE_STYLE              pixbuf_type_style
29 #define PIXBUF_STYLE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_STYLE, PixbufStyle))
30 #define PIXBUF_STYLE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), PIXBUF_TYPE_STYLE, PixbufStyleClass))
31 #define PIXBUF_IS_STYLE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PIXBUF_TYPE_STYLE))
32 #define PIXBUF_IS_STYLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), PIXBUF_TYPE_STYLE))
33 #define PIXBUF_STYLE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), PIXBUF_TYPE_STYLE, PixbufStyleClass))
34
35 struct _PixbufStyle
36 {
37   GtkStyle parent_instance;
38 };
39
40 struct _PixbufStyleClass
41 {
42   GtkStyleClass parent_class;
43 };
44
45 G_GNUC_INTERNAL void pixbuf_style_register_type (GTypeModule *module);
46
47