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

MasterWord: Display messages in a statusbar

In the "inspiration" for this game, messages are displayed on top of the
game area in case an invalid guess is inputted. After a few seconds,
they disappear. In a similar fashion, a statusbar is created on the game
window and similar messages are outputted there.
This commit is contained in:
Arda Cinar 2022-12-08 14:31:34 +03:00 committed by Andreas Kling
parent d3588a9a2b
commit cc5ea3aa4c
5 changed files with 94 additions and 19 deletions

View file

@ -4,10 +4,16 @@ serenity_component(
TARGETS MasterWord
)
compile_gml(MasterWord.gml MasterWordGML.h master_word_gml)
set(SOURCES
main.cpp
WordGame.cpp
)
set(GENERATED_SOURCES
MasterWordGML.h
)
serenity_app(MasterWord ICON app-masterword)
target_link_libraries(MasterWord PRIVATE LibCore LibGfx LibGUI LibConfig LibMain LibDesktop)