diff options
Diffstat (limited to 'src/kernel/graphics')
-rw-r--r-- | src/kernel/graphics/vesa.c | 2 | ||||
-rw-r--r-- | src/kernel/graphics/vesa.h | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c index 3f8a9ba..32ca717 100644 --- a/src/kernel/graphics/vesa.c +++ b/src/kernel/graphics/vesa.c @@ -324,7 +324,7 @@ void vesa_keyboard_char(char ch) { terminal_color); } -void vesa_draw_string(char *data) { +void vesa_draw_string(const char *data) { int i = 0; while (data[i] != '\0') { vesa_draw_char(data[i]); diff --git a/src/kernel/graphics/vesa.h b/src/kernel/graphics/vesa.h index 748f8d0..3fcef24 100644 --- a/src/kernel/graphics/vesa.h +++ b/src/kernel/graphics/vesa.h @@ -128,6 +128,10 @@ void vesa_clear(); */ void vesa_set_font(int height); +/** + * Draws a single char + * @param ch The char + */ void vesa_draw_char(char ch); /** @@ -140,7 +144,7 @@ void vesa_keyboard_char(char ch); * Draw a string in VESA mode * @param data The string */ -void vesa_draw_string(char *data); +void vesa_draw_string(const char *data); /** * Draw a number in VESA mode |