1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 09:30:56 +01:00

Added ImGuiStyleVar_WindowRounding enum for PushStyleVar() API

This commit is contained in:
ocornut 2014-12-19 12:56:00 +00:00
parent b09c49180f
commit a3af51fd4e
2 changed files with 2 additions and 0 deletions

View File

@ -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;
}

View File

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