Revert tinygl_text API and add tinygl_draw_message

This commit is contained in:
Michael Hayes
2011-09-24 21:25:49 +00:00
parent cc3347edd4
commit 76665cbc7f
26 changed files with 65 additions and 52 deletions
+2 -2
View File
@@ -89,7 +89,7 @@ static void show_char (char ch)
buffer[0] = ch;
buffer[1] = 0;
tinygl_text (buffer, tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (buffer);
}
@@ -99,7 +99,7 @@ static void show_num (char ch, uint8_t num)
buffer[0] = ch;
uint8toa (num, buffer + 1, 0);
tinygl_text (buffer, tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (buffer);
}