summaryrefslogtreecommitdiff
path: root/gtk2_ardour/led.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-10-26 21:01:14 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-10-26 21:01:14 +0000
commit51ab5ccabf432540ca935065f6c6f40a96f42dad (patch)
treea5f062738bcedc33cd55b176168d532e4cc6d189 /gtk2_ardour/led.h
parentae3eb6e3f4f270a03ff297d1bbe7cd3f3a2159a9 (diff)
new ArdourButton class, to start to provide more control over how our buttons work and appear; use ArdourButtons for monitor, solo isolate and solo safe buttons, and in the processor box; don't save UI config file (canvas colors) to the user's home dir unless one or more parameters were modified by the user
git-svn-id: svn://localhost/ardour2/branches/3.0@10311 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/led.h')
-rw-r--r--gtk2_ardour/led.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/led.h b/gtk2_ardour/led.h
index e2009ce192..e8514d60c0 100644
--- a/gtk2_ardour/led.h
+++ b/gtk2_ardour/led.h
@@ -30,6 +30,8 @@ class LED : public CairoWidget
LED ();
virtual ~LED ();
+ void set_active (bool yn);
+ bool active () const { return _active; }
void set_visual_state (int32_t s);
int32_t visual_state() const { return _visual_state; }
void set_diameter (float);