add scroll wheel handler to canvas

This commit is contained in:
Ben Loftis 2014-06-24 10:32:41 -05:00
parent 4bba1059e8
commit 2cc25a9d79
2 changed files with 27 additions and 0 deletions

View file

@ -151,6 +151,7 @@ public:
Coord height() const;
protected:
bool on_scroll_event (GdkEventScroll *);
bool on_expose_event (GdkEventExpose *);
bool on_button_press_event (GdkEventButton *);
bool on_button_release_event (GdkEventButton* event);