mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-27 16:29:02 +08:00
Added ImGuiStyleVar_GrabMinSize enum value for PushStyleVar()
This commit is contained in:
parent
1ef789bb68
commit
98eeeab025
@ -3382,6 +3382,7 @@ static float* GetStyleVarFloatAddr(ImGuiStyleVar idx)
|
||||
case ImGuiStyleVar_ChildWindowRounding: return &g.Style.ChildWindowRounding;
|
||||
case ImGuiStyleVar_FrameRounding: return &g.Style.FrameRounding;
|
||||
case ImGuiStyleVar_TreeNodeSpacing: return &g.Style.TreeNodeSpacing;
|
||||
case ImGuiStyleVar_GrabMinSize: return &g.Style.GrabMinSize;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
3
imgui.h
3
imgui.h
@ -502,7 +502,8 @@ enum ImGuiStyleVar_
|
||||
ImGuiStyleVar_FrameRounding, // float
|
||||
ImGuiStyleVar_ItemSpacing, // ImVec2
|
||||
ImGuiStyleVar_ItemInnerSpacing, // ImVec2
|
||||
ImGuiStyleVar_TreeNodeSpacing // float
|
||||
ImGuiStyleVar_TreeNodeSpacing, // float
|
||||
ImGuiStyleVar_GrabMinSize // float
|
||||
};
|
||||
|
||||
// Enumeration for ColorEditMode()
|
||||
|
Loading…
Reference in New Issue
Block a user