Style: Default style is now StyleColorsDark()! Toward a 1.60 release :) (#707)

This commit is contained in:
omar
2018-04-06 23:25:25 +02:00
parent 0734a12d25
commit c2fc978983
3 changed files with 11 additions and 9 deletions

View File

@ -837,7 +837,8 @@ ImGuiStyle::ImGuiStyle()
AntiAliasedFill = true; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.)
CurveTessellationTol = 1.25f; // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
ImGui::StyleColorsClassic(this);
// Default theme
ImGui::StyleColorsDark(this);
}
// To scale your entire UI (e.g. if you want your app to use High DPI or generally be DPI aware) you may use this helper function. Scaling the fonts is done separately and is up to you.