ladybird/Userland/Services/WindowServer/CMakeLists.txt
Andreas Kling 75f870a93f WindowServer: Add a more generic mechanism for animations
This patch adds the WindowServer::Animation class, which represents
a simple animation driven by the compositor.

An animation has a length (in milliseconds) and two hooks:

- on_update: called whenever the animation should render something.
- on_stop: called when the animation is finished and/or stopped.

This patch also ports the window minimization animation to this new
mechanism. :^)
2021-06-27 19:38:11 +02:00

44 lines
1019 B
CMake

serenity_component(
WindowServer
REQUIRED
TARGETS WindowServer
)
compile_ipc(WindowServer.ipc WindowServerEndpoint.h)
compile_ipc(WindowClient.ipc WindowClientEndpoint.h)
compile_ipc(WindowManagerServer.ipc WindowManagerServerEndpoint.h)
compile_ipc(WindowManagerClient.ipc WindowManagerClientEndpoint.h)
set(SOURCES
Animation.cpp
AppletManager.cpp
Button.cpp
ClientConnection.cpp
Compositor.cpp
Cursor.cpp
EventLoop.cpp
main.cpp
Menubar.cpp
Menu.cpp
MenuItem.cpp
MenuManager.cpp
MultiScaleBitmaps.cpp
Overlays.cpp
Screen.cpp
ScreenLayout.cpp
Window.cpp
WindowFrame.cpp
WindowManager.cpp
WindowStack.cpp
WindowSwitcher.cpp
WindowServerEndpoint.h
WindowClientEndpoint.h
WindowManagerServerEndpoint.h
WindowManagerClientEndpoint.h
WMClientConnection.cpp
)
serenity_bin(WindowServer)
target_link_libraries(WindowServer LibCore LibGfx LibThreading LibIPC)
serenity_install_headers(Services/WindowServer)