Synced
ImGuiWidget.CompactCheckbox
Section titled “ImGuiWidget.CompactCheckbox”
- Draws a compact checkbox whose checked fill uses the current text color.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.ImGui.ImGuiWidget.CompactCheckbox(string id, ref bool value, float size = -1, string? tooltip = null)Parameters
Section titled “Parameters”Parameter id: Stable control identifier.
Parameter value: Mutable checked state.
Parameter size: Visual square size in pixels.
Parameter tooltip: Optional explanation displayed while the checkbox is hovered.
Returns
Section titled “Returns”true when the value changed.