00001
00002
00003 #ifndef _GOOCANVASMM_STYLE_H
00004 #define _GOOCANVASMM_STYLE_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <glibmm/object.h>
00028 #include <cairo.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GooCanvasStyle GooCanvasStyle;
00033 typedef struct _GooCanvasStyleClass GooCanvasStyleClass;
00034 #endif
00035
00036
00037 namespace Goocanvas
00038 { class Style_Class; }
00039 namespace Goocanvas
00040 {
00041
00042
00043 class Style : public Glib::Object
00044 {
00045
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047
00048 public:
00049 typedef Style CppObjectType;
00050 typedef Style_Class CppClassType;
00051 typedef GooCanvasStyle BaseObjectType;
00052 typedef GooCanvasStyleClass BaseClassType;
00053
00054 private: friend class Style_Class;
00055 static CppClassType style_class_;
00056
00057 private:
00058
00059 Style(const Style&);
00060 Style& operator=(const Style&);
00061
00062 protected:
00063 explicit Style(const Glib::ConstructParams& construct_params);
00064 explicit Style(GooCanvasStyle* castitem);
00065
00066 #endif
00067
00068 public:
00069 virtual ~Style();
00070
00071 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00072 static GType get_type() G_GNUC_CONST;
00073 static GType get_base_type() G_GNUC_CONST;
00074 #endif
00075
00077 GooCanvasStyle* gobj() { return reinterpret_cast<GooCanvasStyle*>(gobject_); }
00078
00080 const GooCanvasStyle* gobj() const { return reinterpret_cast<GooCanvasStyle*>(gobject_); }
00081
00083 GooCanvasStyle* gobj_copy();
00084
00085 private:
00086
00087 protected:
00088 Style();
00089
00090 public:
00091
00092 static Glib::RefPtr<Style> create();
00093
00094
00095 public:
00096
00097 public:
00098
00099 #ifdef GLIBMM_VFUNCS_ENABLED
00100 #endif //GLIBMM_VFUNCS_ENABLED
00101
00102 protected:
00103
00104 #ifdef GLIBMM_VFUNCS_ENABLED
00105 #endif //GLIBMM_VFUNCS_ENABLED
00106
00107
00108 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00109 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00110
00111
00112 };
00113
00114
00115 }
00116
00117
00118 namespace Glib
00119 {
00128 Glib::RefPtr<Goocanvas::Style> wrap(GooCanvasStyle* object, bool take_copy = false);
00129 }
00130
00131
00132 #endif
00133