1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:27:45 +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

@ -0,0 +1,13 @@
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
spacing: 0
}
@MasterWord::WordGame {
name: "word_game"
}
@GUI::Statusbar {
name: "statusbar"
}
}