mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:47:34 +00:00
BrickGame: Show a box with "Paused" in it when the game is paused
Looks a bit like this: ┌────────────┐ │ │ │ Paused │ │ │ └────────────┘
This commit is contained in:
parent
1fd61d2af3
commit
a337557658
2 changed files with 28 additions and 6 deletions
|
@ -25,7 +25,8 @@ private:
|
|||
virtual void keydown_event(GUI::KeyEvent&) override;
|
||||
virtual void timer_event(Core::TimerEvent&) override;
|
||||
|
||||
void paint_text(GUI::Painter&, int row, DeprecatedString const&);
|
||||
void paint_sidebar_text(GUI::Painter&, int row, DeprecatedString const&);
|
||||
void paint_paused_text(GUI::Painter&);
|
||||
void paint_cell(GUI::Painter&, Gfx::IntRect, bool);
|
||||
void paint_game(GUI::Painter&, Gfx::IntRect const&);
|
||||
void game_over();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue