Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.

Flags for alignment. More...

Variables

constexpr int XBFONT_LEFT = 0
 Align X left. More...
 
constexpr int XBFONT_RIGHT = (1 << 0)
 Align X right. More...
 
constexpr int XBFONT_CENTER_X = (1 << 1)
 Align X center. More...
 
constexpr int XBFONT_CENTER_Y = (1 << 2)
 Align Y center. More...
 
constexpr int XBFONT_TRUNCATED = (1 << 3)
 Truncated text. More...
 
constexpr int XBFONT_JUSTIFIED = (1 << 4)
 Justify text. More...
 

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

constexpr int XBFONT_CENTER_X = (1 << 1)
constexpr

Align X center.

◆ XBFONT_CENTER_Y

constexpr int XBFONT_CENTER_Y = (1 << 2)
constexpr

Align Y center.

◆ XBFONT_JUSTIFIED

constexpr int XBFONT_JUSTIFIED = (1 << 4)
constexpr

Justify text.

◆ XBFONT_LEFT

constexpr int XBFONT_LEFT = 0
constexpr

Align X left.

◆ XBFONT_RIGHT

constexpr int XBFONT_RIGHT = (1 << 0)
constexpr

Align X right.

◆ XBFONT_TRUNCATED

constexpr int XBFONT_TRUNCATED = (1 << 3)
constexpr

Truncated text.