diff options
author | Carl Hetherington <carl@carlh.net> | 2011-03-02 00:30:19 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-03-02 00:30:19 +0000 |
commit | b461bc1dc1970a9e147c43a721d3155f6215f8c7 (patch) | |
tree | 662779bc3a834297a0f13cc889f04075775c738b /gtk2_ardour/editor.h | |
parent | d5e44d00a61ce80767393fcc4b821d2ce093d097 (diff) |
Put some up/down buttons to the right of the summary. Might help with #3786.
git-svn-id: svn://localhost/ardour2/branches/3.0@9021 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 3c1d886a11..1ed6569fcb 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -941,10 +941,15 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void reset_controls_layout_width (); void reset_controls_layout_height (int32_t height); - bool horizontal_scroll_left_press (); - void horizontal_scroll_left_release (); - bool horizontal_scroll_right_press (); - void horizontal_scroll_right_release (); + enum Direction { + LEFT, + RIGHT, + UP, + DOWN + }; + + bool scroll_press (Direction); + void scroll_release (); sigc::connection _scroll_connection; int _scroll_callbacks; |