enum Tweaks {
ShowClick = 0x1,
NoModel = 0x2,
+ ImplicitUsesSolidColor = 0x4,
};
Tweaks tweaks() const { return _tweaks; }
void set_text (const std::string&);
void set_markup (const std::string&);
+ void set_angle (const double);
+ void set_alignment (const float, const float);
+ void get_alignment (float& xa, float& ya) {xa = _xalign; ya = _yalign;};
void set_led_left (bool yn);
void set_distinct_led_click (bool yn);
float _corner_radius;
int _corner_mask;
+ double _angle;
+ float _xalign, _yalign;
+
uint32_t bg_color;
uint32_t border_color;
uint32_t fill_color_active;
bool _fixed_diameter;
bool _distinct_led_click;
bool _hovering;
-
+
static bool _flat_buttons;
void setup_led_rect ();