Added ImGuiStyleVar_WindowRounding enum for PushStyleVar() API
This commit is contained in:
parent
b09c49180f
commit
a3af51fd4e
@ -2720,6 +2720,7 @@ static float* GetStyleVarFloatAddr(ImGuiStyleVar idx)
|
|||||||
switch (idx)
|
switch (idx)
|
||||||
{
|
{
|
||||||
case ImGuiStyleVar_Alpha: return &g.Style.Alpha;
|
case ImGuiStyleVar_Alpha: return &g.Style.Alpha;
|
||||||
|
case ImGuiStyleVar_WindowRounding: return &g.Style.WindowRounding;
|
||||||
case ImGuiStyleVar_TreeNodeSpacing: return &g.Style.TreeNodeSpacing;
|
case ImGuiStyleVar_TreeNodeSpacing: return &g.Style.TreeNodeSpacing;
|
||||||
case ImGuiStyleVar_ColumnsMinSpacing: return &g.Style.ColumnsMinSpacing;
|
case ImGuiStyleVar_ColumnsMinSpacing: return &g.Style.ColumnsMinSpacing;
|
||||||
}
|
}
|
||||||
|
1
imgui.h
1
imgui.h
@ -412,6 +412,7 @@ enum ImGuiStyleVar_
|
|||||||
{
|
{
|
||||||
ImGuiStyleVar_Alpha, // float
|
ImGuiStyleVar_Alpha, // float
|
||||||
ImGuiStyleVar_WindowPadding, // ImVec2
|
ImGuiStyleVar_WindowPadding, // ImVec2
|
||||||
|
ImGuiStyleVar_WindowRounding, // float
|
||||||
ImGuiStyleVar_FramePadding, // ImVec2
|
ImGuiStyleVar_FramePadding, // ImVec2
|
||||||
ImGuiStyleVar_ItemSpacing, // ImVec2
|
ImGuiStyleVar_ItemSpacing, // ImVec2
|
||||||
ImGuiStyleVar_ItemInnerSpacing, // ImVec2
|
ImGuiStyleVar_ItemInnerSpacing, // ImVec2
|
||||||
|
Loading…
Reference in New Issue
Block a user