GetRect module

checkbox_flags

procedure · 2 overloadsSource
checkbox_flags :: (
    r: Rect,
    text: string,
    current_value: *$Enum,
    button_value: Enum,
    theme: *Checkbox_Theme = null,
    identifier: s64 = 0,
    loc := #caller_location
) -> (changed: bool, checkbox_state: Checkbox_State)

Parameters

r: Rect
text: string
current_value: *$Enum
button_value: Enum
identifier: s64
loc := #caller_location

Returns

changed: bool
checkbox_state: Checkbox_State
checkbox_flags :: (
    r: Rect,
    current_value: *$Enum,
    button_value: Enum,
    theme: *Checkbox_Theme = null,
    identifier: s64 = 0,
    loc := #caller_location
) -> (changed: bool, checkbox_state: Checkbox_State)

Parameters

r: Rect
current_value: *$Enum
button_value: Enum
identifier: s64
loc := #caller_location

Returns

changed: bool
checkbox_state: Checkbox_State

See also