viewport.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _CLUTTER_GTKMM_VIEWPORT_H
00004 #define _CLUTTER_GTKMM_VIEWPORT_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/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 /* DOXYGEN_SHOULD_SKIP_THIS */
00034 
00035 
00036 namespace Clutter
00037 {
00038 
00039 namespace Gtk
00040 { class Viewport_Class; } // namespace Gtk
00041 
00042 } // namespace Clutter
00043 namespace Clutter
00044 {
00045 namespace Gtk
00046 {
00047 
00048 //TODO: Documentation.
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   //C++ methods used to invoke GTK+ virtual functions:
00124 #ifdef GLIBMM_VFUNCS_ENABLED
00125 #endif //GLIBMM_VFUNCS_ENABLED
00126 
00127 protected:
00128   //GTK+ Virtual Functions (override these to change behaviour):
00129 #ifdef GLIBMM_VFUNCS_ENABLED
00130 #endif //GLIBMM_VFUNCS_ENABLED
00131 
00132   //Default Signal Handlers::
00133 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00134 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00135 
00136 
00137 };
00138 
00139 } // namespace Gtk
00140 } // namespace Clutter
00141 
00142 //vim: ts=2,sw=2
00143 
00144 
00145 namespace Glib
00146 {
00155   Glib::RefPtr<Clutter::Gtk::Viewport> wrap(GtkClutterViewport* object, bool take_copy = false);
00156 }
00157 
00158 
00159 #endif /* _CLUTTER_GTKMM_VIEWPORT_H */
00160 

Generated on 15 Oct 2009 for clutter-gtkmm by  doxygen 1.6.1