38 lines
1.0 KiB
C++
38 lines
1.0 KiB
C++
#include "SettingsTAB.h"
|
|
|
|
#include "helpers.h"
|
|
|
|
void RenderSettingsTab() {
|
|
ImGui::TextUnformatted("Customize overlay appearance and debugging tools.");
|
|
|
|
static int theme_idx = 0;
|
|
const char* themes[] = {
|
|
"Default",
|
|
"Evangelion Unit 01",
|
|
"Evangelion Unit 02",
|
|
"Matrix",
|
|
};
|
|
|
|
if (ImGui::Combo(Tr("Theme"), &theme_idx, themes, IM_ARRAYSIZE(themes))) {
|
|
switch (theme_idx) {
|
|
case 0: ApplyThemeDefault(); break;
|
|
case 1: ApplyThemeEvangelionUnit01(); break;
|
|
case 2: ApplyThemeEvangelionUnit02(); break;
|
|
case 3: ApplyThemeMatrix(); break;
|
|
default: ApplyThemeDefault(); break;
|
|
}
|
|
}
|
|
|
|
if (ImGui::Button("Reset Theme")) {
|
|
theme_idx = 0;
|
|
ApplyThemeDefault();
|
|
}
|
|
|
|
static bool console_enabled = true;
|
|
if (ImGui::Checkbox(Tr("Toggle Console"), &console_enabled)) {
|
|
ToggleConsole(console_enabled);
|
|
}
|
|
|
|
ImGui::TextUnformatted(console_enabled ? "Console: Enabled" : "Console: Disabled");
|
|
}
|