diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-11 01:23:03 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-11 01:23:03 +0000 |
commit | efe60474d6447fa710db5dd863f3058e3ab2e511 (patch) | |
tree | 91084a3378904dcfadacd94507d2035e49973277 /gtk2_ardour/control_point.h | |
parent | 33e58df92c0b6731bdabe96f67bebad665c5d8da (diff) |
Hopefully fix up automation control point selection (finally).
git-svn-id: svn://localhost/ardour2/branches/3.0@7592 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/control_point.h')
-rw-r--r-- | gtk2_ardour/control_point.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk2_ardour/control_point.h b/gtk2_ardour/control_point.h index 0264015f93..2dbf225d86 100644 --- a/gtk2_ardour/control_point.h +++ b/gtk2_ardour/control_point.h @@ -26,6 +26,7 @@ #include "canvas.h" #include "simplerect.h" +#include "selectable.h" class AutomationLine; class ControlPoint; @@ -42,7 +43,7 @@ namespace Gnome { } } -class ControlPoint +class ControlPoint : public Selectable { public: ControlPoint (AutomationLine& al); @@ -74,8 +75,6 @@ class ControlPoint bool can_slide() const { return _can_slide; } void set_can_slide(bool yn) { _can_slide = yn; } - bool selected() const { return _selected; } - void set_selected(bool yn) { _selected = yn; } uint32_t view_index() const { return _view_index; } void set_view_index(uint32_t i) { _view_index = i; } @@ -92,7 +91,6 @@ class ControlPoint ARDOUR::AutomationList::iterator _model; uint32_t _view_index; bool _can_slide; - bool _selected; virtual bool event_handler (GdkEvent*); |