aboutsummaryrefslogtreecommitdiff
path: root/include/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'include/graphics')
-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);