ImGuiSizeCallbackData
imguicpp.ImGuiSizeCallbackData (extern class)
Instance Members
userData: cpp.RawPointer<cpp.Void>Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>).
pos: ImVec2Read-only. Window position, for reference.
currentSize: ImVec2Read-only. Current window size.
desiredSize: ImVec2Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing.
Metadata
| Name | Parameters |
|---|---|
:structAccess |
- |
:include |
"linc_imgui.h" |