1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 17:47:45 +00:00

GameOfLife: Add a tick counter to the status bar

The counter is incremented after each new generation and reset
whenever any cell on the board is toggled. Resizing the board
does not reset the tick count.
This commit is contained in:
Tim Ledbetter 2023-09-16 14:19:32 +01:00 committed by Andrew Kaster
parent 7e9ea964a8
commit 19dfdeeaec
4 changed files with 45 additions and 18 deletions

View file

@ -61,5 +61,6 @@
@GUI::Statusbar {
name: "statusbar"
segment_count: 2
}
}