mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 06:54:59 +00:00

Since GScrollBar wants its internal buttons to look like GButtons, let's share the painting code between them.
14 lines
192 B
C++
14 lines
192 B
C++
#pragma once
|
|
|
|
class Painter;
|
|
class Rect;
|
|
|
|
class GStyle {
|
|
public:
|
|
static GStyle& the();
|
|
|
|
void paint_button(Painter& painter, const Rect& rect, bool pressed);
|
|
|
|
private:
|
|
GStyle();
|
|
};
|