mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibGfx+WindowServer: Move shadow-painting code to StylePainter
Specifically, this is to make it accessible to ThemeEditor, but there's nothing about it that is especially window-specific.
This commit is contained in:
parent
cf188df86c
commit
885ca2f968
Notes:
sideshowbarker
2024-07-18 01:50:08 +09:00
Author: https://github.com/AtkinsSJ
Commit: 885ca2f968
Pull-request: https://github.com/SerenityOS/serenity/pull/10660
7 changed files with 104 additions and 97 deletions
|
@ -58,4 +58,9 @@ void StylePainter::paint_transparency_grid(Painter& painter, const IntRect& rect
|
|||
current().paint_transparency_grid(painter, rect, palette);
|
||||
}
|
||||
|
||||
void StylePainter::paint_simple_rect_shadow(Painter& painter, IntRect const& rect, Bitmap const& shadow_bitmap, bool shadow_includes_frame, bool fill_content)
|
||||
{
|
||||
current().paint_simple_rect_shadow(painter, rect, shadow_bitmap, shadow_includes_frame, fill_content);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue