RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
Loading...
Searching...
No Matches
rmgui_input_t Struct Reference

One event in logical framebuffer pixels. More...

#include <input.h>

Data Structures

union  [union].u

Data Fields

rmgui_input_kind_t kind
union  u

Detailed Description

One event in logical framebuffer pixels.

POINTER_PRESS/RELEASE are primary only; clicks is 1, 2, 3... on press (0 is treated as 1). AUX button indices are host-defined non-primary indices. Touch IDs remain stable until UP or CANCEL. Composition offsets are UTF-8 byte boundaries, cursor <= length and selection is [selection_start, selection_end); text is borrowed only for the call. TEXT commits; an empty composition cancels preedit.

rmgui_input_t.x, rmgui_input_t.y, rmgui_input_t.notches_x, rmgui_input_t.notches_y, rmgui_input_t.wheel

WHEEL: positive detents move toward content end per axis

rmgui_input_t.utf8, rmgui_input_t.length, rmgui_input_t.text

TEXT: borrowed for the call, length in bytes

Field Documentation

◆ kind

rmgui_input_kind_t rmgui_input_t::kind

◆ u

union rmgui_input_t::[union].u rmgui_input_t::u

The documentation for this struct was generated from the following file: