mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
13 lines
342 B
C++
13 lines
342 B
C++
#pragma once
|
|
|
|
class Painter;
|
|
class Rect;
|
|
|
|
enum class ButtonStyle { Normal, CoolBar, OldNormal };
|
|
|
|
class StylePainter {
|
|
public:
|
|
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);
|
|
};
|