diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-30 15:37:55 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-10-30 15:37:55 +0100 |
commit | ee2b82271d7f85dc94c19aed46d42ac8187c79e6 (patch) | |
tree | 8e12867ab632257087d528f4f20708b5aafde80d /src/gdisp/gdisp_options.h | |
parent | 1c7948b9267ae684ef602cbca9d5675d0b0a6281 (diff) | |
download | uGFX-ee2b82271d7f85dc94c19aed46d42ac8187c79e6.tar.gz uGFX-ee2b82271d7f85dc94c19aed46d42ac8187c79e6.tar.bz2 uGFX-ee2b82271d7f85dc94c19aed46d42ac8187c79e6.zip |
Adding word-wrap support for gdispDrawStringBox() and gdispFillStringBox()
Thanks to Koryagin Dmitry for this contribution
Diffstat (limited to 'src/gdisp/gdisp_options.h')
-rw-r--r-- | src/gdisp/gdisp_options.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gdisp/gdisp_options.h b/src/gdisp/gdisp_options.h index 51d759d8..c3eec451 100644 --- a/src/gdisp/gdisp_options.h +++ b/src/gdisp/gdisp_options.h @@ -387,6 +387,14 @@ * @{ */ /** + * @brief Enable advanced word-wrapping. + * @details Only has an effect with @p gdispGDrawStringBox() and @p gdispGFillStringBox() + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_TEXT_WORDWRAP + #define GDISP_NEED_TEXT_WORDWRAP FALSE + #endif + /** * @brief Enable UTF-8 support for text rendering. * @details Defaults to FALSE */ |