Home2L - C/C++ API v1.4-0-g38cc (2024-05-25)
Smart Tools for a Private Home
Public Attributes | List of all members
CTextFormat Class Reference

Description

Text format specification. All fields are public and may be arbitrarily written to in order to set the formatting.

Definition at line 639 of file ui_base.H.

#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).
 

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