some button color debugging
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 Nov 2011 22:42:17 +0000 (22:42 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 15 Nov 2011 22:42:17 +0000 (22:42 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10633 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ardour_button.cc

index 68cfc22d79841f47a550fd63322ea7f7f5605e53..722f2f49adfb80719b4232847f64abc56c9726c6 100644 (file)
@@ -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) {