mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
WindowServer+LibGfx: Move normal window frame painting to a WindowTheme
This patch introduces the ClassicWindowTheme, which is our default theme implemented as a Gfx::WindowTheme subclass. In this initial cut, we move normal window frame painting and title bar metrics helpers out of WindowServer and into LibGfx. This will eventually allow us much greater flexibility with theming windows, and also makes it easier to build applications that want to render a window with a specific style for some reason. :^)
This commit is contained in:
parent
a94be95e27
commit
e7460b6fb4
5 changed files with 210 additions and 73 deletions
|
@ -3,6 +3,7 @@ set(SOURCES
|
|||
Bitmap.cpp
|
||||
BMPLoader.cpp
|
||||
CharacterBitmap.cpp
|
||||
ClassicWindowTheme.cpp
|
||||
Color.cpp
|
||||
DisjointRectSet.cpp
|
||||
Emoji.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue