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

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

Detailed Description

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.

Field Documentation

◆ glyph

rmgui_field_glyph_t rmgui_label_glyphs_t::glyph[RMGUI_FIELD_GLYPHS_CAP]

◆ ghost_color

◆ length

uint32_t rmgui_label_glyphs_t::length

◆ count

uint8_t rmgui_label_glyphs_t::count

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