behaviour-rotate.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTERMM_BEHAVIOUR_ROTATE_H
00004 #define _CLUTTERMM_BEHAVIOUR_ROTATE_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* Copyright (C) 2007 The cluttermm Development Team
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Lesser General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2.1 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Lesser General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Lesser General Public
00022  * License along with this library; if not, write to the Free
00023  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
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 /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Clutter
00038 { class BehaviourRotate_Class; } // namespace Clutter
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   //gtkmmproc error: clutter_behaviour_rotate_newx : ctor defs lookup failed (2)
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, Cogl::Fixed angle_begin, Cogl::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   //gtkmmproc error: clutter_behaviour_rotate_set_boundsx : method defs lookup failed (1)
00169   //gtkmmproc error: clutter_behaviour_rotate_get_boundsx : method defs lookup failed (1)
00170 
00171   #ifdef GLIBMM_PROPERTIES_ENABLED
00172 
00178   Glib::PropertyProxy<double> property_angle_end() ;
00179 #endif //#GLIBMM_PROPERTIES_ENABLED
00180 
00181 #ifdef GLIBMM_PROPERTIES_ENABLED
00182 
00188   Glib::PropertyProxy_ReadOnly<double> property_angle_end() const;
00189 #endif //#GLIBMM_PROPERTIES_ENABLED
00190 
00191   #ifdef GLIBMM_PROPERTIES_ENABLED
00192 
00198   Glib::PropertyProxy<double> property_angle_start() ;
00199 #endif //#GLIBMM_PROPERTIES_ENABLED
00200 
00201 #ifdef GLIBMM_PROPERTIES_ENABLED
00202 
00208   Glib::PropertyProxy_ReadOnly<double> property_angle_start() const;
00209 #endif //#GLIBMM_PROPERTIES_ENABLED
00210 
00211   #ifdef GLIBMM_PROPERTIES_ENABLED
00212 
00218   Glib::PropertyProxy<RotateAxis> property_axis() ;
00219 #endif //#GLIBMM_PROPERTIES_ENABLED
00220 
00221 #ifdef GLIBMM_PROPERTIES_ENABLED
00222 
00228   Glib::PropertyProxy_ReadOnly<RotateAxis> property_axis() const;
00229 #endif //#GLIBMM_PROPERTIES_ENABLED
00230 
00231   #ifdef GLIBMM_PROPERTIES_ENABLED
00232 
00238   Glib::PropertyProxy<int> property_center_x() ;
00239 #endif //#GLIBMM_PROPERTIES_ENABLED
00240 
00241 #ifdef GLIBMM_PROPERTIES_ENABLED
00242 
00248   Glib::PropertyProxy_ReadOnly<int> property_center_x() const;
00249 #endif //#GLIBMM_PROPERTIES_ENABLED
00250 
00251   #ifdef GLIBMM_PROPERTIES_ENABLED
00252 
00258   Glib::PropertyProxy<int> property_center_y() ;
00259 #endif //#GLIBMM_PROPERTIES_ENABLED
00260 
00261 #ifdef GLIBMM_PROPERTIES_ENABLED
00262 
00268   Glib::PropertyProxy_ReadOnly<int> property_center_y() const;
00269 #endif //#GLIBMM_PROPERTIES_ENABLED
00270 
00271   #ifdef GLIBMM_PROPERTIES_ENABLED
00272 
00278   Glib::PropertyProxy<int> property_center_z() ;
00279 #endif //#GLIBMM_PROPERTIES_ENABLED
00280 
00281 #ifdef GLIBMM_PROPERTIES_ENABLED
00282 
00288   Glib::PropertyProxy_ReadOnly<int> property_center_z() const;
00289 #endif //#GLIBMM_PROPERTIES_ENABLED
00290 
00291   #ifdef GLIBMM_PROPERTIES_ENABLED
00292 
00298   Glib::PropertyProxy<RotateDirection> property_direction() ;
00299 #endif //#GLIBMM_PROPERTIES_ENABLED
00300 
00301 #ifdef GLIBMM_PROPERTIES_ENABLED
00302 
00308   Glib::PropertyProxy_ReadOnly<RotateDirection> property_direction() const;
00309 #endif //#GLIBMM_PROPERTIES_ENABLED
00310 
00311 
00312 public:
00313 
00314 public:
00315   //C++ methods used to invoke GTK+ virtual functions:
00316 #ifdef GLIBMM_VFUNCS_ENABLED
00317 #endif //GLIBMM_VFUNCS_ENABLED
00318 
00319 protected:
00320   //GTK+ Virtual Functions (override these to change behaviour):
00321 #ifdef GLIBMM_VFUNCS_ENABLED
00322 #endif //GLIBMM_VFUNCS_ENABLED
00323 
00324   //Default Signal Handlers::
00325 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00326 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00327 
00328 
00329 };
00330 
00331 } // namespace Clutter
00332 
00333 
00334 namespace Glib
00335 {
00344   Glib::RefPtr<Clutter::BehaviourRotate> wrap(ClutterBehaviourRotate* object, bool take_copy = false);
00345 }
00346 
00347 
00348 #endif /* _CLUTTERMM_BEHAVIOUR_ROTATE_H */
00349 

Generated on 7 Sep 2009 for cluttermm by  doxygen 1.6.1