mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
e354c08c98
Since GScrollBar wants its internal buttons to look like GButtons, let's share the painting code between them.
15 lines
192 B
C++
15 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();
|
|
};
|