mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
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
This commit is contained in:
parent
85e8be3fa4
commit
d116af22db
16 changed files with 122 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue