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

A label's text as painted: the well-formed UTF-8 text[0, length), coloured by runs[0, run_count) in order from byte 0, and by color past the last run (every byte when run_count is 0). More...

#include <field.h>

Data Fields

const char * text
uint32_t length
const rmgui_label_run_t * runs
uint32_t run_count
rmgui_color_t color

Detailed Description

A label's text as painted: the well-formed UTF-8 text[0, length), coloured by runs[0, run_count) in order from byte 0, and by color past the last run (every byte when run_count is 0).

Run ends fall on codepoint boundaries. text may be NULL when length is 0, runs when run_count is 0.

Field Documentation

◆ text

const char* rmgui_label_text_t::text

◆ length

uint32_t rmgui_label_text_t::length

◆ runs

const rmgui_label_run_t* rmgui_label_text_t::runs

◆ run_count

uint32_t rmgui_label_text_t::run_count

◆ color

rmgui_color_t rmgui_label_text_t::color

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