mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibGfx+LibGUI: Add support for vertical ProgressBars
This commit is contained in:
parent
bd34cdbbb3
commit
5806630cf4
Notes:
sideshowbarker
2024-07-18 21:30:06 +09:00
Author: https://github.com/thankyouverycool
Commit: 5806630cf4
Pull-request: https://github.com/SerenityOS/serenity/pull/5741
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/emanuele6
7 changed files with 60 additions and 13 deletions
|
@ -63,9 +63,9 @@ void StylePainter::paint_window_frame(Painter& painter, const IntRect& rect, con
|
|||
current().paint_window_frame(painter, rect, palette);
|
||||
}
|
||||
|
||||
void StylePainter::paint_progress_bar(Painter& painter, const IntRect& rect, const Palette& palette, int min, int max, int value, const StringView& text)
|
||||
void StylePainter::paint_progress_bar(Painter& painter, const IntRect& rect, const Palette& palette, int min, int max, int value, const StringView& text, Orientation orientation)
|
||||
{
|
||||
current().paint_progress_bar(painter, rect, palette, min, max, value, text);
|
||||
current().paint_progress_bar(painter, rect, palette, min, max, value, text, orientation);
|
||||
}
|
||||
|
||||
void StylePainter::paint_radio_button(Painter& painter, const IntRect& rect, const Palette& palette, bool is_checked, bool is_being_pressed)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue