aboutsummaryrefslogtreecommitdiffstats
path: root/include/gdisp/lld/gdisp_lld_msgs.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-29 16:29:25 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-29 16:29:25 +1000
commit7c303eb72efe8a61383c4914fb940024236b2bdb (patch)
tree743f66a4d68fa9811c8153368018e907370d8dbc /include/gdisp/lld/gdisp_lld_msgs.h
parent12085b8014234b10739d5cf22ed6c6d055ce8741 (diff)
downloaduGFX-7c303eb72efe8a61383c4914fb940024236b2bdb.tar.gz
uGFX-7c303eb72efe8a61383c4914fb940024236b2bdb.tar.bz2
uGFX-7c303eb72efe8a61383c4914fb940024236b2bdb.zip
Vastly simplify GDISP mcufont interface code.
Fix boundary cases. Prevent overwriting of defined display area. Improve performance. Remove hardware acceleration for fonts (unlikely anyway unles the hardware understood our software font structures)
Diffstat (limited to 'include/gdisp/lld/gdisp_lld_msgs.h')
-rw-r--r--include/gdisp/lld/gdisp_lld_msgs.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/gdisp/lld/gdisp_lld_msgs.h b/include/gdisp/lld/gdisp_lld_msgs.h
index 5f4bed9a..2c199cbe 100644
--- a/include/gdisp/lld/gdisp_lld_msgs.h
+++ b/include/gdisp/lld/gdisp_lld_msgs.h
@@ -42,10 +42,6 @@ typedef enum gdisp_msgaction {
GDISP_LLD_MSG_DRAWARC,
GDISP_LLD_MSG_FILLARC,
#endif
- #if GDISP_NEED_TEXT
- GDISP_LLD_MSG_DRAWCHAR,
- GDISP_LLD_MSG_FILLCHAR,
- #endif
#if GDISP_NEED_PIXELREAD
GDISP_LLD_MSG_GETPIXELCOLOR,
#endif
@@ -151,23 +147,6 @@ typedef union gdisp_lld_msg {
coord_t startangle, endangle;
color_t color;
} fillarc;
- struct gdisp_lld_msg_drawchar {
- gfxQueueItem qi;
- gdisp_msgaction_t action; // GDISP_LLD_MSG_DRAWCHAR
- coord_t x, y;
- uint16_t c;
- font_t font;
- color_t color;
- } drawchar;
- struct gdisp_lld_msg_fillchar {
- gfxQueueItem qi;
- gdisp_msgaction_t action; // GDISP_LLD_MSG_FILLCHAR
- coord_t x, y;
- uint16_t c;
- font_t font;
- color_t color;
- color_t bgcolor;
- } fillchar;
struct gdisp_lld_msg_getpixelcolor {
gfxQueueItem qi;
gdisp_msgaction_t action; // GDISP_LLD_MSG_GETPIXELCOLOR