ImGuiSizeCallbackData

imguicpp.ImGuiSizeCallbackData (extern class)

Instance Members

Read-only. What user passed to SetNextWindowSizeConstraints(). Generally store an integer or float in here (need reinterpret_cast<>).


pos: ImVec2

Read-only. Window position, for reference.


currentSize: ImVec2

Read-only. Current window size.


desiredSize: ImVec2

Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing.

Metadata

Name Parameters
:structAccess -
:include "linc_imgui.h"