mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-06 04:20:08 +00:00
Docking: Renamed SetNextWindowId() -> SetNextWindowID() for consistency. (function vs member are still horribly inconsistent atm)
This commit is contained in:
parent
4ea9fdbbea
commit
0d6e3ab2b0
3 changed files with 5 additions and 5 deletions
|
|
@ -6263,7 +6263,7 @@ bool ImGui::IsWindowFocused(ImGuiFocusedFlags flags)
|
|||
}
|
||||
}
|
||||
|
||||
ImGuiID ImGui::GetWindowDockId()
|
||||
ImGuiID ImGui::GetWindowDockID()
|
||||
{
|
||||
ImGuiContext& g = *GImGui;
|
||||
return g.CurrentWindow->DockId;
|
||||
|
|
@ -6524,7 +6524,7 @@ void ImGui::SetNextWindowViewport(ImGuiID id)
|
|||
g.NextWindowData.ViewportId = id;
|
||||
}
|
||||
|
||||
void ImGui::SetNextWindowDockId(ImGuiID id, ImGuiCond cond)
|
||||
void ImGui::SetNextWindowDockID(ImGuiID id, ImGuiCond cond)
|
||||
{
|
||||
ImGuiContext& g = *GImGui;
|
||||
g.NextWindowData.DockCond = cond ? cond : ImGuiCond_Always;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue