Modules

GetRect_LeftHanded

moduleSource
macOSLinuxWindows

#import "GetRect_LeftHanded";

Procedures#

UI geometry#

(loc: Source_Code_Location, identifier: s64) -> u64

UI widgets#

(r: Rect, text: string, theme: *Button_Theme = null, identifier: s64 = 0, loc := #caller_location, texture: *Texture = null, disable_over := false, disable_press := false) -> (was_just_pressed: bool, state: *Button_State, was_just_released: bool)
radio_button2 overloads
(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)
(new_value: $ValueType, pointer: *$T, min_value: T, max_value: T, clamp_low: bool, clamp_high: bool)
(_r: Rect, value: *$T, min_value: T, max_value: T, spinbox_step: T, theme: *Slider_Theme, prefix := "", suffix := "", identifier: s64 = 0, loc := #caller_location) -> (changed: bool, entered: bool)
(_r: Rect, text: string, value: *$T, min_value: T, max_value: T, theme: *Number_Input_Theme, identifier: s64 = 0, loc := #caller_location, parse_proc: (string) -> (T, bool) = null) -> bool

UI text#

(x: float, font: *Font) -> float
(font: *Font, text: string) -> (width: float, height: float)

UI editor#

Types#

Rectstruct
:: struct
Marginenum flags
:: enum_flags

Constants#