From 6e337459a930e230991db0eea183ebfe76775368 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 12 Dec 2012 02:22:12 +0000 Subject: add a new Tweak to ArdourButton that makes ImplicitActive state use a solid color (the "led active" color), and adjst rec-enable buttons to use pink (like ardour2) when in this state (which means rec-enabled but not recording). and yes, this means that you can't use ImplicitUsesSolidColor with a button that also uses an LED - acceptable limitation git-svn-id: svn://localhost/ardour2/branches/3.0@13645 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/route_ui.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour/route_ui.cc') diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 762d7a9b92..447f359187 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -120,6 +120,7 @@ RouteUI::init () rec_enable_button = manage (new ArdourButton); rec_enable_button->set_name ("record enable button"); + rec_enable_button->set_tweaks (ArdourButton::ImplicitUsesSolidColor); UI::instance()->set_tip (rec_enable_button, _("Enable recording on this track"), ""); show_sends_button = manage (new ArdourButton); -- cgit v1.2.3