ladybird/LibGUI/GStyle.h
Andreas Kling e354c08c98 LibGUI: Share code for widget rendering styles in a GStyle class.
Since GScrollBar wants its internal buttons to look like GButtons,
let's share the painting code between them.
2019-02-10 07:11:01 +01:00

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();
};