mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
12 lines
342 B
C++
12 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);
|
|
};
|