summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2017-08-26 21:00:45 -0500
committerBen Loftis <ben@harrisonconsoles.com>2017-08-26 22:44:58 -0500
commit9b87279eca991043c347dfdfda71b4e063023aec (patch)
tree6a7a81736be79802c2f65f0c90cdb2185aab745c /gtk2_ardour/editor.h
parente9f4c5fc1c9bfd5fa6d5abb88a5161630ad56ef0 (diff)
Editor zooming:
New function session_gui_extents() reports the extents of all playlists. ToDo: include region playlists, when they become available. also: slow-down autoscroll (ToDo: make a config variable for this)
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 1e3f4c9a99..b43beff9bc 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -364,6 +364,9 @@ public:
void set_group_tabs ();
void toggle_measure_visibility ();
+ /* returns the left-most and right-most time that the gui should allow the user to scroll to */
+ std::pair <framepos_t,framepos_t> session_gui_extents() const;
+
/* fades */
void toggle_region_fades (int dir);