00001
00002
00003 #ifndef _CLUTTERMM_BEHAVIOUR_OPACITY_H
00004 #define _CLUTTERMM_BEHAVIOUR_OPACITY_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
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
00035
00036
00037 namespace Clutter
00038 { class BehaviourOpacity_Class; }
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
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
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
00159 #ifdef GLIBMM_VFUNCS_ENABLED
00160 #endif //GLIBMM_VFUNCS_ENABLED
00161
00162 protected:
00163
00164 #ifdef GLIBMM_VFUNCS_ENABLED
00165 #endif //GLIBMM_VFUNCS_ENABLED
00166
00167
00168 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00169 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00170
00171
00172 };
00173
00174 }
00175
00176
00177
00178 namespace Glib
00179 {
00188 Glib::RefPtr<Clutter::BehaviourOpacity> wrap(ClutterBehaviourOpacity* object, bool take_copy = false);
00189 }
00190
00191
00192 #endif
00193