Debug Tools: Metrics: Improved Monitors and Viewports minimap display. Highlight on hover.

Added ImGuiViewport ID in Master branch.
This commit is contained in:
ocornut
2024-02-09 16:17:59 +01:00
parent 70aa717a8e
commit 7b5357d817
4 changed files with 27 additions and 11 deletions

View File

@ -3123,6 +3123,7 @@ enum ImGuiViewportFlags_
// - Windows are generally trying to stay within the Work Area of their host viewport.
struct ImGuiViewport
{
ImGuiID ID; // Unique identifier for the viewport
ImGuiViewportFlags Flags; // See ImGuiViewportFlags_
ImVec2 Pos; // Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native coordinates)
ImVec2 Size; // Main Area: Size of the viewport.