kodi
Variables

Flags for alignment. More...

Collaboration diagram for Font alignment flags:

Variables

constexpr int XBFONT_LEFT = 0
 Align X left.
 
constexpr int XBFONT_RIGHT = (1 << 0)
 Align X right.
 
constexpr int XBFONT_CENTER_X = (1 << 1)
 Align X center.
 
constexpr int XBFONT_CENTER_Y = (1 << 2)
 Align Y center.
 
constexpr int XBFONT_TRUNCATED = (1 << 3)
 Truncated text from right (text end with ellipses)
 
constexpr int XBFONT_JUSTIFIED = (1 << 4)
 Justify text.
 
constexpr int XBFONT_TRUNCATED_LEFT = (1 << 5)
 Truncated text from left (text start with ellipses)
 

Detailed Description

Flags for alignment.

Flags are used as bits to have several together, e.g. XBFONT_LEFT | XBFONT_CENTER_Y