libgnomecanvasmm
|
00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGNOMECANVASMM_RECT_ELLIPSE_H 00004 #define _LIBGNOMECANVASMM_RECT_ELLIPSE_H 00005 00006 00007 #include <glibmm.h> 00008 00009 // -*- C++ -*- 00010 /* $Id: rect-ellipse.hg,v 1.6 2002/04/01 16:54:22 murrayc Exp $ */ 00011 00012 /* canvas-ellipse.h 00013 * 00014 * Copyright (C) 1998 EMC Capital Management Inc. 00015 * Developed by Havoc Pennington <hp@pobox.com> 00016 * 00017 * Copyright (C) 1999 The Gtk-- Development Team 00018 * 00019 * This library is free software; you can redistribute it and/or 00020 * modify it under the terms of the GNU Lesser General Public 00021 * License as published by the Free Software Foundation; either 00022 * version 2.1 of the License, or (at your option) any later version. 00023 * 00024 * This library is distributed in the hope that it will be useful, 00025 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00026 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00027 * Lesser General Public License for more details. 00028 * 00029 * You should have received a copy of the GNU Lesser General Public 00030 * License along with this library; if not, write to the Free 00031 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00032 */ 00033 00034 #include <libgnomecanvasmm/shape.h> 00035 //#include <libgnomecanvasmm/group.h> 00036 #include <libgnomecanvas/gnome-canvas-rect-ellipse.h> 00037 00038 00039 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00040 typedef struct _GnomeCanvasRE GnomeCanvasRE; 00041 typedef struct _GnomeCanvasREClass GnomeCanvasREClass; 00042 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00043 00044 00045 namespace Gnome 00046 { 00047 00048 namespace Canvas 00049 { class RectEllipse_Class; } // namespace Canvas 00050 00051 } // namespace Gnome 00052 namespace Gnome 00053 { 00054 00055 namespace Canvas 00056 { 00057 00062 class RectEllipse : public Shape 00063 { 00064 public: 00065 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00066 typedef RectEllipse CppObjectType; 00067 typedef RectEllipse_Class CppClassType; 00068 typedef GnomeCanvasRE BaseObjectType; 00069 typedef GnomeCanvasREClass BaseClassType; 00070 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00071 00072 virtual ~RectEllipse(); 00073 00074 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00075 00076 private: 00077 friend class RectEllipse_Class; 00078 static CppClassType rectellipse_class_; 00079 00080 // noncopyable 00081 RectEllipse(const RectEllipse&); 00082 RectEllipse& operator=(const RectEllipse&); 00083 00084 protected: 00085 explicit RectEllipse(const Glib::ConstructParams& construct_params); 00086 explicit RectEllipse(GnomeCanvasRE* castitem); 00087 00088 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00089 00090 public: 00091 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00092 static GType get_type() G_GNUC_CONST; 00093 static GType get_base_type() G_GNUC_CONST; 00094 #endif 00095 00097 GnomeCanvasRE* gobj() { return reinterpret_cast<GnomeCanvasRE*>(gobject_); } 00098 00100 const GnomeCanvasRE* gobj() const { return reinterpret_cast<GnomeCanvasRE*>(gobject_); } 00101 00102 00103 public: 00104 //C++ methods used to invoke GTK+ virtual functions: 00105 #ifdef GLIBMM_VFUNCS_ENABLED 00106 #endif //GLIBMM_VFUNCS_ENABLED 00107 00108 protected: 00109 //GTK+ Virtual Functions (override these to change behaviour): 00110 #ifdef GLIBMM_VFUNCS_ENABLED 00111 #endif //GLIBMM_VFUNCS_ENABLED 00112 00113 //Default Signal Handlers:: 00114 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00115 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00116 00117 00118 private: 00119 00120 public: 00121 explicit RectEllipse(Group& parent); 00122 00123 #ifdef GLIBMM_PROPERTIES_ENABLED 00124 00130 Glib::PropertyProxy<double> property_x1() ; 00131 #endif //#GLIBMM_PROPERTIES_ENABLED 00132 00133 #ifdef GLIBMM_PROPERTIES_ENABLED 00134 00140 Glib::PropertyProxy_ReadOnly<double> property_x1() const; 00141 #endif //#GLIBMM_PROPERTIES_ENABLED 00142 00143 #ifdef GLIBMM_PROPERTIES_ENABLED 00144 00150 Glib::PropertyProxy<double> property_y1() ; 00151 #endif //#GLIBMM_PROPERTIES_ENABLED 00152 00153 #ifdef GLIBMM_PROPERTIES_ENABLED 00154 00160 Glib::PropertyProxy_ReadOnly<double> property_y1() const; 00161 #endif //#GLIBMM_PROPERTIES_ENABLED 00162 00163 #ifdef GLIBMM_PROPERTIES_ENABLED 00164 00170 Glib::PropertyProxy<double> property_x2() ; 00171 #endif //#GLIBMM_PROPERTIES_ENABLED 00172 00173 #ifdef GLIBMM_PROPERTIES_ENABLED 00174 00180 Glib::PropertyProxy_ReadOnly<double> property_x2() const; 00181 #endif //#GLIBMM_PROPERTIES_ENABLED 00182 00183 #ifdef GLIBMM_PROPERTIES_ENABLED 00184 00190 Glib::PropertyProxy<double> property_y2() ; 00191 #endif //#GLIBMM_PROPERTIES_ENABLED 00192 00193 #ifdef GLIBMM_PROPERTIES_ENABLED 00194 00200 Glib::PropertyProxy_ReadOnly<double> property_y2() const; 00201 #endif //#GLIBMM_PROPERTIES_ENABLED 00202 00203 00204 }; 00205 00206 } /* namespace Canvas */ 00207 } /* namespace Gnome */ 00208 00209 00210 namespace Glib 00211 { 00220 Gnome::Canvas::RectEllipse* wrap(GnomeCanvasRE* object, bool take_copy = false); 00221 } //namespace Glib 00222 00223 00224 #endif /* _LIBGNOMECANVASMM_RECT_ELLIPSE_H */ 00225