From d7bd270aa10b3a8669223debe4c1b572ae876e2b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 Jun 2007 15:51:50 +0000 Subject: Big ol' automation refactor. Things with automation parameters now inherit from Automatable, which handles serialization, fetching/adding/removing parameters, etc. Use AutomationList everywhere instead of Curve, make Curve a member of AutomationList instead (towards other types of "Curve" needed for CC, among other things). Work towards MIDI CC sending "automation" tracks. git-svn-id: svn://localhost/ardour2/trunk@2069 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_time_axis.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'gtk2_ardour/audio_time_axis.h') diff --git a/gtk2_ardour/audio_time_axis.h b/gtk2_ardour/audio_time_axis.h index ab5ef955c7..a2f331cf6a 100644 --- a/gtk2_ardour/audio_time_axis.h +++ b/gtk2_ardour/audio_time_axis.h @@ -83,16 +83,14 @@ class AudioTimeAxisView : public RouteTimeAxisView guint32 show_at (double y, int& nth, Gtk::VBox *parent); void hide (); - void set_state (const XMLNode&); - XMLNode* get_child_xml_node (const string & childname); - + void create_automation_child (ARDOUR::ParamID param); + private: friend class AudioStreamView; friend class AudioRegionView; void route_active_changed (); - void build_automation_action_menu (); void append_extra_display_menu_items (); void toggle_show_waveforms (); @@ -104,26 +102,12 @@ class AudioTimeAxisView : public RouteTimeAxisView void show_existing_automation (); void hide_all_automation (); - void add_gain_automation_child (); - void add_pan_automation_child (); - void add_parameter_automation_child (); - - void toggle_gain_track (); - void toggle_pan_track (); - void gain_hidden (); void pan_hidden (); void update_pans (); void update_control_names (); - AutomationTimeAxisView* gain_track; - AutomationTimeAxisView* pan_track; - - // Set from XML so context menu automation buttons can be correctly initialized - bool show_gain_automation; - bool show_pan_automation; - Gtk::CheckMenuItem* waveform_item; Gtk::RadioMenuItem* traditional_item; Gtk::RadioMenuItem* rectified_item; -- cgit v1.2.3