summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_button.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-02-03 04:17:25 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-02-03 04:17:25 +0000
commitbd3af3454b5f3e12562d9d28085c512415994215 (patch)
tree0444b371c91ccf33c66d35ee2f2f83d8ce58ab37 /gtk2_ardour/ardour_button.h
parent6db9cb8d758aa46d0c96f8cb433bf4a8ff28e97e (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.h2
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;