mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-10-31 21:21:06 +01:00 
			
		
		
		
	Documentations for Github users. Metrics: Fixed display of NavRectRel, added display of ParentWindow.
This commit is contained in:
		| @@ -13313,11 +13313,12 @@ void ImGui::ShowMetricsWindow(bool* p_open) | ||||
|                 ImGui::BulletText("Active: %d, WriteAccessed: %d", window->Active, window->WriteAccessed); | ||||
|                 ImGui::BulletText("NavLastIds: 0x%08X,0x%08X, NavLayerActiveMask: %X", window->NavLastIds[0], window->NavLastIds[1], window->DC.NavLayerActiveMask); | ||||
|                 ImGui::BulletText("NavLastChildNavWindow: %s", window->NavLastChildNavWindow ? window->NavLastChildNavWindow->Name : "NULL"); | ||||
|                 if (window->NavRectRel[0].IsInverted()) | ||||
|                 if (!window->NavRectRel[0].IsInverted()) | ||||
|                     ImGui::BulletText("NavRectRel[0]: (%.1f,%.1f)(%.1f,%.1f)", window->NavRectRel[0].Min.x, window->NavRectRel[0].Min.y, window->NavRectRel[0].Max.x, window->NavRectRel[0].Max.y); | ||||
|                 else | ||||
|                     ImGui::BulletText("NavRectRel[0]: <None>"); | ||||
|                 if (window->RootWindow != window) NodeWindow(window->RootWindow, "RootWindow"); | ||||
|                 if (window->ParentWindow != NULL) NodeWindow(window->ParentWindow, "ParentWindow"); | ||||
|                 if (window->DC.ChildWindows.Size > 0) NodeWindows(window->DC.ChildWindows, "ChildWindows"); | ||||
|                 if (window->ColumnsStorage.Size > 0 && ImGui::TreeNode("Columns", "Columns sets (%d)", window->ColumnsStorage.Size)) | ||||
|                 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user