diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2013-03-31 10:50:36 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2013-03-31 10:50:36 +0000 |
commit | 33171efc37387fc1641063abd4ca4c6828653b7c (patch) | |
tree | 5816de8fde20e155c9811597776fbf1b10386e4c /src/my_gtk_gl_scene_widget.hpp | |
parent | fbe888a709ef2de41959f736d03347c0c2b47c04 (diff) | |
download | 2013-gpudataviz-33171efc37387fc1641063abd4ca4c6828653b7c.tar.gz 2013-gpudataviz-33171efc37387fc1641063abd4ca4c6828653b7c.tar.bz2 2013-gpudataviz-33171efc37387fc1641063abd4ca4c6828653b7c.zip |
Amélioration de la gestio nde la boucle d'events GTK (utilisation du signal idle pour le continuous_play)
git-svn-id: file:///var/svn/2013-gpudataviz/trunk@25 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d
Diffstat (limited to 'src/my_gtk_gl_scene_widget.hpp')
-rw-r--r-- | src/my_gtk_gl_scene_widget.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/my_gtk_gl_scene_widget.hpp b/src/my_gtk_gl_scene_widget.hpp index 6196ae8..1c7e305 100644 --- a/src/my_gtk_gl_scene_widget.hpp +++ b/src/my_gtk_gl_scene_widget.hpp @@ -26,6 +26,7 @@ class MyGTKGLSceneWidget : public Gtk::DrawingArea, public Gtk::GL::Widget<MyGTK virtual bool on_button_press_event(GdkEventButton *event); virtual bool on_button_release_event(GdkEventButton *event); virtual bool on_scroll_event(GdkEventScroll *event); + virtual bool on_gtk_idle(); bool do_mouse_logic(GdkEventType type, guint state, guint x, guint y); private: |