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 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 _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 y_scale_start, double x_scale_end, double y_scale_end);
00090   //gtkmmproc error: clutter_behaviour_scale_newx : ctor defs lookup failed (2)
00091 
00092 public:
00093   
00094   static Glib::RefPtr<BehaviourScale> create(const Glib::RefPtr<Alpha>& alpha, double x_scale_start, double y_scale_start, double x_scale_end, double y_scale_end);
00095 
00096   
00097   static Glib::RefPtr<BehaviourScale> create(const Glib::RefPtr<Alpha>& alpha, Cogl::Fixed x_scale_start, Cogl::Fixed y_scale_start, Cogl::Fixed x_scale_end, Cogl::Fixed y_scale_end);
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   //gtkmmproc error: clutter_behaviour_scale_set_boundsx : method defs lookup failed (1)
00124   //gtkmmproc error: clutter_behaviour_scale_get_boundsx : method defs lookup failed (1)
00125 
00126   #ifdef GLIBMM_PROPERTIES_ENABLED
00127 
00133   Glib::PropertyProxy<double> property_x_scale_start() ;
00134 #endif //#GLIBMM_PROPERTIES_ENABLED
00135 
00136 #ifdef GLIBMM_PROPERTIES_ENABLED
00137 
00143   Glib::PropertyProxy_ReadOnly<double> property_x_scale_start() const;
00144 #endif //#GLIBMM_PROPERTIES_ENABLED
00145 
00146   #ifdef GLIBMM_PROPERTIES_ENABLED
00147 
00153   Glib::PropertyProxy<double> property_x_scale_end() ;
00154 #endif //#GLIBMM_PROPERTIES_ENABLED
00155 
00156 #ifdef GLIBMM_PROPERTIES_ENABLED
00157 
00163   Glib::PropertyProxy_ReadOnly<double> property_x_scale_end() const;
00164 #endif //#GLIBMM_PROPERTIES_ENABLED
00165 
00166   #ifdef GLIBMM_PROPERTIES_ENABLED
00167 
00173   Glib::PropertyProxy<double> property_y_scale_start() ;
00174 #endif //#GLIBMM_PROPERTIES_ENABLED
00175 
00176 #ifdef GLIBMM_PROPERTIES_ENABLED
00177 
00183   Glib::PropertyProxy_ReadOnly<double> property_y_scale_start() const;
00184 #endif //#GLIBMM_PROPERTIES_ENABLED
00185 
00186   #ifdef GLIBMM_PROPERTIES_ENABLED
00187 
00193   Glib::PropertyProxy<double> property_y_scale_end() ;
00194 #endif //#GLIBMM_PROPERTIES_ENABLED
00195 
00196 #ifdef GLIBMM_PROPERTIES_ENABLED
00197 
00203   Glib::PropertyProxy_ReadOnly<double> property_y_scale_end() const;
00204 #endif //#GLIBMM_PROPERTIES_ENABLED
00205 
00206 
00207 public:
00208 
00209 public:
00210   //C++ methods used to invoke GTK+ virtual functions:
00211 #ifdef GLIBMM_VFUNCS_ENABLED
00212 #endif //GLIBMM_VFUNCS_ENABLED
00213 
00214 protected:
00215   //GTK+ Virtual Functions (override these to change behaviour):
00216 #ifdef GLIBMM_VFUNCS_ENABLED
00217 #endif //GLIBMM_VFUNCS_ENABLED
00218 
00219   //Default Signal Handlers::
00220 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00221 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00222 
00223 
00224 };
00225 
00226 } // namespace Clutter
00227 
00228 
00229 namespace Glib
00230 {
00239   Glib::RefPtr<Clutter::BehaviourScale> wrap(ClutterBehaviourScale* object, bool take_copy = false);
00240 }
00241 
00242 
00243 #endif /* _CLUTTERMM_BEHAVIOUR_SCALE_H */
00244 

Generated on 7 Sep 2009 for cluttermm by  doxygen 1.6.1