WIP: Settings up settings menu

> TODO: Fix broken behaiour in the refacto process
This commit is contained in:
2026-01-12 21:34:41 +01:00
parent 24d8a092e4
commit 14126d6b5b
7 changed files with 221 additions and 103 deletions

View File

@@ -2,7 +2,7 @@
* File name: control_menu.hpp
* Author: lejulien
* Date created: 10-01-2026 22:00:33
// Date modified: 10-01-2026 22:45:10
// Date modified: 12-01-2026 20:50:02
* ------
*/
@@ -23,20 +23,13 @@ private:
ctx context_;
public: // Keep those public for easy access
MenuState menu_state_ = MenuState::NONE;
int fps_ctrl_ = false;
int cell_size_ctrl_ = false;
bool play_ctrl_ = true;
bool step_ctrl_ = false;
bool step_back_ctrl_ = false;
bool rand_ctrl_ = false;
bool edit_ctrl_ = false;
bool clear_ctrl_ = false;
bool settings_window_ = false;
bool paterns_ctrl_ = false;
int width_ctrl_ = false;
int height_ctrl_ = false;
bool dark_theme_ctrl_ = false;
bool apply_ctrl_ = false;
};
} // namespace gol