viewport->LastPlatformPos=viewport->LastPlatformSize=ImVec2(FLT_MAX,FLT_MAX);// By clearing those we'll enforce a call to Platform_SetWindowPos/Size below, before Platform_ShowWindow (FIXME: Is that necessary?)
viewport->LastPlatformPos=viewport->LastPlatformSize=ImVec2(FLT_MAX,FLT_MAX);// By clearing those we'll enforce a call to Platform_SetWindowPos/Size below, before Platform_ShowWindow (FIXME: Is that necessary?)
viewport->LastRendererSize=viewport->Size;// We don't need to call Renderer_SetWindowSize() as it is expected Renderer_CreateWindow() already did it.
viewport->LastRendererSize=viewport->Size;// We don't need to call Renderer_SetWindowSize() as it is expected Renderer_CreateWindow() already did it.
IMGUI_DEBUG_LOG_VIEWPORT("[viewport] Node %08X transfer Viewport %08X->%08X to Window '%s'\n",node->ID,node->HostWindow->Viewport->ID,single_window->ID,single_window->Name);
ImGuiViewportP*MouseLastHoveredViewport;// Last known viewport that was hovered by mouse (even if we are not hovering any viewport any more) + honoring the _NoInputs flag.
ImGuiViewportP*MouseLastHoveredViewport;// Last known viewport that was hovered by mouse (even if we are not hovering any viewport any more) + honoring the _NoInputs flag.
ImGuiIDPlatformLastFocusedViewportId;
ImGuiIDPlatformLastFocusedViewportId;
ImGuiPlatformMonitorFallbackMonitor;// Virtual monitor used as fallback if backend doesn't provide monitor information.
ImGuiPlatformMonitorFallbackMonitor;// Virtual monitor used as fallback if backend doesn't provide monitor information.
intViewportCreatedCount;// Unique sequential creation counter (mostly for testing/debugging)
intPlatformWindowsCreatedCount;// Unique sequential creation counter (mostly for testing/debugging)
intViewportFocusedStampCount;// Every time the front-most window changes, we stamp its viewport with an incrementing counter
intViewportFocusedStampCount;// Every time the front-most window changes, we stamp its viewport with an incrementing counter