Added GetFrameHeight() function (used to be SmallSquareSize internally)

This commit is contained in:
omar
2017-12-12 14:12:49 +01:00
parent ee7f1921e8
commit c22657985a
3 changed files with 16 additions and 11 deletions

View File

@ -829,8 +829,6 @@ namespace ImGui
IMGUI_API void PushItemFlag(ImGuiItemFlags option, bool enabled);
IMGUI_API void PopItemFlag();
inline float GetSmallSquareSize() { ImGuiContext& g = *GImGui; return g.FontSize + g.Style.FramePadding.y * 2.0f; }
IMGUI_API void OpenPopupEx(ImGuiID id, bool reopen_existing);
IMGUI_API void ClosePopup(ImGuiID id);
IMGUI_API bool IsPopupOpen(ImGuiID id);