35 #ifndef __CTK_CONSOLE_H__
36 #define __CTK_CONSOLE_H__
38 #define cputc console_cputc
39 #define cputs console_cputs
41 void console_init(
void);
42 void console_exit(
void);
43 unsigned char console_resize(
void);
45 unsigned char wherex(
void);
46 unsigned char wherey(
void);
48 void bgcolor(
unsigned char c);
49 void bordercolor(
unsigned char c);
50 void screensize(
unsigned char *x,
unsigned char *y);
51 void revers(
unsigned char c);
52 void console_cputc(
char c);
53 void console_cputs(
char *str);
54 void cclear(
unsigned char length);
55 void chline(
unsigned char length);
56 void cvline(
unsigned char length);
57 void gotoxy(
unsigned char x,
unsigned char y);
58 void cclearxy(
unsigned char x,
unsigned char y,
unsigned char length);
59 void chlinexy(
unsigned char x,
unsigned char y,
unsigned char length);
60 void cvlinexy(
unsigned char x,
unsigned char y,
unsigned char length);
61 void cputsxy(
unsigned char x,
unsigned char y,
char *str);
62 void cputcxy(
unsigned char x,
unsigned char y,
char c);
63 void textcolor(
unsigned char c);