UI
ui
provides an immediate-mode UI system for Shadeup.
Puck
Slider
Button
Checkbox
Combo
Text
Group
Label
module ui
puck(
position: float2
) -> float2
draggable(
position: float2,radius: float
) -> float2
textbox(
value: string
) -> string
slider(
value: float,min: float,max: float
) -> float
label(
text: string
) -> void
checkbox(
value: bool
) -> bool
combo(
value: string,options: string[]
) -> string
group(
text: string
) -> void
pop(
) -> void