merge gnomecanvas into ardour tree, so that we can fix our own bugs and not wait...
[ardour.git] / libs / gnomecanvas / libgnomecanvas / gnome-canvas-bpath.h
1 /* Bpath item type for GnomeCanvas widget
2  *
3  * GnomeCanvas is basically a port of the Tk toolkit's most excellent canvas widget.  Tk is
4  * copyrighted by the Regents of the University of California, Sun Microsystems, and other parties.
5  *
6  * Copyright (C) 1998,1999 The Free Software Foundation
7  *
8  * Authors: Federico Mena <federico@nuclecu.unam.mx>
9  *          Raph Levien <raph@acm.org>
10  *          Lauris Kaplinski <lauris@ximian.com>
11  *          Rusty Conover <rconover@bangtail.net>
12  */
13
14 #ifndef GNOME_CANVAS_BPATH_H
15 #define GNOME_CANVAS_BPATH_H
16
17 #include <libgnomecanvas/gnome-canvas.h>
18 #include <libgnomecanvas/gnome-canvas-shape.h>
19 #include <libgnomecanvas/gnome-canvas-path-def.h>
20
21 G_BEGIN_DECLS
22
23
24 /* Bpath item for the canvas.
25  *
26  * The following object arguments are available:
27  *
28  * name                 type                    read/write      description
29  * ------------------------------------------------------------------------------------------
30  * bpath                GnomeCanvasPathDef *            RW              Pointer to an GnomeCanvasPathDef structure.
31  *                                                              This can be created by a call to
32  *                                                              gp_path_new() in (gp-path.h).
33  */
34
35 #define GNOME_TYPE_CANVAS_BPATH            (gnome_canvas_bpath_get_type ())
36 #define GNOME_CANVAS_BPATH(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_TYPE_CANVAS_BPATH, GnomeCanvasBpath))
37 #define GNOME_CANVAS_BPATH_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_TYPE_CANVAS_BPATH, GnomeCanvasBpathClass))
38 #define GNOME_IS_CANVAS_BPATH(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_TYPE_CANVAS_BPATH))
39 #define GNOME_IS_CANVAS_BPATH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GNOME_TYPE_CANVAS_BPATH))
40
41
42 typedef struct _GnomeCanvasBpath GnomeCanvasBpath;
43 typedef struct _GnomeCanvasBpathPriv GnomeCanvasBpathPriv;
44 typedef struct _GnomeCanvasBpathClass GnomeCanvasBpathClass;
45
46 struct _GnomeCanvasBpath {
47         GnomeCanvasShape item;
48         
49 };
50
51 struct _GnomeCanvasBpathClass {
52         GnomeCanvasShapeClass parent_class;
53 };
54
55
56 /* Standard Gtk function */
57 GType gnome_canvas_bpath_get_type (void) G_GNUC_CONST;
58
59 G_END_DECLS
60
61 #endif