]> Pileus Git - ~andy/gtk/blob - modules/engines/pixbuf/pixbuf-rc-style.h
96a6e0051bde23a353a25c7e778d6cd653ca9d37
[~andy/gtk] / modules / engines / pixbuf / pixbuf-rc-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, 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>, based on code by
20  * Carsten Haitzler <raster@rasterman.com>
21  */
22
23 #include <gtk/gtk.h>
24
25 typedef struct _PixbufRcStyle PixbufRcStyle;
26 typedef struct _PixbufRcStyleClass PixbufRcStyleClass;
27
28 extern G_GNUC_INTERNAL GType pixbuf_type_rc_style;
29
30 #define PIXBUF_TYPE_RC_STYLE              pixbuf_type_rc_style
31 #define PIXBUF_RC_STYLE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), PIXBUF_TYPE_RC_STYLE, PixbufRcStyle))
32 #define PIXBUF_RC_STYLE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), PIXBUF_TYPE_RC_STYLE, PixbufRcStyleClass))
33 #define PIXBUF_IS_RC_STYLE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), PIXBUF_TYPE_RC_STYLE))
34 #define PIXBUF_IS_RC_STYLE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), PIXBUF_TYPE_RC_STYLE))
35 #define PIXBUF_RC_STYLE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), PIXBUF_TYPE_RC_STYLE, PixbufRcStyleClass))
36
37 struct _PixbufRcStyle
38 {
39   GtkRcStyle parent_instance;
40   
41   GList *img_list;
42 };
43
44 struct _PixbufRcStyleClass
45 {
46   GtkRcStyleClass parent_class;
47 };
48
49 G_GNUC_INTERNAL  void pixbuf_rc_style_register_type (GTypeModule *module);