summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-14 13:30:21 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-14 13:30:21 +0000
commiteed07f451601c08b0197fdd5595f3a838b7808bb (patch)
tree02485b5db4a03a31d6c3c3e93623cb026bb1a381 /gtk2_ardour/editor_summary.h
parent6764ab78567b95c703e286ab6ef4b115e8d9f2ce (diff)
Some small bug fixes. Make click (but not drag) inside the view box behave like a click outside.
git-svn-id: svn://localhost/ardour2/branches/3.0@5183 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.h')
-rw-r--r--gtk2_ardour/editor_summary.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_summary.h b/gtk2_ardour/editor_summary.h
index 73fb42611c..e77fdaaa0e 100644
--- a/gtk2_ardour/editor_summary.h
+++ b/gtk2_ardour/editor_summary.h
@@ -23,6 +23,7 @@ public:
void set_bounds_dirty ();
private:
+ void centre_on_click (GdkEventButton *);
bool on_expose_event (GdkEventExpose *);
void on_size_request (Gtk::Requisition *);
void on_size_allocate (Gtk::Allocation &);
@@ -46,6 +47,7 @@ private:
bool _dragging;
double _x_offset;
double _y_offset;
+ bool _moved;
};
#endif