From 761c681764d4dae3b9776a57e4c3e5561e37f733 Mon Sep 17 00:00:00 2001 From: neoraider Date: Mon, 7 Apr 2008 01:45:04 +0000 Subject: zoomedit: Added RenderArea with OpenGL support. --- src/Gui/RenderArea.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Gui/RenderArea.h (limited to 'src/Gui/RenderArea.h') 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 +#include +#include + +namespace ZoomEdit { +namespace Gui { + +class RenderArea : public Gtk::DrawingArea { + public: + RenderArea(BaseObjectType *cobject, const Glib::RefPtr &xml); + virtual ~RenderArea(); + + private: + static GdkGLConfig *glconfig; + + void onRealize(); +}; + +} +} + +#endif /*ZOOMEDIT_GUI_RENDERAREA_H_*/ -- cgit v1.2.3