diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-03 04:17:25 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-03 04:17:25 +0000 |
commit | bd3af3454b5f3e12562d9d28085c512415994215 (patch) | |
tree | 0444b371c91ccf33c66d35ee2f2f83d8ce58ab37 /gtk2_ardour/ardour_button.h | |
parent | 6db9cb8d758aa46d0c96f8cb433bf4a8ff28e97e (diff) |
allow specification (partially) of which corners of an ArdourButton are rounded
git-svn-id: svn://localhost/ardour2/branches/3.0@11435 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_button.h')
-rw-r--r-- | gtk2_ardour/ardour_button.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_button.h b/gtk2_ardour/ardour_button.h index 78ff66b7a6..94f75fb5da 100644 --- a/gtk2_ardour/ardour_button.h +++ b/gtk2_ardour/ardour_button.h @@ -62,6 +62,7 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable Element elements() const { return _elements; } void set_corner_radius (float); + void set_rounded_corner_mask (int); void set_diameter (float); void set_text (const std::string&); @@ -109,6 +110,7 @@ class ArdourButton : public CairoWidget , public Gtkmm2ext::Activatable int _text_height; float _diameter; float _corner_radius; + int _corner_mask; cairo_pattern_t* edge_pattern; cairo_pattern_t* fill_pattern; |