Backends: Win32: Added support for updating ParentViewportID after viewport creation.

This tends to be desirable for applicaton manipulating this value via ImGuiWindowClass::ParentViewportID.
I thought it would be a simple call to SetParent(), it's only slightly more complicated but added comments about it.
This commit is contained in:
ocornut
2023-06-15 11:26:27 +02:00
parent ef07ddf087
commit b9db5c566b
2 changed files with 31 additions and 8 deletions

View File

@@ -114,6 +114,7 @@ Docking+Viewports Branch:
keeping ID alive when calling low-level ButtonBehavior() directly). (#5181, #2645)
- Docking: [Internal] DockBuilderDockWindow() API calls don't clear docking order
if the target node is same as existing one.
- Backends: Win32: Added support for changing ParentViewportID after viewport creation.
-----------------------------------------------------------------------