Default Formatters
Value Formatter
Simply converts the value
to a String
, e.g. 5 -> "5"
.
export fun default_value_formatter(_ value: Int, min: Int, max: Int) -> (String)
XY Value Formatter
Simply converts the ui_xy
cursor values to x.xx // y.yy
, e.g. 0.12 // 0.23
.
export fun default_xy_value_formatter(_ cursor: Point) -> (String)
See XYPad