aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-28 23:05:31 -0700
committerChristian Cunningham <cc@localhost>2022-02-28 23:05:31 -0700
commit2088e98a9def43b169038d51aa4f808e8dbe5365 (patch)
tree8bd7dfdfc6e4fcc838ccc5452b747d2b7455ffe9 /include
parent9169796632fcdeb5e8e74ed60c6cbe31081e51f2 (diff)
Remove old drawer routines
Diffstat (limited to 'include')
-rw-r--r--include/graphics/drawer.h26
-rw-r--r--include/graphics/lfb.h2
2 files changed, 1 insertions, 27 deletions
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 <util/lock.h>
-
-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);