parin.ui2
The ui2 module functions as a immediate mode UI library. It will replace the old UI module.
Functions 6
fn
IVec2 parinTempUiTextSizeFunc(UiFont font, uint fontScale, const(char)[] text) @trusted @safe nothrow @nogcfn
void readyUi(ref UiContext ui, UiCommand[] commandsBuffer, char[] charDataBuffer, UiFont font = null, uint fontScale = 1, UiIconIdSizeFunc iconSizeFunc = null) @trusted @safe nothrow @nogcInitializes the microui context and sets temporary text size functions. Value `font` should be a `FontId*`.fn
void handleUiInput(ref UiContext ui) @safe nothrow @nogcHandles input events and updates the microui context accordingly.fn
void drawUiState(ref UiContext ui) @trusted @safe nothrow @nogcDraws the microui context to the screen.