]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/gnome-canvas-pixbuf.h
applied patch from Andreas Persenius <ndap@swipnet.se> that updates the
[~andy/gtk] / gdk-pixbuf / gnome-canvas-pixbuf.h
1 /* GNOME libraries - GdkPixbuf item for the GNOME canvas
2  *
3  * Copyright (C) 1999 The Free Software Foundation
4  *
5  * Author: Federico Mena-Quintero <federico@gimp.org>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser 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  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser 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 GNOME_CANVAS_PIXBUF_H
24 #define GNOME_CANVAS_PIXBUF_H
25
26 #include <libgnome/gnome-defs.h>
27 #include <libgnomeui/gnome-canvas.h>
28
29 BEGIN_GNOME_DECLS
30
31 \f
32
33 #define GNOME_TYPE_CANVAS_PIXBUF            (gnome_canvas_pixbuf_get_type ())
34 #define GNOME_CANVAS_PIXBUF(obj)            (GTK_CHECK_CAST ((obj),             \
35                                              GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbuf))
36 #define GNOME_CANVAS_PIXBUF_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass),     \
37                                              GNOME_TYPE_CANVAS_PIXBUF, GnomeCanvasPixbufClass))
38 #define GNOME_IS_CANVAS_PIXBUF(obj)         (GTK_CHECK_TYPE ((obj), GNOME_TYPE_CANVAS_PIXBUF))
39 #define GNOME_IS_CANVAS_PIXBUF_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass),     \
40                                              GNOME_TYPE_CANVAS_PIXBUF))
41
42
43 typedef struct _GnomeCanvasPixbuf GnomeCanvasPixbuf;
44 typedef struct _GnomeCanvasPixbufClass GnomeCanvasPixbufClass;
45
46 struct _GnomeCanvasPixbuf {
47         GnomeCanvasItem item;
48
49         /* Private data */
50         gpointer priv;
51 };
52
53 struct _GnomeCanvasPixbufClass {
54         GnomeCanvasItemClass parent_class;
55 };
56
57
58 GtkType gnome_canvas_pixbuf_get_type (void);
59
60 \f
61
62 END_GNOME_DECLS
63
64 #endif