GUI: add colors base setting
pave the way for.light themes
This commit is contained in:
parent
64146bed5e
commit
e0cda2a77f
3 changed files with 16 additions and 1 deletions
|
|
@ -5440,7 +5440,11 @@ void FurnaceGUI::parseKeybinds() {
|
|||
|
||||
void FurnaceGUI::applyUISettings() {
|
||||
ImGuiStyle sty;
|
||||
ImGui::StyleColorsDark(&sty);
|
||||
if (settings.guiColorsBase) {
|
||||
ImGui::StyleColorsLight(&sty);
|
||||
} else {
|
||||
ImGui::StyleColorsDark(&sty);
|
||||
}
|
||||
|
||||
if (settings.dpiScale>=0.5f) dpiScale=settings.dpiScale;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue