diff options
author | neoraider <devnull@localhost> | 2008-04-07 03:45:04 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-07 03:45:04 +0200 |
commit | 761c681764d4dae3b9776a57e4c3e5561e37f733 (patch) | |
tree | 47d1862ec4274466f42480ca8d68c3c7cb0e7d9c /src/Gui/RenderArea.h | |
parent | cbc867ee44137b24e2549271499a9d211cd6b000 (diff) | |
download | zoomedit-761c681764d4dae3b9776a57e4c3e5561e37f733.tar zoomedit-761c681764d4dae3b9776a57e4c3e5561e37f733.zip |
zoomedit: Added RenderArea with OpenGL support.
Diffstat (limited to 'src/Gui/RenderArea.h')
-rw-r--r-- | src/Gui/RenderArea.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Gui/RenderArea.h b/src/Gui/RenderArea.h new file mode 100644 index 0000000..6695e09 --- /dev/null +++ b/src/Gui/RenderArea.h @@ -0,0 +1,25 @@ +#ifndef ZOOMEDIT_GUI_RENDERAREA_H_ +#define ZOOMEDIT_GUI_RENDERAREA_H_ + +#include <gtkmm/drawingarea.h> +#include <libglademm/xml.h> +#include <gtk/gtkgl.h> + +namespace ZoomEdit { +namespace Gui { + +class RenderArea : public Gtk::DrawingArea { + public: + RenderArea(BaseObjectType *cobject, const Glib::RefPtr<Gnome::Glade::Xml> &xml); + virtual ~RenderArea(); + + private: + static GdkGLConfig *glconfig; + + void onRealize(); +}; + +} +} + +#endif /*ZOOMEDIT_GUI_RENDERAREA_H_*/ |