Home2L - C/C++ API
v1.2-2-ga4fe (2023-04-15)
Smart Tools for a Private Home
|
Text format specification. All fields are public and may be arbitrarily written to in order to set the formatting.
#include "ui_base.H"
Public Attributes | |
TTF_Font * | font |
Text font. | |
TColor | bgColor |
Foreground and background color; 'bgColor' == 'TRANSPARENT' selects "blended mode" in font rendering. | |
int | vAlign |
Alignment: -1 = left/up, 0 = center, +1 = right/down. | |
int | hSpace |
Vertical and horizontal space in pixels. | |
int | maxHeight |
Maximum width in pixels (for automatic line breaking). | |