summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-06-08 21:48:38 +0000
committerCarl Hetherington <carl@carlh.net>2010-06-08 21:48:38 +0000
commit8dd31447be22c20a51f019c8ea77c27ba975815c (patch)
treee450a2fa5d085a0e396a43ba9a18a4135b3fad6b /gtk2_ardour/route_time_axis.h
parent2067937ecfb9e2db2e22631478c5c4548e0c47c7 (diff)
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
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r--gtk2_ardour/route_time_axis.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h
index 8f569d8203..576c353334 100644
--- a/gtk2_ardour/route_time_axis.h
+++ b/gtk2_ardour/route_time_axis.h
@@ -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 ();