1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:07:35 +00:00

LibDraw+LibGUI: Move radio button painting into StylePainter

This will allow WindowServer to draw radio buttons :^)
This commit is contained in:
Andreas Kling 2020-01-08 20:29:12 +01:00
parent 6c549959c6
commit cc8c26c39b
3 changed files with 30 additions and 21 deletions

View file

@ -32,4 +32,5 @@ public:
static void paint_frame(Painter&, const Rect&, const Palette&, FrameShape, FrameShadow, int thickness, bool skip_vertical_lines = false);
static void paint_window_frame(Painter&, const Rect&, const Palette&);
static void paint_progress_bar(Painter&, const Rect&, const Palette&, int min, int max, int value, const StringView& text = {});
static void paint_radio_button(Painter&, const Rect&, const Palette&, bool is_checked, bool is_being_pressed);
};