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 Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 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  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library 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   explicit BehaviourEllipse(const Glib::RefPtr<Alpha>& alpha, int x, int y, int width, int height, RotateDirection direction, Fixed begin, Fixed end);
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, Fixed begin, 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   
00220   void set_angle_startx(Fixed angle_start);
00221   
00227   Fixed get_angle_startx() const;
00228   
00236   void set_angle_endx(Fixed angle_end);
00237   
00243   Fixed get_angle_endx() const;
00244   
00252   void set_angle_tiltx(RotateAxis axis, Fixed angle_tilt);
00253   
00260   Fixed get_angle_tiltx(RotateAxis axis) const;
00261 
00262   
00270   void set_tiltx(Fixed angle_tilt_x, Fixed angle_tilt_y, Fixed angle_tilt_z);
00271   
00282   void get_tiltx(Fixed& angle_tilt_x, Fixed& angle_tilt_y, Fixed& angle_tilt_z) const;
00283 
00284   
00290   void set_direction(RotateDirection direction);
00291   
00297   RotateDirection get_direction() const;
00298 
00299   //gtkmmproc error: knot_reached :  signal defs lookup failed
00300 
00301   #ifdef GLIBMM_PROPERTIES_ENABLED
00302 
00308   Glib::PropertyProxy<double> property_angle_end() ;
00309 #endif //#GLIBMM_PROPERTIES_ENABLED
00310 
00311 #ifdef GLIBMM_PROPERTIES_ENABLED
00312 
00318   Glib::PropertyProxy_ReadOnly<double> property_angle_end() const;
00319 #endif //#GLIBMM_PROPERTIES_ENABLED
00320 
00321   #ifdef GLIBMM_PROPERTIES_ENABLED
00322 
00328   Glib::PropertyProxy<double> property_angle_start() ;
00329 #endif //#GLIBMM_PROPERTIES_ENABLED
00330 
00331 #ifdef GLIBMM_PROPERTIES_ENABLED
00332 
00338   Glib::PropertyProxy_ReadOnly<double> property_angle_start() const;
00339 #endif //#GLIBMM_PROPERTIES_ENABLED
00340 
00341   #ifdef GLIBMM_PROPERTIES_ENABLED
00342 
00348   Glib::PropertyProxy<double> property_angle_tilt_x() ;
00349 #endif //#GLIBMM_PROPERTIES_ENABLED
00350 
00351 #ifdef GLIBMM_PROPERTIES_ENABLED
00352 
00358   Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_x() const;
00359 #endif //#GLIBMM_PROPERTIES_ENABLED
00360 
00361   #ifdef GLIBMM_PROPERTIES_ENABLED
00362 
00368   Glib::PropertyProxy<double> property_angle_tilt_y() ;
00369 #endif //#GLIBMM_PROPERTIES_ENABLED
00370 
00371 #ifdef GLIBMM_PROPERTIES_ENABLED
00372 
00378   Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_y() const;
00379 #endif //#GLIBMM_PROPERTIES_ENABLED
00380 
00381   #ifdef GLIBMM_PROPERTIES_ENABLED
00382 
00388   Glib::PropertyProxy<Knot> property_center() ;
00389 #endif //#GLIBMM_PROPERTIES_ENABLED
00390 
00391 #ifdef GLIBMM_PROPERTIES_ENABLED
00392 
00398   Glib::PropertyProxy_ReadOnly<Knot> property_center() const;
00399 #endif //#GLIBMM_PROPERTIES_ENABLED
00400 
00401   #ifdef GLIBMM_PROPERTIES_ENABLED
00402 
00408   Glib::PropertyProxy<RotateDirection> property_direction() ;
00409 #endif //#GLIBMM_PROPERTIES_ENABLED
00410 
00411 #ifdef GLIBMM_PROPERTIES_ENABLED
00412 
00418   Glib::PropertyProxy_ReadOnly<RotateDirection> property_direction() const;
00419 #endif //#GLIBMM_PROPERTIES_ENABLED
00420 
00421   #ifdef GLIBMM_PROPERTIES_ENABLED
00422 
00428   Glib::PropertyProxy<int> property_height() ;
00429 #endif //#GLIBMM_PROPERTIES_ENABLED
00430 
00431 #ifdef GLIBMM_PROPERTIES_ENABLED
00432 
00438   Glib::PropertyProxy_ReadOnly<int> property_height() const;
00439 #endif //#GLIBMM_PROPERTIES_ENABLED
00440 
00441   #ifdef GLIBMM_PROPERTIES_ENABLED
00442 
00448   Glib::PropertyProxy<int> property_width() ;
00449 #endif //#GLIBMM_PROPERTIES_ENABLED
00450 
00451 #ifdef GLIBMM_PROPERTIES_ENABLED
00452 
00458   Glib::PropertyProxy_ReadOnly<int> property_width() const;
00459 #endif //#GLIBMM_PROPERTIES_ENABLED
00460 
00461 
00462 public:
00463 
00464 public:
00465   //C++ methods used to invoke GTK+ virtual functions:
00466 #ifdef GLIBMM_VFUNCS_ENABLED
00467 #endif //GLIBMM_VFUNCS_ENABLED
00468 
00469 protected:
00470   //GTK+ Virtual Functions (override these to change behaviour):
00471 #ifdef GLIBMM_VFUNCS_ENABLED
00472 #endif //GLIBMM_VFUNCS_ENABLED
00473 
00474   //Default Signal Handlers::
00475 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00476 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00477 
00478 
00479 };
00480 
00481 } // namespace Clutter
00482 // vim:ts=2,sw=2
00483 
00484 
00485 namespace Glib
00486 {
00495   Glib::RefPtr<Clutter::BehaviourEllipse> wrap(ClutterBehaviourEllipse* object, bool take_copy = false);
00496 }
00497 
00498 
00499 #endif /* _CLUTTERMM_BEHAVIOUR_ELLIPSE_H */
00500 

Generated on Fri Jun 6 02:16:47 2008 for cluttermm by  doxygen 1.5.5