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

A field's action table: action[0, count), count <= RMGUI_FIELD_ACTION_MAX, host-owned and read whenever the field is laid out or measured. More...

#include <field.h>

Data Fields

const rmgui_field_action_t * action
uint8_t count

Detailed Description

A field's action table: action[0, count), count <= RMGUI_FIELD_ACTION_MAX, host-owned and read whenever the field is laid out or measured.

Within a strip actions sit in table order, left to right. A table with count above the maximum, a NULL action with count > 0, a NULL label or a slot that is not LEAD/TRAIL makes rmgui_field_layout fail and rmgui_field_measure report {0,0}.

Field Documentation

◆ action

const rmgui_field_action_t* rmgui_field_actions_t::action

◆ count

uint8_t rmgui_field_actions_t::count

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