|
RMGui 0.15.0
C11 retained-mode UI library: layout kernel, style schema, widget painters, fonts, software framebuffer
|
The glyph motion of one label. More...
#include <field.h>
Data Fields | |
| rmgui_field_glyph_t | glyph [RMGUI_FIELD_GLYPHS_CAP] |
| rmgui_color_t | ghost_color [RMGUI_FIELD_GLYPHS_CAP][RMGUI_FIELD_GLYPHS_GHOST_CAP] |
| uint32_t | length |
| uint8_t | count |
The glyph motion of one label.
Zero-initialise before first use (a zeroed record animates nothing). Hosts read count, the edits still animating, glyph[0, count), listed as rmgui_field_glyphs_t lists them, the colours ghost_color[i][0, glyph[i].ghost_length) the bytes of ghost i had, and length, the byte length of the text the record describes; every other byte is private bookkeeping.
| rmgui_field_glyph_t rmgui_label_glyphs_t::glyph[RMGUI_FIELD_GLYPHS_CAP] |
| rmgui_color_t rmgui_label_glyphs_t::ghost_color[RMGUI_FIELD_GLYPHS_CAP][RMGUI_FIELD_GLYPHS_GHOST_CAP] |
| uint32_t rmgui_label_glyphs_t::length |
| uint8_t rmgui_label_glyphs_t::count |