Class: ImGuiSizeCallbackData

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/imgui.rb

Overview

Resizing callback data to apply custom constraint. As enabled by SetNextWindowSizeConstraints(). Callback is called during the next Begin(). NB: For basic min/max size constraint on each axis you don’t need to use the callback! The SetNextWindowSizeConstraints() parameters are enough.