ew global variable

This commit is contained in:
irisz64
2025-07-22 12:46:50 +02:00
parent 0d48f2c991
commit 3520a309ed
5 changed files with 10 additions and 2 deletions

View File

@@ -4,7 +4,9 @@
#include <Options.hpp>
#include <imgui.h>
std::string savePath;
SettingsWindow::SettingsWindow(gui::NativeWindow& window) : window(window) {
savesPath = Options::GetInstance().GetValue<std::string>("general", "savePath");
}
bool SettingsWindow::render() {
ImVec2 center = ImGui::GetMainViewport()->GetCenter();