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

WindowServer: Implement simple window shadows

This implements simple window shadows around most windows, including
tooltips. Because this method uses a bitmap for the shadow bits,
it is limited to rectangular window frames. For non-rectangular
window frames we'll need to implement a more sophisticated algorithm.
This commit is contained in:
Tom 2021-02-08 17:27:51 -07:00 committed by Andreas Kling
parent 72fdab7bfb
commit 0ce4b9d7db
14 changed files with 234 additions and 70 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6 KiB

View file

@ -71,3 +71,7 @@ TooltipText=black
TitleHeight=19
TitleButtonWidth=15
TitleButtonHeight=15
[Paths]
WindowShadow=/res/icons/themes/Default/window-shadow.png