- adjustScrollingOffset
void adjustScrollingOffset(uinteger selected, uinteger size, uinteger lineWidth, uinteger offset)
Adjusts offset (aka _scrollX or _scrollY) in scrolling so the selected character is visible TODO: FIX THIS
- centerAlignText
dstring centerAlignText(dstring text, uinteger width, dchar fill)
- ratioToRaw
deprecated uinteger ratioToRaw(uinteger selectedRatio, uinteger ratioTotal, uinteger total)
To calculate size of widgets using their sizeRatio
- scrollHorizontal
dstring scrollHorizontal(dstring line, integer xOffset, uinteger width)
dchar[] scrollHorizontal(dchar[] line, integer xOffset, uinteger width)
char[] scrollHorizontal(char[] line, integer xOffset, uinteger width)
To scroll a line, by an xOffset
Contains functions that might be useful in making new widgets, like for formatting text.