basic settings ui for cats

This commit is contained in:
2023-10-19 23:52:11 +02:00
parent bc090bdaa8
commit da19b0ac31
2 changed files with 192 additions and 5 deletions

View File

@@ -1,13 +1,14 @@
#pragma once
struct ConfigModelI;
struct SimpleConfigModel;
class SettingsWindow {
bool _show_window {false};
ConfigModelI& _conf;
// TODO: add iteration api to interface
SimpleConfigModel& _conf;
public:
SettingsWindow(ConfigModelI& conf);
SettingsWindow(SimpleConfigModel& conf);
void render(void);
};