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

An element input function's report: what happened, and how the host routes the next events. More...

#include <input.h>

Data Fields

rmgui_input_result_kind_t kind
int64_t value
unsigned char consumed
unsigned char captured
unsigned char repaint
rmgui_cursor_t cursor

Detailed Description

An element input function's report: what happened, and how the host routes the next events.

rmgui_input_result_t.consumed

1: the element used the event; the host must not route it further

rmgui_input_result_t.captured

1: the element holds the pointer; route pointer events to it until 0

rmgui_input_result_t.repaint

1: the element's painted state changed

rmgui_input_result_t.cursor

NONE unless the element requests an interactive cursor

Field Documentation

◆ kind

rmgui_input_result_kind_t rmgui_input_result_t::kind

◆ value

int64_t rmgui_input_result_t::value

◆ consumed

unsigned char rmgui_input_result_t::consumed

◆ captured

unsigned char rmgui_input_result_t::captured

◆ repaint

unsigned char rmgui_input_result_t::repaint

◆ cursor

rmgui_cursor_t rmgui_input_result_t::cursor

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