From 4091ff175c52049805862dc90e9d195c7ce81742 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 12 Oct 2013 14:56:57 -0400 Subject: 1 bug fix plus padding control for ArdourButton --- gtk2_ardour/ardour_button.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/ardour_button.h') diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index efa956162a..e236f4594e 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -71,6 +71,8 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable void set_rounded_corner_mask (int); void set_diameter (float); + void set_padding (int x, int y); + void set_text (const std::string&); void set_markup (const std::string&); void set_angle (const double); @@ -156,6 +158,9 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable bool _fixed_diameter; bool _distinct_led_click; bool _hovering; + + int _xpad_request; + int _ypad_request; static bool _flat_buttons; -- cgit v1.2.3