|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
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 |
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.
| uint64_t rmgui_model_row_t::id |
| uint64_t rmgui_model_row_t::icon |
| const char* rmgui_model_row_t::text |
| size_t rmgui_model_row_t::length |
| size_t rmgui_model_row_t::depth |
| size_t rmgui_model_row_t::pos_in_set |
| size_t rmgui_model_row_t::set_size |
| rmgui_style_states_t rmgui_model_row_t::states |
| unsigned char rmgui_model_row_t::has_children |
| unsigned char rmgui_model_row_t::expanded |