mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Also show route owned controls on touch
This add support for special-cased automation controls
(Fader, Trim, Panner, Mute) and spills their automation-lane
on touch.
It also features a small internal API update directly mapping
CheckMenuItem. See also bd8c26a059
This commit is contained in:
parent
7cd1b2c64c
commit
e267c1e129
2 changed files with 80 additions and 25 deletions
|
|
@ -196,8 +196,13 @@ protected:
|
|||
ProcessorAutomationNode*
|
||||
find_processor_automation_node (boost::shared_ptr<ARDOUR::Processor> i, Evoral::Parameter);
|
||||
|
||||
ProcessorAutomationNode*
|
||||
find_processor_automation_node (boost::shared_ptr<ARDOUR::AutomationControl>);
|
||||
/* O(log(N)) lookup of menu-item by AC */
|
||||
Gtk::CheckMenuItem*
|
||||
find_menu_item_by_ctrl (boost::shared_ptr<ARDOUR::AutomationControl>);
|
||||
|
||||
/* O(1) IFF route_owned_only == true, O(N) otherwise */
|
||||
boost::shared_ptr<AutomationTimeAxisView>
|
||||
find_atav_by_ctrl (boost::shared_ptr<ARDOUR::AutomationControl>, bool route_owned_only = true);
|
||||
|
||||
boost::shared_ptr<AutomationLine>
|
||||
find_processor_automation_curve (boost::shared_ptr<ARDOUR::Processor> i, Evoral::Parameter);
|
||||
|
|
@ -266,7 +271,7 @@ protected:
|
|||
*/
|
||||
std::list<ProcessorAutomationInfo*> processor_automation;
|
||||
|
||||
std::map<boost::shared_ptr<PBD::Controllable>, ProcessorAutomationNode*> ctrl_node_map;
|
||||
std::map<boost::shared_ptr<PBD::Controllable>, Gtk::CheckMenuItem*> ctrl_item_map;
|
||||
|
||||
typedef std::vector<boost::shared_ptr<AutomationLine> > ProcessorAutomationCurves;
|
||||
ProcessorAutomationCurves processor_automation_curves;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue