summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-11-15 22:42:17 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-11-15 22:42:17 +0000
commitdcbed9317ffe601d84a7d252ac15f8644b3588b1 (patch)
treee868cd06fa0cef2fb3c0fb007dd866413fd2c190 /gtk2_ardour/ardour_button.cc
parentc0e13ccf8d56e40a9b50fb82b7b68be7145d45ad (diff)
some button color debugging
git-svn-id: svn://localhost/ardour2/branches/3.0@10633 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_button.cc')
-rw-r--r--gtk2_ardour/ardour_button.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.cc b/gtk2_ardour/ardour_button.cc
index 68cfc22d79..722f2f49ad 100644
--- a/gtk2_ardour/ardour_button.cc
+++ b/gtk2_ardour/ardour_button.cc
@@ -378,6 +378,9 @@ ArdourButton::set_colors ()
cairo_pattern_add_color_stop_rgba (fill_pattern, 0, r/255.0,g/255.0,b/255.0, a/255.0);
UINT_TO_RGBA (end_color, &r, &g, &b, &a);
cairo_pattern_add_color_stop_rgba (fill_pattern, 1, r/255.0,g/255.0,b/255.0, a/255.0);
+
+ cerr << "Button color for " << get_name() << ": " << hex << start_color << " .. " << end_color << dec << endl;
+
}
if (led_inset_pattern) {