aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp_driver.h
diff options
context:
space:
mode:
authorinmarket <inmarket@ugfx.org>2017-03-11 14:39:53 +1000
committerinmarket <inmarket@ugfx.org>2017-03-11 14:39:53 +1000
commitd8c9ca184f29800f6c23d02bc450ea0e67981990 (patch)
tree04170629b4b1f755fab2eb04eaf711c3571830a7 /src/gdisp/gdisp_driver.h
parent9500ed2bcc8c579bd56f4e4cdb27376ebc727046 (diff)
downloaduGFX-d8c9ca184f29800f6c23d02bc450ea0e67981990.tar.gz
uGFX-d8c9ca184f29800f6c23d02bc450ea0e67981990.tar.bz2
uGFX-d8c9ca184f29800f6c23d02bc450ea0e67981990.zip
Fix font baseline_x problem, decrease word-wrap stack usage, add text justification options
Diffstat (limited to 'src/gdisp/gdisp_driver.h')
-rw-r--r--src/gdisp/gdisp_driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gdisp/gdisp_driver.h b/src/gdisp/gdisp_driver.h
index 1912afd9..09a12b06 100644
--- a/src/gdisp/gdisp_driver.h
+++ b/src/gdisp/gdisp_driver.h
@@ -367,6 +367,10 @@ struct GDisplay {
color_t bgcolor;
coord_t clipx0, clipy0;
coord_t clipx1, clipy1;
+ #if GDISP_NEED_TEXT_WORDWRAP
+ coord_t wrapx, wrapy;
+ justify_t lrj;
+ #endif
} t;
#endif
#if GDISP_LINEBUF_SIZE != 0 && ((GDISP_NEED_SCROLL && !GDISP_HARDWARE_SCROLL) || (!GDISP_HARDWARE_STREAM_WRITE && GDISP_HARDWARE_BITFILLS))