mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
17 lines
335 B
C++
17 lines
335 B
C++
#pragma once
|
|
|
|
class Painter;
|
|
class Rect;
|
|
|
|
enum class ButtonStyle { Normal, CoolBar, OldNormal };
|
|
|
|
class StylePainter {
|
|
public:
|
|
static StylePainter& the();
|
|
|
|
void paint_button(Painter&, const Rect&, ButtonStyle, bool pressed, bool hovered = false);
|
|
void paint_surface(Painter&, const Rect&);
|
|
|
|
private:
|
|
StylePainter();
|
|
};
|