www
www
This commit is contained in:
1 parent
3933cd1901
commit
0aa65c433d
98 files changed
+56670
No files matched your search
@@ -0,0 +1,37 @@
|
||||
#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");
|
||||
}
|
||||
Reference in new issue
Block a user