Gets the standard prompt length
size_t XEOS_Video_GetPromptLength(
void );
The length of the standard prompt string
Moves the hardware cursor
void XEOS_Video_MoveCursor(
unsigned int x,
unsigned int y );
Displays a message
int XEOS_Video_Print(
const char *s );
The number of character printed
Displays a formatted message
int XEOS_Video_Printf(
const char *format,
... ) FORMAT_ATTRIBUTE(
printf,
1,
2 );
The number of character printed
Prints the standard prompt
int XEOS_Video_PrintPrompt(
void );
The number of character printed
Displays a message with the standard prompt
int XEOS_Video_Prompt(
const char *s );
The number of character printed
Displays a formatted message with the standard prompt
int XEOS_Video_Promptf(
const char *format,
... ) FORMAT_ATTRIBUTE(
printf,
1,
2 );
The number of character printed
Displays a single character
void XEOS_Video_Putc(
char c,
bool updateCursor );
Scrolls the screen
void XEOS_Video_Scroll(
unsigned int n );
Sets the screen background color
void XEOS_Video_SetBG(
XEOS_Video_Color color );
Sets the screen foreground color
void XEOS_Video_SetFG(
XEOS_Video_Color color );
Scrolls the number of sticky lines (that won't scroll)
void XEOS_Video_SetStickyLines(
unsigned int lines );
Displays a formatted message
int XEOS_Video_VPrintf(
const char *format,
va_list arg );
The number of character printed
Gets the hardware cursor's X position
unsigned int XEOS_Video_X(
void );
The X position
Gets the hardware cursor's X position
unsigned int XEOS_Video_Y(
void );
The Y position
Video colors
typedef enum {
XEOS_Video_ColorBlack = 0x00,
XEOS_Video_ColorBlue = 0x01,
XEOS_Video_ColorGreen = 0x02,
XEOS_Video_ColorCyan = 0x03,
XEOS_Video_ColorRed = 0x04,
XEOS_Video_ColorMagenta = 0x05,
XEOS_Video_ColorBrown = 0x06,
XEOS_Video_ColorGrayLight = 0x07,
XEOS_Video_ColorGray = 0x08,
XEOS_Video_ColorBlueLight = 0x09,
XEOS_Video_ColorGreenLight = 0x0A,
XEOS_Video_ColorCyanLight = 0x0B,
XEOS_Video_ColorRedLight = 0x0C,
XEOS_Video_ColorMagentaLight = 0x0D,
XEOS_Video_ColorBrownLight = 0x0E,
XEOS_Video_ColorWhite = 0x0F
} XEOS_Video_Color;