diff options
author | David Robillard <d@drobilla.net> | 2007-06-27 15:51:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-06-27 15:51:50 +0000 |
commit | d7bd270aa10b3a8669223debe4c1b572ae876e2b (patch) | |
tree | db9ad92cb5096a54a9d7e91873fe73530ceaf21b /gtk2_ardour/audio_time_axis.h | |
parent | d7afe01c307e35719dc1ee41c079f81f40f009df (diff) |
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
Diffstat (limited to 'gtk2_ardour/audio_time_axis.h')
-rw-r--r-- | gtk2_ardour/audio_time_axis.h | 20 |
1 files changed, 2 insertions, 18 deletions
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; |