aboutsummaryrefslogtreecommitdiff
path: root/drivers/include
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-08 17:32:23 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-08 17:32:23 -0500
commit52d2b12c32ab15f4314cf5f0b27ea24709ed1cb1 (patch)
treea092e2e798139456d5f1b2f6b320a6c60a705205 /drivers/include
parent0d7cde7c4d735ebebd39b988440f50f5889bd29f (diff)
downloadkappa-52d2b12c32ab15f4314cf5f0b27ea24709ed1cb1.zip
kappa-52d2b12c32ab15f4314cf5f0b27ea24709ed1cb1.tar.gz
kappa-52d2b12c32ab15f4314cf5f0b27ea24709ed1cb1.tar.bz2
kappa-52d2b12c32ab15f4314cf5f0b27ea24709ed1cb1.tar.xz
lots of optimization, new features
Diffstat (limited to 'drivers/include')
-rw-r--r--drivers/include/gfx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/include/gfx.h b/drivers/include/gfx.h
index 42ada32..561eb3e 100644
--- a/drivers/include/gfx.h
+++ b/drivers/include/gfx.h
@@ -54,6 +54,12 @@ void gfx_set_background(uint32_t);
uint32_t gfx_get_background(void);
+void gfx_hline(int x1, int x2, int y);
+
+void gfx_vline(int y1, int y2, int x);
+
+void gfx_fillrect(int x1, int y1, int w, int h);
+
extern const uint16_t *gfx_width, *gfx_height;
/* this is _BYTES_ per pixel, NOT BITS per pixel! */