behaviour-ellipse.h
Go to the documentation of this file.00001
00002
00003 #ifndef _CLUTTERMM_BEHAVIOUR_ELLIPSE_H
00004 #define _CLUTTERMM_BEHAVIOUR_ELLIPSE_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 #include <cluttermm/behaviour.h>
00027 #include <cluttermm/alpha.h>
00028 #include <cluttermm/types.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _ClutterBehaviourEllipse ClutterBehaviourEllipse;
00033 typedef struct _ClutterBehaviourEllipseClass ClutterBehaviourEllipseClass;
00034 #endif
00035
00036
00037 namespace Clutter
00038 { class BehaviourEllipse_Class; }
00039 namespace Clutter
00040 {
00041
00042
00043 class BehaviourEllipse : public Behaviour
00044 {
00045
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047
00048 public:
00049 typedef BehaviourEllipse CppObjectType;
00050 typedef BehaviourEllipse_Class CppClassType;
00051 typedef ClutterBehaviourEllipse BaseObjectType;
00052 typedef ClutterBehaviourEllipseClass BaseClassType;
00053
00054 private: friend class BehaviourEllipse_Class;
00055 static CppClassType behaviourellipse_class_;
00056
00057 private:
00058
00059 BehaviourEllipse(const BehaviourEllipse&);
00060 BehaviourEllipse& operator=(const BehaviourEllipse&);
00061
00062 protected:
00063 explicit BehaviourEllipse(const Glib::ConstructParams& construct_params);
00064 explicit BehaviourEllipse(ClutterBehaviourEllipse* castitem);
00065
00066 #endif
00067
00068 public:
00069 virtual ~BehaviourEllipse();
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 ClutterBehaviourEllipse* gobj() { return reinterpret_cast<ClutterBehaviourEllipse*>(gobject_); }
00078
00080 const ClutterBehaviourEllipse* gobj() const { return reinterpret_cast<ClutterBehaviourEllipse*>(gobject_); }
00081
00083 ClutterBehaviourEllipse* gobj_copy();
00084
00085 private:
00086
00087
00088 protected:
00089 explicit BehaviourEllipse(const Glib::RefPtr<Alpha>& alpha, int x, int y, int width, int height, RotateDirection direction, double begin, double end);
00090
00091
00092 public:
00093
00094 static Glib::RefPtr<BehaviourEllipse> create(const Glib::RefPtr<Alpha>& alpha, int x, int y, int width, int height, RotateDirection direction, double begin, double end);
00095
00096
00097 static Glib::RefPtr<BehaviourEllipse> create(const Glib::RefPtr<Alpha>& alpha, int x, int y, int width, int height, RotateDirection direction, Cogl::Fixed begin, Cogl::Fixed end);
00098
00099
00106 void set_center(int x, int y);
00107
00114 void get_center(int& x, int& y) const;
00115
00116
00122 void set_height(int height);
00123
00129 int get_height() const;
00130
00136 void set_width(int width);
00137
00143 int get_width() const;
00144
00145
00152 void set_angle_start(double angle_start);
00153
00159 double get_angle_start() const;
00160
00167 void set_angle_end(double angle_end);
00168
00174 double get_angle_end() const;
00175
00183 void set_angle_tilt(RotateAxis axis, double angle_tilt);
00184
00191 double get_angle_tilt(RotateAxis axis) const;
00192
00193
00201 void set_tilt(double angle_tilt_x, double angle_tilt_y, double angle_tilt_z);
00202
00210 void get_tilt(double& angle_tilt_x, double& angle_tilt_y, double& angle_tilt_z) const;
00211
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00228 void set_direction(RotateDirection direction);
00229
00235 RotateDirection get_direction() const;
00236
00237 #ifdef GLIBMM_PROPERTIES_ENABLED
00238
00244 Glib::PropertyProxy<double> property_angle_end() ;
00245 #endif //#GLIBMM_PROPERTIES_ENABLED
00246
00247 #ifdef GLIBMM_PROPERTIES_ENABLED
00248
00254 Glib::PropertyProxy_ReadOnly<double> property_angle_end() const;
00255 #endif //#GLIBMM_PROPERTIES_ENABLED
00256
00257 #ifdef GLIBMM_PROPERTIES_ENABLED
00258
00264 Glib::PropertyProxy<double> property_angle_start() ;
00265 #endif //#GLIBMM_PROPERTIES_ENABLED
00266
00267 #ifdef GLIBMM_PROPERTIES_ENABLED
00268
00274 Glib::PropertyProxy_ReadOnly<double> property_angle_start() const;
00275 #endif //#GLIBMM_PROPERTIES_ENABLED
00276
00277 #ifdef GLIBMM_PROPERTIES_ENABLED
00278
00284 Glib::PropertyProxy<double> property_angle_tilt_x() ;
00285 #endif //#GLIBMM_PROPERTIES_ENABLED
00286
00287 #ifdef GLIBMM_PROPERTIES_ENABLED
00288
00294 Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_x() const;
00295 #endif //#GLIBMM_PROPERTIES_ENABLED
00296
00297 #ifdef GLIBMM_PROPERTIES_ENABLED
00298
00304 Glib::PropertyProxy<double> property_angle_tilt_y() ;
00305 #endif //#GLIBMM_PROPERTIES_ENABLED
00306
00307 #ifdef GLIBMM_PROPERTIES_ENABLED
00308
00314 Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_y() const;
00315 #endif //#GLIBMM_PROPERTIES_ENABLED
00316
00317 #ifdef GLIBMM_PROPERTIES_ENABLED
00318
00324 Glib::PropertyProxy<double> property_angle_tilt_z() ;
00325 #endif //#GLIBMM_PROPERTIES_ENABLED
00326
00327 #ifdef GLIBMM_PROPERTIES_ENABLED
00328
00334 Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_z() const;
00335 #endif //#GLIBMM_PROPERTIES_ENABLED
00336
00337 #ifdef GLIBMM_PROPERTIES_ENABLED
00338
00344 Glib::PropertyProxy<Knot> property_center() ;
00345 #endif //#GLIBMM_PROPERTIES_ENABLED
00346
00347 #ifdef GLIBMM_PROPERTIES_ENABLED
00348
00354 Glib::PropertyProxy_ReadOnly<Knot> property_center() const;
00355 #endif //#GLIBMM_PROPERTIES_ENABLED
00356
00357 #ifdef GLIBMM_PROPERTIES_ENABLED
00358
00364 Glib::PropertyProxy<RotateDirection> property_direction() ;
00365 #endif //#GLIBMM_PROPERTIES_ENABLED
00366
00367 #ifdef GLIBMM_PROPERTIES_ENABLED
00368
00374 Glib::PropertyProxy_ReadOnly<RotateDirection> property_direction() const;
00375 #endif //#GLIBMM_PROPERTIES_ENABLED
00376
00377 #ifdef GLIBMM_PROPERTIES_ENABLED
00378
00384 Glib::PropertyProxy<int> property_height() ;
00385 #endif //#GLIBMM_PROPERTIES_ENABLED
00386
00387 #ifdef GLIBMM_PROPERTIES_ENABLED
00388
00394 Glib::PropertyProxy_ReadOnly<int> property_height() const;
00395 #endif //#GLIBMM_PROPERTIES_ENABLED
00396
00397 #ifdef GLIBMM_PROPERTIES_ENABLED
00398
00404 Glib::PropertyProxy<int> property_width() ;
00405 #endif //#GLIBMM_PROPERTIES_ENABLED
00406
00407 #ifdef GLIBMM_PROPERTIES_ENABLED
00408
00414 Glib::PropertyProxy_ReadOnly<int> property_width() const;
00415 #endif //#GLIBMM_PROPERTIES_ENABLED
00416
00417
00418 public:
00419
00420 public:
00421
00422 #ifdef GLIBMM_VFUNCS_ENABLED
00423 #endif //GLIBMM_VFUNCS_ENABLED
00424
00425 protected:
00426
00427 #ifdef GLIBMM_VFUNCS_ENABLED
00428 #endif //GLIBMM_VFUNCS_ENABLED
00429
00430
00431 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00432 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00433
00434
00435 };
00436
00437 }
00438
00439
00440 namespace Glib
00441 {
00450 Glib::RefPtr<Clutter::BehaviourEllipse> wrap(ClutterBehaviourEllipse* object, bool take_copy = false);
00451 }
00452
00453
00454 #endif
00455