FreeNOS
Functions | Variables
teken_subr_compat.h File Reference

Go to the source code of this file.

Functions

static void teken_subr_cons25_set_cursor_type (teken_t *t, unsigned int type)
 
static void teken_subr_cons25_set_adapter_background (teken_t *t, unsigned int c)
 
static void teken_subr_cons25_set_adapter_foreground (teken_t *t, unsigned int c)
 
static void teken_subr_cons25_switch_virtual_terminal (teken_t *t, unsigned int vt)
 

Variables

static const teken_color_t cons25_colors [8]
 

Function Documentation

◆ teken_subr_cons25_set_adapter_background()

static void teken_subr_cons25_set_adapter_background ( teken_t t,
unsigned int  c 
)
static

◆ teken_subr_cons25_set_adapter_foreground()

static void teken_subr_cons25_set_adapter_foreground ( teken_t t,
unsigned int  c 
)
static

◆ teken_subr_cons25_set_cursor_type()

static void teken_subr_cons25_set_cursor_type ( teken_t t,
unsigned int  type 
)
static

Definition at line 30 of file teken_subr_compat.h.

References teken_funcs_param(), TP_SHOWCURSOR, and type.

Referenced by teken_state_8().

◆ teken_subr_cons25_switch_virtual_terminal()

static void teken_subr_cons25_switch_virtual_terminal ( teken_t t,
unsigned int  vt 
)
static

Definition at line 63 of file teken_subr_compat.h.

References teken_funcs_param(), and TP_SWITCHVT.

Referenced by teken_state_2().

Variable Documentation

◆ cons25_colors

const teken_color_t cons25_colors[8]
static
Initial value:
#define TC_BLUE
Definition teken.h:62
#define TC_BROWN
Definition teken.h:61
#define TC_GREEN
Definition teken.h:60
#define TC_CYAN
Definition teken.h:64
#define TC_MAGENTA
Definition teken.h:63
#define TC_BLACK
Definition teken.h:58
#define TC_WHITE
Definition teken.h:65
#define TC_RED
Definition teken.h:59

Definition at line 36 of file teken_subr_compat.h.

Referenced by teken_subr_cons25_set_adapter_background(), and teken_subr_cons25_set_adapter_foreground().