Added ImGuiStyleVar_WindowRounding enum for PushStyleVar() API

docking
ocornut 10 years ago
parent b09c49180f
commit a3af51fd4e

@ -2720,6 +2720,7 @@ static float* GetStyleVarFloatAddr(ImGuiStyleVar idx)
switch (idx)
{
case ImGuiStyleVar_Alpha: return &g.Style.Alpha;
case ImGuiStyleVar_WindowRounding: return &g.Style.WindowRounding;
case ImGuiStyleVar_TreeNodeSpacing: return &g.Style.TreeNodeSpacing;
case ImGuiStyleVar_ColumnsMinSpacing: return &g.Style.ColumnsMinSpacing;
}

@ -412,6 +412,7 @@ enum ImGuiStyleVar_
{
ImGuiStyleVar_Alpha, // float
ImGuiStyleVar_WindowPadding, // ImVec2
ImGuiStyleVar_WindowRounding, // float
ImGuiStyleVar_FramePadding, // ImVec2
ImGuiStyleVar_ItemSpacing, // ImVec2
ImGuiStyleVar_ItemInnerSpacing, // ImVec2

Loading…
Cancel
Save