behaviour-ellipse.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTERMM_BEHAVIOUR_ELLIPSE_H
00004 #define _CLUTTERMM_BEHAVIOUR_ELLIPSE_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 _ClutterBehaviourEllipse ClutterBehaviourEllipse;
00033 typedef struct _ClutterBehaviourEllipseClass ClutterBehaviourEllipseClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Clutter
00038 { class BehaviourEllipse_Class; } // namespace Clutter
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   //gtkmmproc error: clutter_behaviour_ellipse_newx : ctor defs lookup failed (2)
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   //gtkmmproc error: clutter_behaviour_ellipse_set_angle_startx : method defs lookup failed (1)
00213   //gtkmmproc error: clutter_behaviour_ellipse_get_angle_startx : method defs lookup failed (1)
00214   //gtkmmproc error: clutter_behaviour_ellipse_set_angle_endx : method defs lookup failed (1)
00215   //gtkmmproc error: clutter_behaviour_ellipse_get_angle_endx : method defs lookup failed (1)
00216   //gtkmmproc error: clutter_behaviour_ellipse_set_angle_tiltx : method defs lookup failed (1)
00217   //gtkmmproc error: clutter_behaviour_ellipse_get_angle_tiltx : method defs lookup failed (1)
00218 
00219   //gtkmmproc error: clutter_behaviour_ellipse_set_tiltx : method defs lookup failed (1)
00220   //gtkmmproc error: clutter_behaviour_ellipse_get_tiltx : method defs lookup failed (1)
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   //C++ methods used to invoke GTK+ virtual functions:
00422 #ifdef GLIBMM_VFUNCS_ENABLED
00423 #endif //GLIBMM_VFUNCS_ENABLED
00424 
00425 protected:
00426   //GTK+ Virtual Functions (override these to change behaviour):
00427 #ifdef GLIBMM_VFUNCS_ENABLED
00428 #endif //GLIBMM_VFUNCS_ENABLED
00429 
00430   //Default Signal Handlers::
00431 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00432 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00433 
00434 
00435 };
00436 
00437 } // namespace Clutter
00438 
00439 
00440 namespace Glib
00441 {
00450   Glib::RefPtr<Clutter::BehaviourEllipse> wrap(ClutterBehaviourEllipse* object, bool take_copy = false);
00451 }
00452 
00453 
00454 #endif /* _CLUTTERMM_BEHAVIOUR_ELLIPSE_H */
00455 

Generated on 26 Feb 2010 for cluttermm by  doxygen 1.6.1