diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-09 10:02:38 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-09 10:02:38 -0400 |
commit | d36afa6b8bb3815d91e0fe93887a83e4a873f157 (patch) | |
tree | 9df715b20721ea3f0d005b0bfccd05ed611c63ef /gtk2_ardour/public_editor.h | |
parent | 95f2b4ba17949ef5d70bc973665e1b9c29f38e4d (diff) |
forward scroll events from track control headers to the canvas, to get consistent scroll behaviour (whatever that behaviour is)
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r-- | gtk2_ardour/public_editor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index a1643fb188..d37b4d7744 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -318,6 +318,7 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi virtual void reset_focus () = 0; + virtual bool canvas_scroll_event (GdkEventScroll* event) = 0; virtual bool canvas_control_point_event (GdkEvent* event, ArdourCanvas::Item*, ControlPoint*) = 0; virtual bool canvas_line_event (GdkEvent* event, ArdourCanvas::Item*, AutomationLine*) = 0; virtual bool canvas_selection_rect_event (GdkEvent* event, ArdourCanvas::Item*, SelectionRect*) = 0; |