diff options
author | Andrew Hannam <andrewh@inmarket.com.au> | 2012-08-05 00:46:43 +1000 |
---|---|---|
committer | Andrew Hannam <andrewh@inmarket.com.au> | 2012-08-05 00:46:43 +1000 |
commit | d61cff7a7976cd9097e5c3634ae4b1be64f736c3 (patch) | |
tree | 3d09c1c0e84ef7e2b92627e7bd535fdf15ba97a6 /halext/include/gdisp_fonts.h | |
parent | c4f5dedfb8939b50405e8197f372e814ede8d06b (diff) | |
download | uGFX-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.h | 2 |
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;
|