XEOS_GUI_BitmapFontRef XEOS_GUI_BitmapFontGetBitmapFont(
const char *name,
uint32_t size,
uint32_t traits );
XEOS_GUI_BitmapFontGlyphRef XEOS_GUI_BitmapFontGetGlyphAtIndex(
XEOS_GUI_BitmapFontRef font,
uint32_t index );
size_t XEOS_GUI_BitmapFontGetGlyphCount(
XEOS_GUI_BitmapFontRef font );
uint32_t XEOS_GUI_BitmapFontGetGlyphHeight(
XEOS_GUI_BitmapFontRef font );
XEOS_GUI_BitmapFontRef XEOS_GUI_BitmapFontGetMonospaceSystemBitmapFont(
void );
const char * XEOS_GUI_BitmapFontGetName(
XEOS_GUI_BitmapFontRef font );
XEOS_GUI_BitmapFontRef XEOS_GUI_BitmapFontGetSystemBitmapFont(
void );
uint32_t XEOS_GUI_BitmapFontGetSystemBitmapFontSize(
void );
uint32_t XEOS_GUI_BitmapFontGetTraits(
XEOS_GUI_BitmapFontRef font );
void * XEOS_GUI_BitmapFontGlyphGetData(
XEOS_GUI_BitmapFontGlyphRef glyph );
uint32_t XEOS_GUI_BitmapFontGlyphGetWidth(
XEOS_GUI_BitmapFontGlyphRef glyph );
XEOS_GUI_Color XEOS_GUI_GetPredefinedColor(
XEOS_GUI_PredefinedColor colorStyle );
XEOS_GUI_Rect XEOS_GUI_MakeRect(
uint32_t x,
uint32_t y,
uint32_t width,
uint32_t height );
void XEOS_GUI_SetPredefinedColor(
XEOS_GUI_PredefinedColor colorStyle,
XEOS_GUI_Color color );
int XEOS_Video_Printf(
const char *format,
... ) FORMAT_ATTRIBUTE(
printf,
1,
2 );
int XEOS_Video_Promptf(
const char *format,
... ) FORMAT_ATTRIBUTE(
printf,
1,
2 );
typedef struct __XEOS_GUI_BitmapFontGlyph * XEOS_GUI_BitmapFontGlyphRef;
typedef enum {
XEOS_GUI_BitmapFontTraitsNormal = 0x00,
XEOS_GUI_BitmapFontTraitsMonospace = 0x01
} XEOS_GUI_BitmapFontTraits;
typedef enum {
XEOS_GUI_PredefinedColorBlack = 0x00,
XEOS_GUI_PredefinedColorWhite = 0x01,
XEOS_GUI_PredefinedColorGray = 0x02,
XEOS_GUI_PredefinedColorLightGray = 0x03,
XEOS_GUI_PredefinedColorRed = 0x04,
XEOS_GUI_PredefinedColorGreen = 0x05,
XEOS_GUI_PredefinedColorBlue = 0x06,
XEOS_GUI_PredefinedColorMagenta = 0x07,
XEOS_GUI_PredefinedColorCyan = 0x08,
XEOS_GUI_PredefinedColorYellow = 0x09,
XEOS_GUI_PredefinedColorScreenBackground = 0x0A,
XEOS_GUI_PredefinedColorWindowBackground = 0x0B
} XEOS_GUI_PredefinedColor;