Added an explicit (internal) ClearActiveID() helper and removed the default NULL window parameter to internal SetActiveID(),

This commit is contained in:
omar
2017-01-11 20:56:55 +01:00
parent cffdbfe01b
commit 6257b5814a
2 changed files with 22 additions and 16 deletions

View File

@ -710,6 +710,7 @@ namespace ImGui
IMGUI_API void EndFrame(); // Ends the ImGui frame. Automatically called by Render()! you most likely don't need to ever call that yourself directly. If you don't need to render you can call EndFrame() but you'll have wasted CPU already. If you don't need to render, don't create any windows instead!
IMGUI_API void SetActiveID(ImGuiID id, ImGuiWindow* window);
IMGUI_API void ClearActiveID();
IMGUI_API void SetHoveredID(ImGuiID id);
IMGUI_API void KeepAliveID(ImGuiID id);