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

Retained, zero-initialized button state. More...

#include <button.h>

Data Fields

uint8_t states
uint8_t capture

Detailed Description

Retained, zero-initialized button state.

rmgui_button_input() owns the HOVER, PRESSED and FOCUSED bits; the host owns DISABLED and SELECTED and resolves the paint style from states.

Input owns capture: it is 1 while a press that began inside is held.

Field Documentation

◆ states

uint8_t rmgui_button_t::states

◆ capture

uint8_t rmgui_button_t::capture

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