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

One action button inside the field's rect. More...

#include <field.h>

Data Fields

const char * label
uint8_t slot
uint8_t needs_content

Detailed Description

One action button inside the field's rect.

label is host-owned, NUL-terminated UTF-8, drawn on one row in the field's font; slot is a rmgui_field_slot_t. needs_content 1: the action exists (laid out, painted, hit) only while the text is not empty; 0: always.

Field Documentation

◆ label

const char* rmgui_field_action_t::label

◆ slot

uint8_t rmgui_field_action_t::slot

◆ needs_content

uint8_t rmgui_field_action_t::needs_content

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