#include <text_mode.hpp>
Inherits Graphics.
|
enum | TEXT_MODE_COLOR {
BLACK
, BLUE
, GREEN
, CYAN
,
RED
, PURPLE
, BROWN
, GREY
,
DARK_GREY
, LIGHT_BLUE
, LIGHT_GREEN
, LIGHT_CYAN
,
LIGHT_RED
, LIGHT_PURPLE
, YELLOW
, WHITE
} |
|
◆ ~TextModeGraphics()
◆ clear_screen()
◆ get_current_color()
- Returns
- TEXT_MODE_COLORS Current color
Implements Graphics.
◆ get_cursor_x()
uint32_t get_cursor_x |
( |
| ) |
|
|
overridevirtual |
◆ get_cursor_y()
uint32_t get_cursor_y |
( |
| ) |
|
|
overridevirtual |
◆ print_char()
void print_char |
( |
char |
c | ) |
|
|
overridevirtual |
◆ print_char_color()
Prints char to screen with specified color.
- Parameters
-
c | Character to print |
color | Color |
Implements Graphics.
◆ print_string()
void print_string |
( |
const char * |
str | ) |
|
|
overridevirtual |
◆ print_string_color()
◆ set_cursor()
void set_cursor |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
overridevirtual |
Sets framebuffer cursor to specified values.
- Parameters
-
x | X to be set |
y | Y to be set |
Implements Graphics.
◆ set_text_color()
Sets new framebuffer color to print.
- Parameters
-
Implements Graphics.
◆ the()
The documentation for this class was generated from the following files: