Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
GUIFont.h File Reference
#include <assert.h>
#include <math.h>
#include <string>
#include <stdint.h>
#include <vector>
#include "utils/Color.h"

Classes

class  CScrollInfo
 
class  CGUIFont
 

Macros

#define XBFONT_LEFT   0x00000000
 Align X left. More...
 
#define XBFONT_RIGHT   0x00000001
 Align X right. More...
 
#define XBFONT_CENTER_X   0x00000002
 Align X center. More...
 
#define XBFONT_CENTER_Y   0x00000004
 Align Y center. More...
 
#define XBFONT_TRUNCATED   0x00000008
 Truncated text. More...
 
#define XBFONT_JUSTIFIED   0x00000010
 Justify text. More...
 
#define FONT_STYLE_NORMAL   0
 
#define FONT_STYLE_BOLD   1
 
#define FONT_STYLE_ITALICS   2
 
#define FONT_STYLE_LIGHT   4
 
#define FONT_STYLE_UPPERCASE   8
 
#define FONT_STYLE_LOWERCASE   16
 
#define FONT_STYLE_CAPITALIZE   32
 
#define FONT_STYLE_MASK   0xFF
 

Typedefs

typedef uint32_t character_t
 
typedef std::vector< character_tvecText
 

Macro Definition Documentation

◆ FONT_STYLE_BOLD

#define FONT_STYLE_BOLD   1

◆ FONT_STYLE_CAPITALIZE

#define FONT_STYLE_CAPITALIZE   32

◆ FONT_STYLE_ITALICS

#define FONT_STYLE_ITALICS   2

◆ FONT_STYLE_LIGHT

#define FONT_STYLE_LIGHT   4

◆ FONT_STYLE_LOWERCASE

#define FONT_STYLE_LOWERCASE   16

◆ FONT_STYLE_MASK

#define FONT_STYLE_MASK   0xFF

◆ FONT_STYLE_NORMAL

#define FONT_STYLE_NORMAL   0

◆ FONT_STYLE_UPPERCASE

#define FONT_STYLE_UPPERCASE   8

Typedef Documentation

◆ character_t

typedef uint32_t character_t

◆ vecText

typedef std::vector<character_t> vecText