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   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   #ifdef GLIBMM_PROPERTIES_ENABLED
00300 
00306   Glib::PropertyProxy<double> property_angle_end() ;
00307 #endif //#GLIBMM_PROPERTIES_ENABLED
00308 
00309 #ifdef GLIBMM_PROPERTIES_ENABLED
00310 
00316   Glib::PropertyProxy_ReadOnly<double> property_angle_end() const;
00317 #endif //#GLIBMM_PROPERTIES_ENABLED
00318 
00319   #ifdef GLIBMM_PROPERTIES_ENABLED
00320 
00326   Glib::PropertyProxy<double> property_angle_start() ;
00327 #endif //#GLIBMM_PROPERTIES_ENABLED
00328 
00329 #ifdef GLIBMM_PROPERTIES_ENABLED
00330 
00336   Glib::PropertyProxy_ReadOnly<double> property_angle_start() const;
00337 #endif //#GLIBMM_PROPERTIES_ENABLED
00338 
00339   #ifdef GLIBMM_PROPERTIES_ENABLED
00340 
00346   Glib::PropertyProxy<double> property_angle_tilt_x() ;
00347 #endif //#GLIBMM_PROPERTIES_ENABLED
00348 
00349 #ifdef GLIBMM_PROPERTIES_ENABLED
00350 
00356   Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_x() const;
00357 #endif //#GLIBMM_PROPERTIES_ENABLED
00358 
00359   #ifdef GLIBMM_PROPERTIES_ENABLED
00360 
00366   Glib::PropertyProxy<double> property_angle_tilt_y() ;
00367 #endif //#GLIBMM_PROPERTIES_ENABLED
00368 
00369 #ifdef GLIBMM_PROPERTIES_ENABLED
00370 
00376   Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_y() const;
00377 #endif //#GLIBMM_PROPERTIES_ENABLED
00378 
00379   #ifdef GLIBMM_PROPERTIES_ENABLED
00380 
00386   Glib::PropertyProxy<double> property_angle_tilt_z() ;
00387 #endif //#GLIBMM_PROPERTIES_ENABLED
00388 
00389 #ifdef GLIBMM_PROPERTIES_ENABLED
00390 
00396   Glib::PropertyProxy_ReadOnly<double> property_angle_tilt_z() const;
00397 #endif //#GLIBMM_PROPERTIES_ENABLED
00398 
00399   #ifdef GLIBMM_PROPERTIES_ENABLED
00400 
00406   Glib::PropertyProxy<Knot> property_center() ;
00407 #endif //#GLIBMM_PROPERTIES_ENABLED
00408 
00409 #ifdef GLIBMM_PROPERTIES_ENABLED
00410 
00416   Glib::PropertyProxy_ReadOnly<Knot> property_center() const;
00417 #endif //#GLIBMM_PROPERTIES_ENABLED
00418 
00419   #ifdef GLIBMM_PROPERTIES_ENABLED
00420 
00426   Glib::PropertyProxy<RotateDirection> property_direction() ;
00427 #endif //#GLIBMM_PROPERTIES_ENABLED
00428 
00429 #ifdef GLIBMM_PROPERTIES_ENABLED
00430 
00436   Glib::PropertyProxy_ReadOnly<RotateDirection> property_direction() const;
00437 #endif //#GLIBMM_PROPERTIES_ENABLED
00438 
00439   #ifdef GLIBMM_PROPERTIES_ENABLED
00440 
00446   Glib::PropertyProxy<int> property_height() ;
00447 #endif //#GLIBMM_PROPERTIES_ENABLED
00448 
00449 #ifdef GLIBMM_PROPERTIES_ENABLED
00450 
00456   Glib::PropertyProxy_ReadOnly<int> property_height() const;
00457 #endif //#GLIBMM_PROPERTIES_ENABLED
00458 
00459   #ifdef GLIBMM_PROPERTIES_ENABLED
00460 
00466   Glib::PropertyProxy<int> property_width() ;
00467 #endif //#GLIBMM_PROPERTIES_ENABLED
00468 
00469 #ifdef GLIBMM_PROPERTIES_ENABLED
00470 
00476   Glib::PropertyProxy_ReadOnly<int> property_width() const;
00477 #endif //#GLIBMM_PROPERTIES_ENABLED
00478 
00479 
00480 public:
00481 
00482 public:
00483   //C++ methods used to invoke GTK+ virtual functions:
00484 #ifdef GLIBMM_VFUNCS_ENABLED
00485 #endif //GLIBMM_VFUNCS_ENABLED
00486 
00487 protected:
00488   //GTK+ Virtual Functions (override these to change behaviour):
00489 #ifdef GLIBMM_VFUNCS_ENABLED
00490 #endif //GLIBMM_VFUNCS_ENABLED
00491 
00492   //Default Signal Handlers::
00493 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00494 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00495 
00496 
00497 };
00498 
00499 } // namespace Clutter
00500 
00501 
00502 namespace Glib
00503 {
00512   Glib::RefPtr<Clutter::BehaviourEllipse> wrap(ClutterBehaviourEllipse* object, bool take_copy = false);
00513 }
00514 
00515 
00516 #endif /* _CLUTTERMM_BEHAVIOUR_ELLIPSE_H */
00517 

Generated on Sun Apr 12 21:06:44 2009 for cluttermm by  doxygen 1.5.8