Docking: Internals renaming LastExplicitSize to SizeRef (invalidate .ini data) + todo

This commit is contained in:
omar
2018-09-19 11:25:44 +02:00
parent 455dc6e229
commit 95d49c3b98
2 changed files with 34 additions and 30 deletions

View File

@ -748,8 +748,9 @@ struct ImGuiDockNode
ImGuiDockNode* ChildNodes[2]; // [Split node only] Child nodes (left/right or top/bottom). Consider switching to an array.
ImVector<ImGuiWindow*> Windows; // Note: unordered list! Iterate TabBar->Tabs for user-order.
ImGuiTabBar* TabBar;
ImVec2 Pos, Size; // Current position, size.
ImVec2 LastExplicitSize; // [Split node only] Last explicit size (overridden when using a splitter affecting the node)
ImVec2 Pos; // Current position
ImVec2 Size; // Current size
ImVec2 SizeRef; // [Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.
int SplitAxis; // [Split node only] Split axis (X or Y)
ImGuiWindow* HostWindow;