From 2088e98a9def43b169038d51aa4f808e8dbe5365 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Mon, 28 Feb 2022 23:05:31 -0700 Subject: Remove old drawer routines --- include/graphics/drawer.h | 26 -------------------------- include/graphics/lfb.h | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 include/graphics/drawer.h (limited to 'include') diff --git a/include/graphics/drawer.h b/include/graphics/drawer.h deleted file mode 100644 index b654989..0000000 --- a/include/graphics/drawer.h +++ /dev/null @@ -1,26 +0,0 @@ -#ifndef GRAPHICS_DRAWER_H -#define GRAPHICS_DRAWER_H - -#include - -struct Drawer { - unsigned int x; - unsigned int y; - struct Lock l; -}; - -void write_cchar(struct Drawer* d, char s, unsigned int c); -void write_char(struct Drawer* d, char s); - -void write_cstring(struct Drawer* d, char* s, unsigned int c); -void write_string(struct Drawer* d, char* s); - -void write_chex32(struct Drawer* d, unsigned long val, unsigned int c); -void write_hex32(struct Drawer* d, unsigned long val); - -void write_c10(struct Drawer* d, unsigned long val, unsigned int c); -void write_10(struct Drawer* d, unsigned long val); - -void set_drawer(struct Drawer* d, unsigned int x, unsigned int y); - -#endif diff --git a/include/graphics/lfb.h b/include/graphics/lfb.h index 56981d2..17c85ac 100644 --- a/include/graphics/lfb.h +++ b/include/graphics/lfb.h @@ -12,7 +12,7 @@ void lfb_showpicture(void); void clear_screen(void); void draw_cpixel(unsigned long lx, unsigned long ly, unsigned int c); -void draw_cbox(unsigned long lx, unsigned long ly, unsigned char dx, unsigned char dy, unsigned int c); +void draw_cbox(unsigned long lx, unsigned long ly, unsigned int dx, unsigned int dy, unsigned int c); void draw_cbyte(unsigned char lx, unsigned char ly, unsigned char letter, unsigned int c); void draw_byte(unsigned char lx, unsigned char ly, unsigned char letter); -- cgit v1.2.1