mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
Expose corner_mask variable for ArdourButtons
This commit is contained in:
parent
c02a7668d7
commit
9463eabfe4
2 changed files with 73 additions and 27 deletions
|
|
@ -94,7 +94,20 @@ class LIBWIDGETS_API ArdourButton : public CairoWidget , public Gtkmm2ext::Activ
|
|||
void set_icon (ArdourIcon::Icon);
|
||||
void set_icon (rendercallback_t, void*);
|
||||
|
||||
enum CornerMask {
|
||||
NONE = 0x0,
|
||||
TOP_LEFT = 0x1,
|
||||
TOP_RIGHT = 0x2,
|
||||
BOTTOM_LEFT = 0x4,
|
||||
BOTTOM_RIGHT = 0x8,
|
||||
TOP = 0x3,
|
||||
BOTTOM = 0xC,
|
||||
LEFT = 0x5,
|
||||
RIGHT = 0xA
|
||||
};
|
||||
|
||||
void set_corner_radius (float);
|
||||
void set_corner_mask (int);
|
||||
|
||||
void set_text (const std::string&, bool markup = false);
|
||||
const std::string& get_text () const { return _text; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue