diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-12 14:56:57 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-10-12 14:56:57 -0400 |
commit | 4091ff175c52049805862dc90e9d195c7ce81742 (patch) | |
tree | b4fc450b0d29239f126b2025664e74f5d7b4b16d /gtk2_ardour/ardour_button.h | |
parent | be8d06f848914a6383e3c3053a2608dfe8aa7142 (diff) |
1 bug fix plus padding control for ArdourButton
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |