From 7c94499aeca8a67ee5f0fe51fb4f957d6618fef4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 19 Jun 2017 17:40:32 +0200 Subject: Remove Cruft -- AutomationStyle never did anything. Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain. --- gtk2_ardour/gain_meter.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gtk2_ardour/gain_meter.h') diff --git a/gtk2_ardour/gain_meter.h b/gtk2_ardour/gain_meter.h index fb87b1b5de..f9753187ca 100644 --- a/gtk2_ardour/gain_meter.h +++ b/gtk2_ardour/gain_meter.h @@ -108,10 +108,6 @@ class GainMeterBase : virtual public sigc::trackable, ARDOUR::SessionHandlePtr static std::string short_astate_string (ARDOUR::AutoState); static std::string _astate_string (ARDOUR::AutoState, bool); - static std::string astyle_string (ARDOUR::AutoStyle); - static std::string short_astyle_string (ARDOUR::AutoStyle); - static std::string _astyle_string (ARDOUR::AutoStyle, bool); - protected: friend class MixerStrip; @@ -139,11 +135,9 @@ class GainMeterBase : virtual public sigc::trackable, ARDOUR::SessionHandlePtr sigc::connection gain_watching; - ArdourButton gain_automation_style_button; ArdourButton gain_automation_state_button; Gtk::Menu gain_astate_menu; - Gtk::Menu gain_astyle_menu; ArdourButton meter_point_button; @@ -153,13 +147,10 @@ class GainMeterBase : virtual public sigc::trackable, ARDOUR::SessionHandlePtr bool gain_astate_propagate; static sigc::signal ChangeGainAutomationState; - gint gain_automation_style_button_event (GdkEventButton *); gint gain_automation_state_button_event (GdkEventButton *); - gint pan_automation_style_button_event (GdkEventButton *); gint pan_automation_state_button_event (GdkEventButton *); void gain_automation_state_changed(); - void gain_automation_style_changed(); void setup_gain_adjustment (); Width _width; -- cgit v1.2.3