#define UPD_ATTR attr = (fgcol << 8) | (bgcol << 12)
+void tg_init(void)
+{
+}
+
+void tg_cleanup(void)
+{
+}
+
+void tg_redraw(void)
+{
+}
+
void tg_clear(void)
{
tg_rect(0, 0, 0, 80, 25, 0);
tg_text(x + 2, y, "%s", label);
}
}
+
+int tg_gchar(int gchar)
+{
+ switch(gchar) {
+ case TGFX_LARROW:
+ return 0x1b;
+ case TGFX_RARROW:
+ return 0x1a;
+ default:
+ break;
+ }
+ return '@';
+}