|
@@ -2980,7 +2980,8 @@ namespace ImGui
|
|
// If this ever crashes because g.CurrentWindow is NULL, it means that either:
|
|
// If this ever crashes because g.CurrentWindow is NULL, it means that either:
|
|
// - ImGui::NewFrame() has never been called, which is illegal.
|
|
// - ImGui::NewFrame() has never been called, which is illegal.
|
|
// - You are calling ImGui functions after ImGui::EndFrame()/ImGui::Render() and before the next ImGui::NewFrame(), which is also illegal.
|
|
// - You are calling ImGui functions after ImGui::EndFrame()/ImGui::Render() and before the next ImGui::NewFrame(), which is also illegal.
|
|
- IMGUI_API ImGuiIO& GetIOEx(ImGuiContext* ctx);
|
|
|
|
|
|
+ IMGUI_API ImGuiIO& GetIO(ImGuiContext* ctx);
|
|
|
|
+ IMGUI_API ImGuiPlatformIO& GetPlatformIO(ImGuiContext* ctx);
|
|
inline ImGuiWindow* GetCurrentWindowRead() { ImGuiContext& g = *GImGui; return g.CurrentWindow; }
|
|
inline ImGuiWindow* GetCurrentWindowRead() { ImGuiContext& g = *GImGui; return g.CurrentWindow; }
|
|
inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; }
|
|
inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; }
|
|
IMGUI_API ImGuiWindow* FindWindowByID(ImGuiID id);
|
|
IMGUI_API ImGuiWindow* FindWindowByID(ImGuiID id);
|