Internals: Added GetSmallSquareSize()

This commit is contained in:
omar
2017-12-12 00:57:45 +01:00
parent 08b72eb5c0
commit ee7f1921e8
2 changed files with 8 additions and 12 deletions

View File

@ -829,6 +829,8 @@ 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);