aboutsummaryrefslogtreecommitdiffstats
path: root/halext/include/gdisp_fonts.h
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-08-05 00:46:43 +1000
committerAndrew Hannam <andrewh@inmarket.com.au>2012-08-05 00:46:43 +1000
commitd61cff7a7976cd9097e5c3634ae4b1be64f736c3 (patch)
tree3d09c1c0e84ef7e2b92627e7bd535fdf15ba97a6 /halext/include/gdisp_fonts.h
parentc4f5dedfb8939b50405e8197f372e814ede8d06b (diff)
downloaduGFX-d61cff7a7976cd9097e5c3634ae4b1be64f736c3.tar.gz
uGFX-d61cff7a7976cd9097e5c3634ae4b1be64f736c3.tar.bz2
uGFX-d61cff7a7976cd9097e5c3634ae4b1be64f736c3.zip
Many changes including scaled fonts.
Scaled fonts (independantly in x & y direction) based on normal sized font. Effectively double sized and double height same width fonts come free (or triple etc). New routine for sending low level drivers hardware commands eg backlight off/on Power and Orientation moved to new routine. Clean up on files to simplify low level driver file overheads.
Diffstat (limited to 'halext/include/gdisp_fonts.h')
-rw-r--r--halext/include/gdisp_fonts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/halext/include/gdisp_fonts.h b/halext/include/gdisp_fonts.h
index 2f573344..a271030e 100644
--- a/halext/include/gdisp_fonts.h
+++ b/halext/include/gdisp_fonts.h
@@ -72,6 +72,8 @@ struct font {
uint8_t maxWidth;
char minChar;
char maxChar;
+ uint8_t xscale;
+ uint8_t yscale;
const uint8_t *widthTable;
const uint16_t *offsetTable;
const fontcolumn_t *dataTable;