From d8c9ca184f29800f6c23d02bc450ea0e67981990 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 11 Mar 2017 14:39:53 +1000 Subject: Fix font baseline_x problem, decrease word-wrap stack usage, add text justification options --- src/gdisp/gdisp_driver.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gdisp/gdisp_driver.h') 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)) -- cgit v1.2.3