mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Fix handling of the mapping between parameters and automation CheckMenuItems. Should fix #3206, #3215 and the remainder of #3228.
git-svn-id: svn://localhost/ardour2/branches/3.0@7245 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2067937ecf
commit
8dd31447be
5 changed files with 62 additions and 20 deletions
|
|
@ -126,7 +126,7 @@ public:
|
|||
AutomationTracks automation_tracks() { return _automation_tracks; }
|
||||
|
||||
boost::shared_ptr<AutomationTimeAxisView> automation_child(Evoral::Parameter param);
|
||||
Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
|
||||
virtual Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
|
||||
|
||||
std::string name() const;
|
||||
StreamView* view() const { return _view; }
|
||||
|
|
@ -287,7 +287,10 @@ protected:
|
|||
|
||||
AutomationTracks _automation_tracks;
|
||||
typedef std::map<Evoral::Parameter, Gtk::CheckMenuItem*> ParameterMenuMap;
|
||||
ParameterMenuMap _parameter_menu_map;
|
||||
/** parameter -> menu item map for the main automation menu */
|
||||
ParameterMenuMap _main_automation_menu_map;
|
||||
/** parameter -> menu item map for the plugin automation menu */
|
||||
ParameterMenuMap _subplugin_menu_map;
|
||||
|
||||
void post_construct ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue