summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-12-12 02:22:12 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-12-12 02:22:12 +0000
commit6e337459a930e230991db0eea183ebfe76775368 (patch)
tree401202d5ab03bfc7dfa504964db2da45653502e8 /gtk2_ardour/ardour_button.h
parent740c5aebab39ca88503a1733880af7a337b05e83 (diff)
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
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r--gtk2_ardour/ardour_button.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h
index e148d1a783..df5b115cb0 100644
--- a/gtk2_ardour/ardour_button.h
+++ b/gtk2_ardour/ardour_button.h
@@ -54,6 +54,7 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable
enum Tweaks {
ShowClick = 0x1,
NoModel = 0x2,
+ ImplicitUsesSolidColor = 0x4,
};
Tweaks tweaks() const { return _tweaks; }