summary refs log tree commit diff
path: root/bin/color.c
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-01 00:14:58 -0500
committerJune McEnroe <programble@gmail.com>2018-02-01 00:14:58 -0500
commitce4c80f4da6472d7bc53ee3b3e04fb404562a30d (patch)
tree6ce58f709ac50b49f75521a4a55a0a0813810dd2 /bin/color.c
parentAdd gfxx (diff)
downloadsrc-ce4c80f4da6472d7bc53ee3b3e04fb404562a30d.tar.gz
src-ce4c80f4da6472d7bc53ee3b3e04fb404562a30d.zip
Remove fb.c and color.c
Diffstat (limited to '')
-rw-r--r--bin/color.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/bin/color.c b/bin/color.c
deleted file mode 100644
index 75118226..00000000
--- a/bin/color.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <stdint.h>
-
-static uint32_t color;
-
-void init() {
-}
-
-void draw(uint32_t *buf, uint32_t xres, uint32_t yres) {
-    for (uint32_t i = 0; i < xres * yres; ++i) {
-        buf[i] = color;
-    }
-}
-
-void input(char c) {
-    color = color << 4 | (c & 0xF);
-}