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

One borrowed UTF-8 cell and row metadata; height comes from the prefix map. More...

#include <model.h>

Data Fields

uint64_t id
uint64_t icon
const char * text
size_t length
size_t depth
size_t pos_in_set
size_t set_size
rmgui_style_states_t states
unsigned char has_children
unsigned char expanded

Detailed Description

One borrowed UTF-8 cell and row metadata; height comes from the prefix map.

Text need not be NUL terminated. IDs must be unique and not NO_ID. Tree accessibility requires one-based pos_in_set and sibling set_size; these fields are optional (zero) for flat lists and tables.

Field Documentation

◆ id

uint64_t rmgui_model_row_t::id

◆ icon

uint64_t rmgui_model_row_t::icon

◆ text

const char* rmgui_model_row_t::text

◆ length

size_t rmgui_model_row_t::length

◆ depth

size_t rmgui_model_row_t::depth

◆ pos_in_set

size_t rmgui_model_row_t::pos_in_set

◆ set_size

size_t rmgui_model_row_t::set_size

◆ states

rmgui_style_states_t rmgui_model_row_t::states

◆ has_children

unsigned char rmgui_model_row_t::has_children

◆ expanded

unsigned char rmgui_model_row_t::expanded

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