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
This commit is contained in:
Carl Hetherington 2009-06-14 13:30:21 +00:00
parent 6764ab7856
commit eed07f4516
2 changed files with 42 additions and 26 deletions

View file

@ -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