GetRect_LeftHanded module

radio_button

procedure · 2 overloadsSource
radio_button :: (
    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
radio_button :: (
    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