mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-12 02:00:58 +01: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_ChildWindowRounding: return &g.Style.ChildWindowRounding;
|
||||||
case ImGuiStyleVar_FrameRounding: return &g.Style.FrameRounding;
|
case ImGuiStyleVar_FrameRounding: return &g.Style.FrameRounding;
|
||||||
case ImGuiStyleVar_TreeNodeSpacing: return &g.Style.TreeNodeSpacing;
|
case ImGuiStyleVar_TreeNodeSpacing: return &g.Style.TreeNodeSpacing;
|
||||||
|
case ImGuiStyleVar_GrabMinSize: return &g.Style.GrabMinSize;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
3
imgui.h
3
imgui.h
@ -502,7 +502,8 @@ enum ImGuiStyleVar_
|
|||||||
ImGuiStyleVar_FrameRounding, // float
|
ImGuiStyleVar_FrameRounding, // float
|
||||||
ImGuiStyleVar_ItemSpacing, // ImVec2
|
ImGuiStyleVar_ItemSpacing, // ImVec2
|
||||||
ImGuiStyleVar_ItemInnerSpacing, // ImVec2
|
ImGuiStyleVar_ItemInnerSpacing, // ImVec2
|
||||||
ImGuiStyleVar_TreeNodeSpacing // float
|
ImGuiStyleVar_TreeNodeSpacing, // float
|
||||||
|
ImGuiStyleVar_GrabMinSize // float
|
||||||
};
|
};
|
||||||
|
|
||||||
// Enumeration for ColorEditMode()
|
// Enumeration for ColorEditMode()
|
||||||
|
Loading…
Reference in New Issue
Block a user