Merge branch 'master' of gitlab:wintermute/hackover2013-badge-firmware
[hackover2013-badge-firmware.git] / badge / ui / font.h
index 12b43a1..f54b9a9 100644 (file)
@@ -4,11 +4,13 @@
 #include "display.h"
 
 enum {
 #include "display.h"
 
 enum {
-  BADGE_FONT_WIDTH  = 6,
-  BADGE_FONT_HEIGHT = 8
+  BADGE_FONT_GLYPH_WIDTH = 5,
+  BADGE_FONT_WIDTH       = 6,
+  BADGE_FONT_HEIGHT      = 8
 };
 
 uint8_t badge_framebuffer_render_char(badge_framebuffer *fb, int8_t pos_x, int8_t pos_y, char c);
 uint8_t badge_framebuffer_render_text(badge_framebuffer *fb, int8_t pos_x, int8_t pos_y, char const *text);
 };
 
 uint8_t badge_framebuffer_render_char(badge_framebuffer *fb, int8_t pos_x, int8_t pos_y, char c);
 uint8_t badge_framebuffer_render_text(badge_framebuffer *fb, int8_t pos_x, int8_t pos_y, char const *text);
+uint8_t badge_framebuffer_render_number(badge_framebuffer *fb, int8_t pos_x, int8_t pos_y, uint8_t number);
 
 #endif
 
 #endif
This page took 0.035087 seconds and 4 git commands to generate.