From 6449c2e5c8b027245fe5fb9942984243e4a653d7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 10 Nov 2011 15:25:01 +0000 Subject: more ardour-button-ization; fix transparency of selection rects; use "correct" cursors when entering and leaving selection rect handles; color tweaks for a few buttons git-svn-id: svn://localhost/ardour2/branches/3.0@10527 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/plugin_ui.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/plugin_ui.h') diff --git a/gtk2_ardour/plugin_ui.h b/gtk2_ardour/plugin_ui.h index 20282c4cfa..5ee275c240 100644 --- a/gtk2_ardour/plugin_ui.h +++ b/gtk2_ardour/plugin_ui.h @@ -48,6 +48,7 @@ #include "ardour/types.h" #include "automation_controller.h" +#include "ardour_button.h" namespace ARDOUR { class PluginInsert; @@ -110,7 +111,7 @@ class PlugUIBase : public virtual sigc::trackable, public PBD::ScopedConnectionL Gtk::Button add_button; Gtk::Button save_button; Gtk::Button delete_button; - Gtk::ToggleButton bypass_button; + ArdourButton bypass_button; Gtk::EventBox focus_button; Gtk::Label latency_label; @@ -133,7 +134,7 @@ class PlugUIBase : public virtual sigc::trackable, public PBD::ScopedConnectionL void save_plugin_setting (); void delete_plugin_setting (); bool focus_toggled(GdkEventButton*); - void bypass_toggled(); + bool bypass_button_release(GdkEventButton*); void toggle_plugin_analysis (); void processor_active_changed (boost::weak_ptr p); void plugin_going_away (); @@ -248,8 +249,6 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox void control_port_toggled (ControlUI* cui); void control_combo_changed (ControlUI* cui); - void processor_active_changed (boost::weak_ptr); - void astate_clicked (ControlUI*, uint32_t parameter); void automation_state_changed (ControlUI*); void set_automation_state (ARDOUR::AutoState state, ControlUI* cui); -- cgit v1.2.3