summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-10-31 18:32:19 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-10-31 18:32:19 +0000
commite04c7608c193545a1d8038a3f9169ab8e521c9a8 (patch)
tree1a0c75deed5ecfc2ad55e105c13682b43343fba2 /gtk2_ardour/ardour_button.h
parent25949e9d83fb9b3c119ac14200f5fe82eb1380a0 (diff)
mo better handling of distinct led clicks in ArdourButton, and correctly layout text (name of processor)
git-svn-id: svn://localhost/ardour2/branches/3.0@10350 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r--gtk2_ardour/ardour_button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h
index 13a71486b1..ee3fd086d1 100644
--- a/gtk2_ardour/ardour_button.h
+++ b/gtk2_ardour/ardour_button.h
@@ -108,7 +108,9 @@ class ArdourButton : public CairoWidget
bool _led_left;
bool _fixed_diameter;
bool _distinct_led_click;
+ cairo_rectangle_t* _led_rect;
+ void setup_led_rect ();
void set_colors ();
void color_handler ();
void state_handler ();