1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 16:35:08 +00:00
serenity/LibGUI/GStyle.h
2019-03-27 20:48:23 +01:00

17 lines
319 B
C++

#pragma once
class Painter;
class Rect;
enum class GButtonStyle { Normal, CoolBar, OldNormal };
class GStyle {
public:
static GStyle& the();
void paint_button(Painter&, const Rect&, GButtonStyle, bool pressed, bool hovered = false);
void paint_surface(Painter&, const Rect&);
private:
GStyle();
};