diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-27 18:48:33 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-01-27 18:48:33 +0000 |
commit | d116af22db3c0e0cf6aeff6194a689d8bfad7c8c (patch) | |
tree | c3d9888d5020d8e6bf02532ea06adc388d9033f5 /gtk2_ardour/automation_controller.h | |
parent | 85e8be3fa4f4910907d731a4591bf5e7d5135ca6 (diff) |
virtualize the way that AutomationController gets strings to display values, so that we can callback through the owner of an AutomationControl, not just rely on the value from the AutomationControl; make pan automation tracks use this to display more audio-centric values
git-svn-id: svn://localhost/ardour2/branches/3.0@8590 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_controller.h')
-rw-r--r-- | gtk2_ardour/automation_controller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_controller.h b/gtk2_ardour/automation_controller.h index a2168700e2..814f716f13 100644 --- a/gtk2_ardour/automation_controller.h +++ b/gtk2_ardour/automation_controller.h @@ -54,7 +54,7 @@ public: void stop_updating (); private: - AutomationController (boost::shared_ptr<ARDOUR::AutomationControl> ac, Gtk::Adjustment* adj); + AutomationController (boost::shared_ptr<ARDOUR::Automatable> parent, boost::shared_ptr<ARDOUR::AutomationControl> ac, Gtk::Adjustment* adj); std::string get_label (int&); void start_touch(); @@ -64,6 +64,7 @@ private: void automation_state_changed(); bool _ignore_change; + boost::shared_ptr<ARDOUR::Automatable> _owner; boost::shared_ptr<ARDOUR::AutomationControl> _controllable; Gtk::Adjustment* _adjustment; sigc::connection _screen_update_connection; |