diff options
author | David <dbphillipsnz@gmail.com> | 2014-03-27 20:03:33 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-03-27 20:32:48 +1300 |
commit | 009a998876458f1cbab925c56c95b90d48d72157 (patch) | |
tree | 5db5de0a8ce75e9285b4d647cfd685bec5aefd1c /screen/console.h | |
parent | 5d944dfe9f03c9fb43271199d2ba4b8880747614 (diff) | |
download | toast-009a998876458f1cbab925c56c95b90d48d72157.tar.xz |
Added a bunch of things. This is the epitome of a bad commit message
Diffstat (limited to 'screen/console.h')
-rw-r--r-- | screen/console.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/screen/console.h b/screen/console.h index f037592..fabbc4a 100644 --- a/screen/console.h +++ b/screen/console.h @@ -43,13 +43,14 @@ #define COLOR_YELLOW 0xE #define COLOR_WHITE 0xF -#define COLOR_BRIGHT_GRAY COLOR_BRIGHT_GREY // Alias for grey vs gray -#define COLOR_GREY COLOR_GRAY // Alias for grey vs gray -#define COLOR_LIME COLOR_BRIGHT_GREEN // Alias for lime vs bright green +#define COLOR_BRIGHT_GRAY COLOR_BRIGHT_GREY // Alias for grey <--> gray +#define COLOR_GREY COLOR_GRAY // Alias for grey <--> gray +#define COLOR_LIME COLOR_BRIGHT_GREEN // Alias for lime <--> bright green char* console_buffer; uint16_t console_pointer; uint8_t console_color; +uint8_t saved_console_color; void console_init(); void console_set_cursor_xy(uint8_t x,uint8_t y); @@ -57,6 +58,7 @@ void console_update_cursor(); void console_clear(); void console_set_colors(uint8_t fg, uint8_t bg); void console_set_color(uint8_t fg); +void console_swap_colors(); void console_print_char(const char c); void console_print_string(const char *string); void console_print(const char* format,...); |