From d9443c7fdf756212bb52ffc934b1166038bc2ad3 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 21 Apr 2021 12:23:54 +0200 Subject: Refactoring --- src/drivers/framebuffer.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 src/drivers/framebuffer.h (limited to 'src/drivers/framebuffer.h') diff --git a/src/drivers/framebuffer.h b/src/drivers/framebuffer.h deleted file mode 100644 index d265015..0000000 --- a/src/drivers/framebuffer.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef FRAMEBUFFER_H -#define FRAMEBUFFER_H - -#include "core/types.h" - -typedef enum VIDEO_COLORS { - BLACK=0, BLUE=1, GREEN=2,CYAN=3, RED=4,PURPLE=5,BROWN=6,GRAY=7, - DARK_GRAY=8,LIGHT_BLUE=9,LIGHT_GREEN=10,LIGHT_CYAN=11,LIGHT_RED=12,LIGHT_PURPLE=13,YELLOW=14,WHITE=15 - -} VIDEO_COLORS; - -typedef struct VIDEO_STATE { - u8 *mem; - u8 col; - u8 line; - u8 bg; - u8 fg; -} VIDEO_STATE; - -/** - * Print char - */ -void putchar(char); - -/** - * Scroll the framebuffer from one line - */ -void scrollup(); - -/** - * Clear all char from the framebuffer - */ -void clear(); - -#endif -- cgit v1.2.3