Compare commits

...

1 Commits

Author SHA1 Message Date
93140231c6 theme according to system 2024-01-21 14:28:56 +01:00

View File

@ -55,8 +55,12 @@ int main(int argc, char** argv) {
IMGUI_CHECKVERSION();
ImGui::CreateContext();
//ImGui::StyleColorsDark();
setThemeGreen();
if (SDL_GetSystemTheme() == SDL_SYSTEM_THEME_LIGHT) {
ImGui::StyleColorsLight();
} else {
//ImGui::StyleColorsDark();
setThemeGreen();
}
{
ImGui::GetIO().Fonts->ClearFonts();