00001
00002
00003 #ifndef _CLUTTERMM_BEHAVIOUR_DEPTH_H
00004 #define _CLUTTERMM_BEHAVIOUR_DEPTH_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 <cluttermm/behaviour.h>
00027 #include <cluttermm/alpha.h>
00028
00029
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _ClutterBehaviourDepth ClutterBehaviourDepth;
00032 typedef struct _ClutterBehaviourDepthClass ClutterBehaviourDepthClass;
00033 #endif
00034
00035
00036 namespace Clutter
00037 { class BehaviourDepth_Class; }
00038 namespace Clutter
00039 {
00040
00041
00042 class BehaviourDepth : public Behaviour
00043 {
00044
00045 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00046
00047 public:
00048 typedef BehaviourDepth CppObjectType;
00049 typedef BehaviourDepth_Class CppClassType;
00050 typedef ClutterBehaviourDepth BaseObjectType;
00051 typedef ClutterBehaviourDepthClass BaseClassType;
00052
00053 private: friend class BehaviourDepth_Class;
00054 static CppClassType behaviourdepth_class_;
00055
00056 private:
00057
00058 BehaviourDepth(const BehaviourDepth&);
00059 BehaviourDepth& operator=(const BehaviourDepth&);
00060
00061 protected:
00062 explicit BehaviourDepth(const Glib::ConstructParams& construct_params);
00063 explicit BehaviourDepth(ClutterBehaviourDepth* castitem);
00064
00065 #endif
00066
00067 public:
00068 virtual ~BehaviourDepth();
00069
00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00071 static GType get_type() G_GNUC_CONST;
00072 static GType get_base_type() G_GNUC_CONST;
00073 #endif
00074
00076 ClutterBehaviourDepth* gobj() { return reinterpret_cast<ClutterBehaviourDepth*>(gobject_); }
00077
00079 const ClutterBehaviourDepth* gobj() const { return reinterpret_cast<ClutterBehaviourDepth*>(gobject_); }
00080
00082 ClutterBehaviourDepth* gobj_copy();
00083
00084 private:
00085
00086
00087 protected:
00088 explicit BehaviourDepth(const Glib::RefPtr<Alpha>& alpha, int start_depth, int end_depth);
00089
00090 public:
00091
00092 static Glib::RefPtr<BehaviourDepth> create(const Glib::RefPtr<Alpha>& alpha, int start_depth, int end_depth);
00093
00094
00101 void set_bounds(int depth_start, int depth_end);
00102
00109 void get_bounds(int& depth_start, int& depth_end);
00110
00111 #ifdef GLIBMM_PROPERTIES_ENABLED
00112
00118 Glib::PropertyProxy<int> property_depth_end() ;
00119 #endif //#GLIBMM_PROPERTIES_ENABLED
00120
00121 #ifdef GLIBMM_PROPERTIES_ENABLED
00122
00128 Glib::PropertyProxy_ReadOnly<int> property_depth_end() const;
00129 #endif //#GLIBMM_PROPERTIES_ENABLED
00130
00131 #ifdef GLIBMM_PROPERTIES_ENABLED
00132
00138 Glib::PropertyProxy<int> property_depth_start() ;
00139 #endif //#GLIBMM_PROPERTIES_ENABLED
00140
00141 #ifdef GLIBMM_PROPERTIES_ENABLED
00142
00148 Glib::PropertyProxy_ReadOnly<int> property_depth_start() const;
00149 #endif //#GLIBMM_PROPERTIES_ENABLED
00150
00151
00152 public:
00153
00154 public:
00155
00156 #ifdef GLIBMM_VFUNCS_ENABLED
00157 #endif //GLIBMM_VFUNCS_ENABLED
00158
00159 protected:
00160
00161 #ifdef GLIBMM_VFUNCS_ENABLED
00162 #endif //GLIBMM_VFUNCS_ENABLED
00163
00164
00165 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00166 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00167
00168
00169 };
00170
00171 }
00172
00173
00174 namespace Glib
00175 {
00184 Glib::RefPtr<Clutter::BehaviourDepth> wrap(ClutterBehaviourDepth* object, bool take_copy = false);
00185 }
00186
00187
00188 #endif
00189