DVUI

cursorSet

Set cursor the app should use if not already set this frame.

Only valid between Window.beginand Window.end.

Parameters

#
cursor:enums.Cursor
enums.Cursor

Source

Implementation

#
pub fn cursorSet(cursor: enums.Cursor) void {
    const cw = currentWindow();
    if (cw.cursor_requested == null) {
        cw.cursor_requested = cursor;
    }
}