diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-07 17:43:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-07 17:43:55 +0000 |
commit | b08d13706f9e98fc75a727822209942c00d8f1b3 (patch) | |
tree | 4a6fd2881755a340cabcd4a79657f6bb682625de /gtk2_ardour/vst_plugin_ui.cc | |
parent | 86a9d45ad072809c06e41e3c10683f0f0ee6a4a6 (diff) |
remove additional "mid" color from ArdourButton; replace Active/Mid widget state with ExplicitActive/ImplicitActive; represent implicit-active state with colored border around ArdourButton; tune button colors; new rounded_foo() functions, some in use, some not in use right now
git-svn-id: svn://localhost/ardour2/branches/3.0@11466 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/vst_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/vst_plugin_ui.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc index 4c1fc6eade..303fb8b8dd 100644 --- a/gtk2_ardour/vst_plugin_ui.cc +++ b/gtk2_ardour/vst_plugin_ui.cc @@ -36,11 +36,7 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost: box->pack_end (add_button, false, false); box->pack_end (_preset_combo, false, false); - if (!insert->active ()) { - bypass_button.set_active_state (Gtkmm2ext::Active); - } else { - bypass_button.unset_active_state (); - } + bypass_button.set_active (!insert->active ()); pack_start (*box, false, false); pack_start (_socket, true, true); |