PatchworkOS
Loading...
Searching...
No Matches
text_props_t Struct Reference

Element text properties structure. More...

#include <element.h>

Data Fields

align_t xAlign
 
align_t yAlign
 
font_tfont
 

Detailed Description

Element text properties structure.

To avoid code duplication, we implement a text properties structure that can be used by any element that needs to render text.

Definition at line 62 of file element.h.

Field Documentation

◆ font

font_t* text_props_t::font

Definition at line 66 of file element.h.

Referenced by button_draw(), label_procedure(), numpad_button_create(), and procedure().

◆ xAlign

align_t text_props_t::xAlign

Definition at line 64 of file element.h.

Referenced by element_new_raw(), label_procedure(), and procedure().

◆ yAlign

align_t text_props_t::yAlign

Definition at line 65 of file element.h.

Referenced by label_procedure().


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