summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index f81a212d9b..c4203efa1c 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -447,6 +447,12 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void begin_reversible_command (std::string cmd_name);
void commit_reversible_command ();
+ DragManager* drags () const {
+ return _drags;
+ }
+
+ void maybe_autoscroll (bool, bool);
+
/* handy cursors for everyone to use */
static Gdk::Cursor* cross_hair_cursor;
@@ -941,8 +947,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
int _scroll_callbacks;
double _canvas_width;
- double _canvas_height;
- double full_canvas_height;
+ double _canvas_height; ///< height of the visible area of the track canvas
+ double full_canvas_height; ///< full height of the canvas
bool track_canvas_map_handler (GdkEventAny*);
@@ -1685,8 +1691,6 @@ public:
bool autoscroll_canvas ();
void start_canvas_autoscroll (int x, int y);
void stop_canvas_autoscroll ();
- void maybe_autoscroll (GdkEventMotion*, bool);
- bool allow_vertical_scroll;
/* trimming */
void point_trim (GdkEvent *, nframes64_t);