summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2017-07-19 13:58:56 -0500
committerBen Loftis <ben@harrisonconsoles.com>2017-07-19 13:58:56 -0500
commit29002b9ac900e1115ae51635eb2afad34cb53c40 (patch)
tree8d1c0453d1617d5b9dfcbf8f6611a4d96be29b47 /gtk2_ardour/editor_summary.h
parent0cb44f9d561996015468d535c01d954b22fa7e2a (diff)
Editor Summary: The view rectangle should never exceed the bounds of the scroll area.
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index 0a9a5b960c..afdbf096b9 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -88,6 +88,9 @@ private:
framepos_t _start; ///< start frame of the overview
framepos_t _end; ///< end frame of the overview
+ framepos_t _leftmost; ///< the earliest frame we ever viewed
+ framepos_t _rightmost; ///< the latest frame we ever viewed
+
/** fraction of the session length by which the overview size should extend past the start and end markers */
double _overhang_fraction;