1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:57:44 +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:
Sam Atkins 2021-10-27 11:59:58 +01:00 committed by Andreas Kling
parent cf188df86c
commit 885ca2f968
7 changed files with 104 additions and 97 deletions

View file

@ -119,8 +119,6 @@ public:
void open_menubar_menu(Menu&);
static void paint_simple_rect_shadow(Gfx::Painter&, const Gfx::IntRect&, const Gfx::Bitmap&, bool shadow_includes_frame = false, bool fill_content = false);
private:
void paint_notification_frame(Gfx::Painter&);
void paint_normal_frame(Gfx::Painter&);