AA branch: added style.AntiAliasedLines, style.AntiAliasedShapes (#133)

This commit is contained in:
ocornut
2015-07-05 19:09:53 -06:00
parent 19e59421e5
commit 56553f33b8
2 changed files with 14 additions and 3 deletions

View File

@ -630,6 +630,8 @@ struct ImGuiStyle
float GrabRounding; // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs.
ImVec2 DisplayWindowPadding; // Window positions are clamped to be visible within the display area by at least this amount. Only covers regular windows.
ImVec2 DisplaySafeAreaPadding; // If you cannot see the edge of your screen (e.g. on a TV) increase the safe area padding. Covers popups/tooltips as well regular windows.
bool AntiAliasedLines; // Enable anti-aliasing on lines/borders. Disable if you are really tight on CPU/GPU.
bool AntiAliasedShapes; // Enable anti-aliasing on filled shapes (rounded rectangles, circles, etc.)
ImVec4 Colors[ImGuiCol_COUNT];
IMGUI_API ImGuiStyle();