Nebula
Loading...
Searching...
No Matches
Dynui::ImGuiWindowHandle Struct Reference

#include <imguicontext.h>

Detailed Description

The platform side of a secondary ImGui viewport.

Public Attributes

CoreGraphics::WindowId wnd
int ownPosFrame = -1000
 The frame the window was last moved or resized by ImGui itself.
int ownSizeFrame = -1000

Member Data Documentation

◆ ownPosFrame

int Dynui::ImGuiWindowHandle::ownPosFrame = -1000

The frame the window was last moved or resized by ImGui itself.

The window system reports those changes back as move and resize events, but late, after ImGui has already moved the window further. Taken as moves the user made, they put the window back where it was a few frames ago, which is what makes a dragged window jump. They are ignored for a few frames

◆ ownSizeFrame

int Dynui::ImGuiWindowHandle::ownSizeFrame = -1000

◆ wnd

CoreGraphics::WindowId Dynui::ImGuiWindowHandle::wnd

The documentation for this struct was generated from the following file: