Added PushDisabled(), PopDisabled() currently only exposed in imgui_internal.h (#211)

This commit is contained in:
ocornut
2021-06-09 15:28:59 +02:00
parent a44d4da87c
commit 865b2ca6f9
3 changed files with 25 additions and 1 deletions

View File

@ -2604,6 +2604,8 @@ namespace ImGui
IMGUI_API void PushMultiItemsWidths(int components, float width_full);
IMGUI_API void PushItemFlag(ImGuiItemFlags option, bool enabled);
IMGUI_API void PopItemFlag();
IMGUI_API void PushDisabled();
IMGUI_API void PopDisabled();
IMGUI_API bool IsItemToggledSelection(); // Was the last item selection toggled? (after Selectable(), TreeNode() etc. We only returns toggle _event_ in order to handle clipping correctly)
IMGUI_API ImVec2 GetContentRegionMaxAbs();
IMGUI_API void ShrinkWidths(ImGuiShrinkWidthItem* items, int count, float width_excess);