1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:37:46 +00:00

BrickGame: Propagate errors

This commit is contained in:
Daniel 2023-06-20 12:05:55 -04:00 committed by Jelle Raaijmakers
parent 83ebd1882f
commit 0eb09a0b59
2 changed files with 8 additions and 6 deletions

View file

@ -38,7 +38,7 @@ private:
void paint_sidebar_text(GUI::Painter&, int row, StringView);
void paint_paused_text(GUI::Painter&);
void paint_cell(GUI::Painter&, Gfx::IntRect, BoardSpace);
void paint_game(GUI::Painter&, Gfx::IntRect const&);
ErrorOr<void> paint_game(GUI::Painter&, Gfx::IntRect const&);
void game_over();
enum class GameState {