diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-14 17:14:48 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-11-14 17:14:48 -0500 |
commit | 251735080d48c0e40d6aacb916d0e9ae3e332fa7 (patch) | |
tree | 9bd8d335d4be71ff64cf77bbce23da107a48741c /gtk2_ardour/plugin_ui.h | |
parent | af4095c0e9521365d6167fd45bae91ea51301d60 (diff) |
fix up some suboptimal and crash-prone aspects of 7c263f3bc4f3bddd8094c9baecf584503012acc8 from Jeremy Carter
Diffstat (limited to 'gtk2_ardour/plugin_ui.h')
-rw-r--r-- | gtk2_ardour/plugin_ui.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h index 0407afcb71..7cc201ff7a 100644 --- a/gtk2_ardour/plugin_ui.h +++ b/gtk2_ardour/plugin_ui.h @@ -136,13 +136,13 @@ class PlugUIBase : public virtual sigc::trackable, public PBD::ScopedConnectionL /** a button which, when clicked, opens the latency GUI */ Gtk::Button latency_button; /** a button which sets all controls' automation setting to Manual */ - Gtk::Button automation_manual_all_button; + ArdourButton automation_manual_all_button; /** a button which sets all controls' automation setting to Play */ - Gtk::Button automation_play_all_button; + ArdourButton automation_play_all_button; /** a button which sets all controls' automation setting to Write */ - Gtk::Button automation_write_all_button; + ArdourButton automation_write_all_button; /** a button which sets all controls' automation setting to Touch */ - Gtk::Button automation_touch_all_button; + ArdourButton automation_touch_all_button; void set_latency_label (); @@ -288,10 +288,7 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox void set_automation_state (ARDOUR::AutoState state, ControlUI* cui); void start_touch (ControlUI*); void stop_touch (ControlUI*); - void automation_manual_all(std::vector<ControlUI*>&); - void automation_play_all(std::vector<ControlUI*>&); - void automation_write_all(std::vector<ControlUI*>&); - void automation_touch_all(std::vector<ControlUI*>&); + void set_all_automation (ARDOUR::AutoState state); /* XXX: remove */ void print_parameter (char *buf, uint32_t len, uint32_t param); |