commit | 99b2d1d593ad5e74de988381201c2626c4ba7db2 | [log] [tgz] |
---|---|---|
author | Travis Geiselbrecht <geist@foobox.com> | Fri May 21 22:57:18 2010 -0700 |
committer | Ajay Dudani <adudani@codeaurora.org> | Thu Jul 28 12:34:43 2011 -0700 |
tree | 6a4a2977b7d6f4125ba9d1412dd7a5d23d830ab2 | |
parent | 4c68d020130a33d6075f39c920af5ec1e4d2ec4b [diff] [blame] |
[lib] simple library routines for drawing text and keeping a graphical console
diff --git a/include/lib/font.h b/include/lib/font.h new file mode 100644 index 0000000..c209c61 --- /dev/null +++ b/include/lib/font.h
@@ -0,0 +1,12 @@ +#ifndef __LIB_FONT_H +#define __LIB_FONT_H + +#include <lib/gfx.h> + +#define FONT_X 6 +#define FONT_Y 12 + +void font_draw_char(gfx_surface *surface, unsigned char c, int x, int y, uint32_t color); + +#endif +