aboutsummaryrefslogtreecommitdiffstats
path: root/worker.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-07-17 02:26:26 +0200
committerTectu <joel@unormal.org>2012-07-17 02:26:26 +0200
commit7b2e2d0d82ecbaf1cbb464db87588fb63f32a423 (patch)
tree6fb98ae8adb6f4d08987ba389ea4272b716add2f /worker.h
parent5c59d3ec292061c2bd67f51fdab3d4e349af90e1 (diff)
downloaduGFX-7b2e2d0d82ecbaf1cbb464db87588fb63f32a423.tar.gz
uGFX-7b2e2d0d82ecbaf1cbb464db87588fb63f32a423.tar.bz2
uGFX-7b2e2d0d82ecbaf1cbb464db87588fb63f32a423.zip
added GLCD_DRAW_CHAR dummy in worker thread
Diffstat (limited to 'worker.h')
-rw-r--r--worker.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/worker.h b/worker.h
index d08cae9d..b0f470cc 100644
--- a/worker.h
+++ b/worker.h
@@ -14,6 +14,7 @@ enum glcd_action { GLCD_SET_POWERMODE,
GLCD_WRITE_STREAM_START,
GLCD_WRITE_STREAM_STOP,
GLCD_WRITE_STREAM,
+ GLCD_DRAW_CHAR,
};
enum glcd_result { GLCD_DONE,
@@ -108,5 +109,18 @@ struct glcd_msg_write_stream {
uint16_t size;
};
+struct glcd_msg_draw_char {
+ _glcd_msg_base
+
+ uint16_t cx;
+ uint16_t cy;
+ char c;
+ const uint8_t *font;
+ uint16_t color;
+ uint16_t bkcolor;
+ bool_t tpText;
+ uint16_t return_value;
+};
+
#endif