mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:37:45 +00:00
Demos+LibDesktop: Centralize screensaver logic
We have 3 demos with pretty similar window logic and quitting behavior on user activity, so centralize that into `Desktop::Screensaver`.
This commit is contained in:
parent
379e4a2432
commit
18b6bdb563
11 changed files with 108 additions and 99 deletions
|
@ -1,6 +1,7 @@
|
|||
set(SOURCES
|
||||
AppFile.cpp
|
||||
Launcher.cpp
|
||||
Screensaver.cpp
|
||||
)
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
|
@ -9,4 +10,4 @@ set(GENERATED_SOURCES
|
|||
)
|
||||
|
||||
serenity_lib(LibDesktop desktop)
|
||||
target_link_libraries(LibDesktop PRIVATE LibCore LibIPC LibGUI)
|
||||
target_link_libraries(LibDesktop PRIVATE LibCore LibIPC LibGfx LibGUI)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue