summaryrefslogtreecommitdiff
path: root/LibGUI/GStyle.h
blob: e18809bd858c2a68c62a31df21d5ca7a921974fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

class Painter;
class Rect;

enum class GButtonStyle { Normal, CoolBar, OldNormal };

class GStyle {
public:
    static GStyle& the();

    void paint_button(Painter&, const Rect&, GButtonStyle, bool pressed, bool hovered = false);
    void paint_surface(Painter&, const Rect&);

private:
    GStyle();
};