Style: Added GrabRounding (works well with AA branch). Followup to #212

This commit is contained in:
ocornut
2015-06-30 15:02:59 -06:00
parent d3c0bfefb3
commit 067b7d909a
2 changed files with 4 additions and 1 deletions

View File

@ -612,6 +612,7 @@ struct ImGuiStyle
float ScrollbarWidth; // Width of the vertical scrollbar
float ScrollbarRounding; // Radius of grab corners for scrollbar
float GrabMinSize; // Minimum width/height of a grab box for slider/scrollbar
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.
ImVec4 Colors[ImGuiCol_COUNT];