diff options
author | David Robillard <d@drobilla.net> | 2007-06-30 18:41:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-06-30 18:41:50 +0000 |
commit | bbf41757133a29df0d37905f2fdce091878d2ffd (patch) | |
tree | 2506ed83985d406019236c68704df0b9542dbe3a /gtk2_ardour/automation_controller.h | |
parent | 685fa95e729e5d510b28b4c715da062e9db580d9 (diff) |
Another not-quite-there-but-better commit.
Brought plugin automation into the fold of new automation system.
Fixed plugin automation, broke panner automation :] (pending Panner work).
Made AutomationController better at automatically following it's controller value (mimic what gain meter does).
Fixed some visible automation track bugs (but still broken WRT serialization).
git-svn-id: svn://localhost/ardour2/trunk@2092 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r-- | gtk2_ardour/automation_controller.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h index f9e8ab4ce3..0f98e5f083 100644 --- a/gtk2_ardour/automation_controller.h +++ b/gtk2_ardour/automation_controller.h @@ -42,6 +42,8 @@ public: ~AutomationController(); boost::shared_ptr<ARDOUR::AutomationControl> controllable() { return _controllable; } + + Gtk::Adjustment* adjustment() { return _adjustment; } void update_label(char* label, int label_len); void display_effective_value(); @@ -52,6 +54,9 @@ private: void start_touch(); void end_touch(); + void value_changed(); + void automation_state_changed(); + bool _ignore_change; boost::shared_ptr<ARDOUR::AutomationControl> _controllable; Gtk::Adjustment* _adjustment; |