behaviour-scale.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTERMM_BEHAVIOUR_SCALE_H
00004 #define _CLUTTERMM_BEHAVIOUR_SCALE_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 _ClutterBehaviourScale ClutterBehaviourScale;
00033 typedef struct _ClutterBehaviourScaleClass ClutterBehaviourScaleClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Clutter
00038 { class BehaviourScale_Class; } // namespace Clutter
00039 namespace Clutter
00040 {
00041 
00042 
00043 class BehaviourScale : public Behaviour
00044 {
00045   
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047 
00048 public:
00049   typedef BehaviourScale CppObjectType;
00050   typedef BehaviourScale_Class CppClassType;
00051   typedef ClutterBehaviourScale BaseObjectType;
00052   typedef ClutterBehaviourScaleClass BaseClassType;
00053 
00054 private:  friend class BehaviourScale_Class;
00055   static CppClassType behaviourscale_class_;
00056 
00057 private:
00058   // noncopyable
00059   BehaviourScale(const BehaviourScale&);
00060   BehaviourScale& operator=(const BehaviourScale&);
00061 
00062 protected:
00063   explicit BehaviourScale(const Glib::ConstructParams& construct_params);
00064   explicit BehaviourScale(ClutterBehaviourScale* castitem);
00065 
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068 public:
00069   virtual ~BehaviourScale();
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   ClutterBehaviourScale*       gobj()       { return reinterpret_cast<ClutterBehaviourScale*>(gobject_); }
00078 
00080   const ClutterBehaviourScale* gobj() const { return reinterpret_cast<ClutterBehaviourScale*>(gobject_); }
00081 
00083   ClutterBehaviourScale* gobj_copy();
00084 
00085 private:
00086 
00087 
00088 protected:
00089   explicit BehaviourScale(const Glib::RefPtr<Alpha>& alpha, double x_scale_start, double x_scale_end, double y_scale_start, double y_scale_end, Gravity scale_gravity);
00090   explicit BehaviourScale(const Glib::RefPtr<Alpha>& alpha, Fixed x_scale_start, Fixed x_scale_end, Fixed y_scale_start, Fixed y_scale_end, Gravity scale_gravity);
00091 
00092 public:
00093   
00094   static Glib::RefPtr<BehaviourScale> create(const Glib::RefPtr<Alpha>& alpha, double x_scale_start, double x_scale_end, double y_scale_start, double y_scale_end, Gravity gravity);
00095 
00096   
00097   static Glib::RefPtr<BehaviourScale> create(const Glib::RefPtr<Alpha>& alpha, Fixed x_scale_start, Fixed x_scale_end, Fixed y_scale_start, Fixed y_scale_end, Gravity gravity);
00098 
00099 
00108   void set_bounds(double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
00109   
00122   void get_bounds(double& x_scale_start, double& y_scale_start, double& x_scale_end, double& y_scale_end) const;
00123   
00134   void set_boundsx(Fixed x_scale_start, Fixed y_scale_start, Fixed x_scale_end, Fixed y_scale_end);
00135   
00150   void get_boundsx(Fixed& x_scale_start, Fixed& y_scale_start, Fixed& x_scale_end, Fixed& y_scale_end) const;
00151   //gtkmmproc error: clutter_behaviour_scale_set_gravity : method defs lookup failed (1)
00152   //gtkmmproc error: clutter_behaviour_scale_get_gravity : method defs lookup failed (1)
00153 
00154   #ifdef GLIBMM_PROPERTIES_ENABLED
00155 
00161   Glib::PropertyProxy<Gravity> property_scale_gravity() ;
00162 #endif //#GLIBMM_PROPERTIES_ENABLED
00163 
00164 #ifdef GLIBMM_PROPERTIES_ENABLED
00165 
00171   Glib::PropertyProxy_ReadOnly<Gravity> property_scale_gravity() const;
00172 #endif //#GLIBMM_PROPERTIES_ENABLED
00173 
00174   #ifdef GLIBMM_PROPERTIES_ENABLED
00175 
00181   Glib::PropertyProxy<double> property_x_scale_start() ;
00182 #endif //#GLIBMM_PROPERTIES_ENABLED
00183 
00184 #ifdef GLIBMM_PROPERTIES_ENABLED
00185 
00191   Glib::PropertyProxy_ReadOnly<double> property_x_scale_start() const;
00192 #endif //#GLIBMM_PROPERTIES_ENABLED
00193 
00194   #ifdef GLIBMM_PROPERTIES_ENABLED
00195 
00201   Glib::PropertyProxy<double> property_x_scale_end() ;
00202 #endif //#GLIBMM_PROPERTIES_ENABLED
00203 
00204 #ifdef GLIBMM_PROPERTIES_ENABLED
00205 
00211   Glib::PropertyProxy_ReadOnly<double> property_x_scale_end() const;
00212 #endif //#GLIBMM_PROPERTIES_ENABLED
00213 
00214   #ifdef GLIBMM_PROPERTIES_ENABLED
00215 
00221   Glib::PropertyProxy<double> property_y_scale_start() ;
00222 #endif //#GLIBMM_PROPERTIES_ENABLED
00223 
00224 #ifdef GLIBMM_PROPERTIES_ENABLED
00225 
00231   Glib::PropertyProxy_ReadOnly<double> property_y_scale_start() const;
00232 #endif //#GLIBMM_PROPERTIES_ENABLED
00233 
00234   #ifdef GLIBMM_PROPERTIES_ENABLED
00235 
00241   Glib::PropertyProxy<double> property_y_scale_end() ;
00242 #endif //#GLIBMM_PROPERTIES_ENABLED
00243 
00244 #ifdef GLIBMM_PROPERTIES_ENABLED
00245 
00251   Glib::PropertyProxy_ReadOnly<double> property_y_scale_end() const;
00252 #endif //#GLIBMM_PROPERTIES_ENABLED
00253 
00254 
00255 public:
00256 
00257 public:
00258   //C++ methods used to invoke GTK+ virtual functions:
00259 #ifdef GLIBMM_VFUNCS_ENABLED
00260 #endif //GLIBMM_VFUNCS_ENABLED
00261 
00262 protected:
00263   //GTK+ Virtual Functions (override these to change behaviour):
00264 #ifdef GLIBMM_VFUNCS_ENABLED
00265 #endif //GLIBMM_VFUNCS_ENABLED
00266 
00267   //Default Signal Handlers::
00268 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00269 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00270 
00271 
00272 };
00273 
00274 } // namespace Clutter
00275 // vim:ts=2,sw=2
00276 
00277 
00278 namespace Glib
00279 {
00288   Glib::RefPtr<Clutter::BehaviourScale> wrap(ClutterBehaviourScale* object, bool take_copy = false);
00289 }
00290 
00291 
00292 #endif /* _CLUTTERMM_BEHAVIOUR_SCALE_H */
00293 

Generated on Fri Jun 6 02:17:45 2008 for cluttermm by  doxygen 1.5.5