Docking: Improved resizing system so that non-central zone are better at keeping their fixed size.

This commit is contained in:
ocornut
2021-09-14 17:57:47 +02:00
parent 29828d0469
commit e7cc534367
3 changed files with 41 additions and 5 deletions

View File

@ -1377,6 +1377,7 @@ struct IMGUI_API ImGuiDockNode
bool IsFocused :1;
bool HasCloseButton :1; // Provide space for a close button (if any of the docked window has one). Note that button may be hidden on window without one.
bool HasWindowMenuButton :1;
bool HasCentralNodeChild :1;
bool WantCloseAll :1; // Set when closing all tabs at once.
bool WantLockSizeOnce :1;
bool WantMouseMove :1; // After a node extraction we need to transition toward moving the newly created host window