FramePadding=ImVec2(5,4);// Padding within a framed rectangle (used by most widgets)
ItemSpacing=ImVec2(10,5);// Horizontal and vertical spacing between widgets
ItemSpacing=ImVec2(10,5);// Horizontal and vertical spacing between widgets/lines
ItemInnerSpacing=ImVec2(5,5);// Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label)
TouchExtraPadding=ImVec2(0,0);// Expand bounding box for touch-based system where touch position is not accurate enough (unnecessary for mouse inputs). Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget running. So dont grow this too much!
AutoFitPadding=ImVec2(8,8);// Extra space after auto-fit (double-clicking on resize grip)
WindowFillAlphaDefault=0.70f;
WindowRounding=10.0f;
TreeNodeSpacing=22.0f;
ColumnsMinSpacing=6.0f;// Minimum space between two columns
ScrollBarWidth=16.0f;
WindowFillAlphaDefault=0.70f;// Default alpha of window background, if not specified in ImGui::Begin()
WindowRounding=10.0f;// Radius of window corners rounding. Set to 0.0f to have rectangular windows
TreeNodeSpacing=22.0f;// Horizontal spacing when entering a tree node
ColumnsMinSpacing=6.0f;// Minimum horizontal spacing between two columns
ScrollBarWidth=16.0f;// Width of the vertical scroll bar
ImGui::SliderFloat("Alpha",&style.Alpha,0.20f,1.0f,"%.2f");// Not exposing zero here so user doesn't "lose" the UI. But application code could have a toggle to switch between zero and non-zero.
// See constructor for comments of individual fields.
structImGuiStyle
{
ImVec2WindowPadding;
ImVec2WindowMinSize;
ImVec2FramePadding;
ImVec2ItemSpacing;
ImVec2ItemInnerSpacing;
ImVec2TouchExtraPadding;
ImVec2AutoFitPadding;
floatWindowFillAlphaDefault;
floatWindowRounding;
floatTreeNodeSpacing;
floatColumnsMinSpacing;
floatScrollBarWidth;
floatAlpha;// Global alpha applies to everything in ImGui
ImVec2WindowPadding;// Padding within a window
ImVec2WindowMinSize;// Minimum window size
ImVec2FramePadding;// Padding within a framed rectangle (used by most widgets)
ImVec2ItemSpacing;// Horizontal and vertical spacing between widgets/lines
ImVec2ItemInnerSpacing;// Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label)
ImVec2TouchExtraPadding;// Expand bounding box for touch-based system where touch position is not accurate enough (unnecessary for mouse inputs). Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget running. So dont grow this too much!
ImVec2AutoFitPadding;// Extra space after auto-fit (double-clicking on resize grip)
floatWindowFillAlphaDefault;// Default alpha of window background, if not specified in ImGui::Begin()
floatWindowRounding;// Radius of window corners rounding. Set to 0.0f to have rectangular windows
floatTreeNodeSpacing;// Horizontal spacing when entering a tree node
floatColumnsMinSpacing;// Minimum horizontal spacing between two columns
floatScrollBarWidth;// Width of the vertical scroll bar