MOS Source Code
Loading...
Searching...
No Matches
sbi_console.cpp File Reference
Include dependency graph for sbi_console.cpp:

Go to the source code of this file.

Functions

static size_t sbi_console_write (Console *con, const char *data, size_t size)
static bool sbi_console_set_color (Console *con, StandardColor fg, StandardColor bg)
static bool sbi_console_get_color (Console *con, StandardColor *fg, StandardColor *bg)
static bool sbi_console_clear (Console *console)

Variables

static StandardColor sbi_console_bg = Black
static StandardColor sbi_console_fg = White

Function Documentation

◆ sbi_console_write()

size_t sbi_console_write ( Console * con,
const char * data,
size_t size )
static

Definition at line 13 of file sbi_console.cpp.

Here is the call graph for this function:

◆ sbi_console_set_color()

bool sbi_console_set_color ( Console * con,
StandardColor fg,
StandardColor bg )
static

Definition at line 20 of file sbi_console.cpp.

Here is the call graph for this function:

◆ sbi_console_get_color()

bool sbi_console_get_color ( Console * con,
StandardColor * fg,
StandardColor * bg )
static

Definition at line 32 of file sbi_console.cpp.

◆ sbi_console_clear()

bool sbi_console_clear ( Console * console)
static

Definition at line 40 of file sbi_console.cpp.

Here is the call graph for this function:

Variable Documentation

◆ sbi_console_bg

StandardColor sbi_console_bg = Black
static

Definition at line 11 of file sbi_console.cpp.

Referenced by sbi_console_get_color(), and sbi_console_set_color().

◆ sbi_console_fg

StandardColor sbi_console_fg = White
static

Definition at line 11 of file sbi_console.cpp.

Referenced by sbi_console_get_color(), and sbi_console_set_color().