mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 02:13:56 +09:00

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. :^)
33 lines
590 B
CMake
33 lines
590 B
CMake
set(SOURCES
|
|
AffineTransform.cpp
|
|
Bitmap.cpp
|
|
BMPLoader.cpp
|
|
CharacterBitmap.cpp
|
|
ClassicWindowTheme.cpp
|
|
Color.cpp
|
|
DisjointRectSet.cpp
|
|
Emoji.cpp
|
|
Font.cpp
|
|
GIFLoader.cpp
|
|
ICOLoader.cpp
|
|
ImageDecoder.cpp
|
|
JPGLoader.cpp
|
|
Painter.cpp
|
|
Palette.cpp
|
|
Path.cpp
|
|
PBMLoader.cpp
|
|
PGMLoader.cpp
|
|
PNGLoader.cpp
|
|
PPMLoader.cpp
|
|
Point.cpp
|
|
Rect.cpp
|
|
ShareableBitmap.cpp
|
|
Size.cpp
|
|
StylePainter.cpp
|
|
SystemTheme.cpp
|
|
Triangle.cpp
|
|
WindowTheme.cpp
|
|
)
|
|
|
|
serenity_lib(LibGfx gfx)
|
|
target_link_libraries(LibGfx LibM LibCore)
|