mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-12 00:14:20 +00:00
Style: Default style is now StyleColorsDark()! Toward a 1.60 release :) (#707)
This commit is contained in:
parent
0734a12d25
commit
c2fc978983
3 changed files with 11 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue