viewport.h
Go to the documentation of this file.00001
00002
00003 #ifndef _CLUTTER_GTKMM_VIEWPORT_H
00004 #define _CLUTTER_GTKMM_VIEWPORT_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/actor.h>
00027 #include <gtkmm/adjustment.h>
00028
00029
00030 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00031 typedef struct _GtkClutterViewport GtkClutterViewport;
00032 typedef struct _GtkClutterViewportClass GtkClutterViewportClass;
00033 #endif
00034
00035
00036 namespace Clutter
00037 {
00038
00039 namespace Gtk
00040 { class Viewport_Class; }
00041
00042 }
00043 namespace Clutter
00044 {
00045 namespace Gtk
00046 {
00047
00048
00049
00050 class Viewport :
00051 public ::Clutter::Actor
00052 {
00053
00054 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00055
00056 public:
00057 typedef Viewport CppObjectType;
00058 typedef Viewport_Class CppClassType;
00059 typedef GtkClutterViewport BaseObjectType;
00060 typedef GtkClutterViewportClass BaseClassType;
00061
00062 private: friend class Viewport_Class;
00063 static CppClassType viewport_class_;
00064
00065 private:
00066
00067 Viewport(const Viewport&);
00068 Viewport& operator=(const Viewport&);
00069
00070 protected:
00071 explicit Viewport(const Glib::ConstructParams& construct_params);
00072 explicit Viewport(GtkClutterViewport* castitem);
00073
00074 #endif
00075
00076 public:
00077 virtual ~Viewport();
00078
00079 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00080 static GType get_type() G_GNUC_CONST;
00081
00082
00083 static GType get_base_type() G_GNUC_CONST;
00084 #endif
00085
00087 GtkClutterViewport* gobj() { return reinterpret_cast<GtkClutterViewport*>(gobject_); }
00088
00090 const GtkClutterViewport* gobj() const { return reinterpret_cast<GtkClutterViewport*>(gobject_); }
00091
00093 GtkClutterViewport* gobj_copy();
00094
00095 private:
00096
00097
00098 protected:
00099
00100
00101 explicit Viewport(::Gtk::Adjustment& h_adjustment, ::Gtk::Adjustment& v_adjustment);
00102
00103 public:
00104
00105
00106 static Glib::RefPtr<Viewport> create(::Gtk::Adjustment& h_adjustment, ::Gtk::Adjustment& v_adjustment);
00107
00108
00117 void get_origin(float& x, float& y, float& z);
00118
00119
00120 public:
00121
00122 public:
00123
00124 #ifdef GLIBMM_VFUNCS_ENABLED
00125 #endif //GLIBMM_VFUNCS_ENABLED
00126
00127 protected:
00128
00129 #ifdef GLIBMM_VFUNCS_ENABLED
00130 #endif //GLIBMM_VFUNCS_ENABLED
00131
00132
00133 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00134 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00135
00136
00137 };
00138
00139 }
00140 }
00141
00142
00143
00144
00145 namespace Glib
00146 {
00155 Glib::RefPtr<Clutter::Gtk::Viewport> wrap(GtkClutterViewport* object, bool take_copy = false);
00156 }
00157
00158
00159 #endif
00160