mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-16 00:54:19 +00:00
Backends: amends to 1db1066 + merge minor bits from docking incl SetActiveIdUsingNavAndKeys().
No need to clear fields before deletion. DX12: renamed to match docking branch.
This commit is contained in:
parent
682447306d
commit
0f7eb00f67
5 changed files with 6 additions and 9 deletions
|
|
@ -7170,6 +7170,7 @@ void ImGui::PopTextWrapPos()
|
|||
window->DC.TextWrapPosStack.pop_back();
|
||||
}
|
||||
|
||||
// FIXME: We are exposing the docking hierarchy to end-user here (via IsWindowHovered, IsWindowFocused) which is unusual.
|
||||
bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
|
||||
{
|
||||
if (window->RootWindowDockTree == potential_parent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue