behaviour-opacity.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTERMM_BEHAVIOUR_OPACITY_H
00004 #define _CLUTTERMM_BEHAVIOUR_OPACITY_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 <glibmm/object.h>
00027 #include <cluttermm/behaviour.h>
00028 #include <cluttermm/alpha.h>
00029  
00030 
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _ClutterBehaviourOpacity ClutterBehaviourOpacity;
00033 typedef struct _ClutterBehaviourOpacityClass ClutterBehaviourOpacityClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Clutter
00038 { class BehaviourOpacity_Class; } // namespace Clutter
00039 namespace Clutter
00040 {
00041 
00042 
00043 class BehaviourOpacity : public Behaviour
00044 {
00045   
00046 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00047 
00048 public:
00049   typedef BehaviourOpacity CppObjectType;
00050   typedef BehaviourOpacity_Class CppClassType;
00051   typedef ClutterBehaviourOpacity BaseObjectType;
00052   typedef ClutterBehaviourOpacityClass BaseClassType;
00053 
00054 private:  friend class BehaviourOpacity_Class;
00055   static CppClassType behaviouropacity_class_;
00056 
00057 private:
00058   // noncopyable
00059   BehaviourOpacity(const BehaviourOpacity&);
00060   BehaviourOpacity& operator=(const BehaviourOpacity&);
00061 
00062 protected:
00063   explicit BehaviourOpacity(const Glib::ConstructParams& construct_params);
00064   explicit BehaviourOpacity(ClutterBehaviourOpacity* castitem);
00065 
00066 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00067 
00068 public:
00069   virtual ~BehaviourOpacity();
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   ClutterBehaviourOpacity*       gobj()       { return reinterpret_cast<ClutterBehaviourOpacity*>(gobject_); }
00078 
00080   const ClutterBehaviourOpacity* gobj() const { return reinterpret_cast<ClutterBehaviourOpacity*>(gobject_); }
00081 
00083   ClutterBehaviourOpacity* gobj_copy();
00084 
00085 private:
00086 
00087 
00088 protected:
00089   explicit BehaviourOpacity(const Glib::RefPtr<Alpha>& alpha, guint8 opacity_start, guint8 opacity_end);
00090 
00091 public:
00092   
00093   static Glib::RefPtr<BehaviourOpacity> create(const Glib::RefPtr<Alpha>& alpha, guint8 opacity_start, guint8 opacity_end);
00094 
00095 
00103   void set_bounds(guint8 opacity_start, guint8 opacity_end);
00104   
00112   void get_bounds(guint8& opacity_start, guint8& opacity_end) const;
00113 
00114   #ifdef GLIBMM_PROPERTIES_ENABLED
00115 
00121   Glib::PropertyProxy<guint> property_opacity_end() ;
00122 #endif //#GLIBMM_PROPERTIES_ENABLED
00123 
00124 #ifdef GLIBMM_PROPERTIES_ENABLED
00125 
00131   Glib::PropertyProxy_ReadOnly<guint> property_opacity_end() const;
00132 #endif //#GLIBMM_PROPERTIES_ENABLED
00133 
00134   #ifdef GLIBMM_PROPERTIES_ENABLED
00135 
00141   Glib::PropertyProxy<guint> property_opacity_start() ;
00142 #endif //#GLIBMM_PROPERTIES_ENABLED
00143 
00144 #ifdef GLIBMM_PROPERTIES_ENABLED
00145 
00151   Glib::PropertyProxy_ReadOnly<guint> property_opacity_start() const;
00152 #endif //#GLIBMM_PROPERTIES_ENABLED
00153 
00154 
00155 public:
00156 
00157 public:
00158   //C++ methods used to invoke GTK+ virtual functions:
00159 #ifdef GLIBMM_VFUNCS_ENABLED
00160 #endif //GLIBMM_VFUNCS_ENABLED
00161 
00162 protected:
00163   //GTK+ Virtual Functions (override these to change behaviour):
00164 #ifdef GLIBMM_VFUNCS_ENABLED
00165 #endif //GLIBMM_VFUNCS_ENABLED
00166 
00167   //Default Signal Handlers::
00168 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00169 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00170 
00171 
00172 };
00173 
00174 } // namespace Clutter
00175 
00176 
00177 namespace Glib
00178 {
00187   Glib::RefPtr<Clutter::BehaviourOpacity> wrap(ClutterBehaviourOpacity* object, bool take_copy = false);
00188 }
00189 
00190 
00191 #endif /* _CLUTTERMM_BEHAVIOUR_OPACITY_H */
00192 

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