mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
LibGUI: Make it possible for GButton to be checkable.
This commit is contained in:
parent
5ec121e194
commit
19eb814850
4 changed files with 28 additions and 11 deletions
|
@ -7,6 +7,6 @@ enum class ButtonStyle { Normal, CoolBar, OldNormal };
|
|||
|
||||
class StylePainter {
|
||||
public:
|
||||
static void paint_button(Painter&, const Rect&, ButtonStyle, bool pressed, bool hovered = false);
|
||||
static void paint_button(Painter&, const Rect&, ButtonStyle, bool pressed, bool hovered = false, bool checked = false);
|
||||
static void paint_surface(Painter&, const Rect&, bool paint_vertical_lines = true);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue