Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

Flags for alignment. More...

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

Variable Documentation

◆ XBFONT_CENTER_X

int XBFONT_CENTER_X = (1 << 1)
constexpr

Align X center.

◆ XBFONT_CENTER_Y

int XBFONT_CENTER_Y = (1 << 2)
constexpr

Align Y center.

◆ XBFONT_JUSTIFIED

int XBFONT_JUSTIFIED = (1 << 4)
constexpr

Justify text.

◆ XBFONT_LEFT

int XBFONT_LEFT = 0
constexpr

Align X left.

◆ XBFONT_RIGHT

int XBFONT_RIGHT = (1 << 0)
constexpr

Align X right.

◆ XBFONT_TRUNCATED

int XBFONT_TRUNCATED = (1 << 3)
constexpr

Truncated text from right (text end with ellipses)

◆ XBFONT_TRUNCATED_LEFT

int XBFONT_TRUNCATED_LEFT = (1 << 5)
constexpr

Truncated text from left (text start with ellipses)