#include "raid_test/frames/config.hpp" #include #include "raid/config.hpp" #include "raid_test/application.hpp" namespace raid_test { void renderConfig(bool& open) { if (!ImGui::Begin(CONFIG_TITLE, &open)) { ImGui::End(); return; } static constexpr const char* TEST_BOOL_PATH = "test/section/bool"; bool testBool = gApplication.getConfig().getValue(TEST_BOOL_PATH).asBool(); if (ImGui::Checkbox("Test Bool", &testBool)) { gApplication.getConfig().setValue(TEST_BOOL_PATH, testBool); } ImGui::End(); } }