diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2013-01-05 09:07:16 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2013-01-05 09:07:16 +0000 |
commit | 3ffda80f95478f4e73765f8b7ceb1bbf54ea97ee (patch) | |
tree | 1a0e0d62590da225d550ee44da9a76c32a21a6b9 /src/my_GTK_GL_scene.h | |
parent | c1d21f2a47e34362ee1d939bca8ca082f5474b33 (diff) | |
download | 2013-gpudataviz-3ffda80f95478f4e73765f8b7ceb1bbf54ea97ee.tar.gz 2013-gpudataviz-3ffda80f95478f4e73765f8b7ceb1bbf54ea97ee.tar.bz2 2013-gpudataviz-3ffda80f95478f4e73765f8b7ceb1bbf54ea97ee.zip |
- Ajout de quelques tests et messages dans compil.sh.
- Suppression des majuscules de my_gtk_gl_scene.h
- Ajout de quelques #define pour pouvoir compiler sans OpenCL
(+ changement appel initOpenCL() -> initLibs() dans gpudataviz.cc)
git-svn-id: file:///var/svn/2013-gpudataviz/trunk@3 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d
Diffstat (limited to 'src/my_GTK_GL_scene.h')
-rw-r--r-- | src/my_GTK_GL_scene.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/my_GTK_GL_scene.h b/src/my_GTK_GL_scene.h deleted file mode 100644 index dc8afbe..0000000 --- a/src/my_GTK_GL_scene.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef MY_GTK_GL_SCENE_H -#define MY_GTK_GL_SCENE_H - -#include "gtk_includes.h" - -// Class that will contain all the OpenGL logic for displaying the OpenCL computed data -// Implementation is kept in gpudataviz.cc (I want to keep interesting code part in this file) - -// TODO : rename it to MyGTKGLSceneWidget -class MyGTKGLScene : public Gtk::DrawingArea, public Gtk::GL::Widget<MyGTKGLScene> -{ - public: - MyGTKGLScene(Glib::RefPtr<Gdk::GL::Config> &glconfig); - virtual ~MyGTKGLScene(); - - protected: - virtual void on_size_request(Gtk::Requisition* requisition); - virtual void on_realize(); - virtual bool on_configure_event(GdkEventConfigure* event); - virtual bool on_expose_event(GdkEventExpose* event); -}; - -#endif /*MY_GTK_GL_SCENE_H*/ |