mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +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();
|
|
};
|