screen concept

This commit is contained in:
2023-07-26 12:24:18 +02:00
parent e92c7cbfa0
commit 3a1c15f313
7 changed files with 94 additions and 1 deletions

17
src/main_screen.cpp Normal file
View File

@ -0,0 +1,17 @@
#include "./main_screen.hpp"
#include <imgui/imgui.h>
#include <memory>
MainScreen::MainScreen(std::string save_path) {
}
Screen* MainScreen::poll(bool& quit) {
bool open = !quit;
ImGui::ShowDemoWindow(&open);
quit = !open;
return nullptr;
}