#include <consoles.h>
Inheritance diagram for console_ansi:


Public Member Functions | |
| console_ansi (void) | |
| Console ANSI constructor. | |
| void | TextColor (console_color ForeColor, console_color BackColor) |
| Set the text color. | |
| void | TextColor (console_color ForeColor) |
| Set the text color. | |
| void | SetCursorPos (int x, int y) |
| Sets the cursor position. | |
| void | SaveCursorPos (void) |
| Save the cursor position. | |
| void | RestoreCursorPos (void) |
| Restore the cursor position. | |
| void | ClearScreen (void) |
| Clear the Screen. | |
Static Private Attributes | |
| const int | CONSOLE_COLOR [16] |
| Console colors. | |
|
|
Console ANSI constructor.
|
|
||||||||||||
|
Set the text color.
Implements console. |
|
|
Set the text color.
Implements console. |
|
||||||||||||
|
Sets the cursor position.
Implements console. |
|
|
Save the cursor position.
Implements console. |
|
|
Restore the cursor position.
Implements console. |
|
|
Clear the Screen.
Implements console. |
|
|
Initial value:
{
30,
31,
32,
34,
33,
35,
36,
37,
30|0x80,
31|0x80,
32|0x80,
34|0x80,
33|0x80,
35|0x80,
36|0x80,
37|0x80
}
|
|
|
|