00001
00002
00003 #ifndef _CLUTTERMM_BEHAVIOUR_ROTATE_H
00004 #define _CLUTTERMM_BEHAVIOUR_ROTATE_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 _ClutterBehaviourRotate ClutterBehaviourRotate;
00033 typedef struct _ClutterBehaviourRotateClass ClutterBehaviourRotateClass;
00034 #endif
00035
00036
00037 namespace Clutter
00038 { class BehaviourRotate_Class; }
00039 namespace Clutter
00040 {
00041
00042
00043 class BehaviourRotate : public Behaviour
00044 {
00045
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047
00048 public:
00049 typedef BehaviourRotate CppObjectType;
00050 typedef BehaviourRotate_Class CppClassType;
00051 typedef ClutterBehaviourRotate BaseObjectType;
00052 typedef ClutterBehaviourRotateClass BaseClassType;
00053
00054 private: friend class BehaviourRotate_Class;
00055 static CppClassType behaviourrotate_class_;
00056
00057 private:
00058
00059 BehaviourRotate(const BehaviourRotate&);
00060 BehaviourRotate& operator=(const BehaviourRotate&);
00061
00062 protected:
00063 explicit BehaviourRotate(const Glib::ConstructParams& construct_params);
00064 explicit BehaviourRotate(ClutterBehaviourRotate* castitem);
00065
00066 #endif
00067
00068 public:
00069 virtual ~BehaviourRotate();
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 ClutterBehaviourRotate* gobj() { return reinterpret_cast<ClutterBehaviourRotate*>(gobject_); }
00078
00080 const ClutterBehaviourRotate* gobj() const { return reinterpret_cast<ClutterBehaviourRotate*>(gobject_); }
00081
00083 ClutterBehaviourRotate* gobj_copy();
00084
00085 private:
00086
00087
00088 protected:
00089 explicit BehaviourRotate(const Glib::RefPtr<Alpha>& alpha, RotateAxis axis, RotateDirection direction, double angle_begin, double angle_end);
00090 explicit BehaviourRotate(const Glib::RefPtr<Alpha>& alpha, RotateAxis axis, RotateDirection direction, Fixed angle_begin, Fixed angle_end);
00091
00092 public:
00093
00094 static Glib::RefPtr<BehaviourRotate> create(const Glib::RefPtr<Alpha>& alpha, RotateAxis axis, RotateDirection direction, double angle_begin, double angle_end);
00095
00096
00097 static Glib::RefPtr<BehaviourRotate> create(const Glib::RefPtr<Alpha>& alpha, RotateAxis axis, RotateDirection direction, Fixed angle_begin, Fixed angle_end);
00098
00099
00105 void set_axis(RotateAxis axis);
00106
00112 RotateAxis get_axis() const;
00113
00114
00120 void set_direction(RotateDirection direction);
00121
00127 RotateDirection get_direction() const;
00128
00129
00138 void set_center(int x, int y, int z);
00139
00148 void get_center(int& x, int& y, int& z) const;
00149
00150
00158 void set_bounds(double angle_begin, double angle_end);
00159
00166 void get_bounds(double& angle_begin, double& angle_end) const;
00167
00168
00177 void set_boundsx(Fixed angle_begin, Fixed angle_end);
00178
00186 void get_boundsx(Fixed& angle_begin, Fixed& angle_end) const;
00187
00188 #ifdef GLIBMM_PROPERTIES_ENABLED
00189
00195 Glib::PropertyProxy<double> property_angle_end() ;
00196 #endif //#GLIBMM_PROPERTIES_ENABLED
00197
00198 #ifdef GLIBMM_PROPERTIES_ENABLED
00199
00205 Glib::PropertyProxy_ReadOnly<double> property_angle_end() const;
00206 #endif //#GLIBMM_PROPERTIES_ENABLED
00207
00208 #ifdef GLIBMM_PROPERTIES_ENABLED
00209
00215 Glib::PropertyProxy<double> property_angle_start() ;
00216 #endif //#GLIBMM_PROPERTIES_ENABLED
00217
00218 #ifdef GLIBMM_PROPERTIES_ENABLED
00219
00225 Glib::PropertyProxy_ReadOnly<double> property_angle_start() const;
00226 #endif //#GLIBMM_PROPERTIES_ENABLED
00227
00228 #ifdef GLIBMM_PROPERTIES_ENABLED
00229
00235 Glib::PropertyProxy<RotateAxis> property_axis() ;
00236 #endif //#GLIBMM_PROPERTIES_ENABLED
00237
00238 #ifdef GLIBMM_PROPERTIES_ENABLED
00239
00245 Glib::PropertyProxy_ReadOnly<RotateAxis> property_axis() const;
00246 #endif //#GLIBMM_PROPERTIES_ENABLED
00247
00248 #ifdef GLIBMM_PROPERTIES_ENABLED
00249
00255 Glib::PropertyProxy<int> property_center_x() ;
00256 #endif //#GLIBMM_PROPERTIES_ENABLED
00257
00258 #ifdef GLIBMM_PROPERTIES_ENABLED
00259
00265 Glib::PropertyProxy_ReadOnly<int> property_center_x() const;
00266 #endif //#GLIBMM_PROPERTIES_ENABLED
00267
00268 #ifdef GLIBMM_PROPERTIES_ENABLED
00269
00275 Glib::PropertyProxy<int> property_center_y() ;
00276 #endif //#GLIBMM_PROPERTIES_ENABLED
00277
00278 #ifdef GLIBMM_PROPERTIES_ENABLED
00279
00285 Glib::PropertyProxy_ReadOnly<int> property_center_y() const;
00286 #endif //#GLIBMM_PROPERTIES_ENABLED
00287
00288 #ifdef GLIBMM_PROPERTIES_ENABLED
00289
00295 Glib::PropertyProxy<int> property_center_z() ;
00296 #endif //#GLIBMM_PROPERTIES_ENABLED
00297
00298 #ifdef GLIBMM_PROPERTIES_ENABLED
00299
00305 Glib::PropertyProxy_ReadOnly<int> property_center_z() const;
00306 #endif //#GLIBMM_PROPERTIES_ENABLED
00307
00308 #ifdef GLIBMM_PROPERTIES_ENABLED
00309
00315 Glib::PropertyProxy<RotateDirection> property_direction() ;
00316 #endif //#GLIBMM_PROPERTIES_ENABLED
00317
00318 #ifdef GLIBMM_PROPERTIES_ENABLED
00319
00325 Glib::PropertyProxy_ReadOnly<RotateDirection> property_direction() const;
00326 #endif //#GLIBMM_PROPERTIES_ENABLED
00327
00328
00329 public:
00330
00331 public:
00332
00333 #ifdef GLIBMM_VFUNCS_ENABLED
00334 #endif //GLIBMM_VFUNCS_ENABLED
00335
00336 protected:
00337
00338 #ifdef GLIBMM_VFUNCS_ENABLED
00339 #endif //GLIBMM_VFUNCS_ENABLED
00340
00341
00342 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00343 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00344
00345
00346 };
00347
00348 }
00349
00350
00351
00352 namespace Glib
00353 {
00362 Glib::RefPtr<Clutter::BehaviourRotate> wrap(ClutterBehaviourRotate* object, bool take_copy = false);
00363 }
00364
00365
00366 #endif
00367