1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

LibGUI: Improve GStatusBar and GToolBar and share some code via GStyle.

This commit is contained in:
Andreas Kling 2019-03-04 10:47:54 +01:00
parent ac2a3f7fdf
commit 4ea7a51ecd
4 changed files with 18 additions and 11 deletions

View file

@ -9,7 +9,8 @@ class GStyle {
public:
static GStyle& the();
void paint_button(Painter& painter, const Rect& rect, GButtonStyle, bool pressed, bool hovered = false);
void paint_button(Painter&, const Rect&, GButtonStyle, bool pressed, bool hovered = false);
void paint_surface(Painter&, const Rect&);
private:
GStyle();