diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-08-14 21:12:56 +0200 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-08-14 21:12:56 +0200 |
commit | 7f70789bc3423b915195bc09dfcbff5121cd2f70 (patch) | |
tree | 97d22407e807095387ab9cd4b0b42174984d9399 /src/gwin/gwin_textedit.h | |
parent | f7075e25ed9bcd701395745161f9ee086c025e21 (diff) | |
download | uGFX-7f70789bc3423b915195bc09dfcbff5121cd2f70.tar.gz uGFX-7f70789bc3423b915195bc09dfcbff5121cd2f70.tar.bz2 uGFX-7f70789bc3423b915195bc09dfcbff5121cd2f70.zip |
Adding border option to TextEdit widget
Diffstat (limited to 'src/gwin/gwin_textedit.h')
-rw-r--r-- | src/gwin/gwin_textedit.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gwin/gwin_textedit.h b/src/gwin/gwin_textedit.h index 2b5e26e7..5b0cea85 100644 --- a/src/gwin/gwin_textedit.h +++ b/src/gwin/gwin_textedit.h @@ -42,7 +42,7 @@ extern "C" { #endif /** - * @brief Create a TextEdit widget. + * @brief Create a TextEdit widget * @details A TextEdit widget is a rectangular box which allows the user to input data through a keyboard. * The keyboard can either be a physical one or a virtual on-screen keyboard as the keyboard driver * is abstracted through the GINPUT module. @@ -59,6 +59,18 @@ extern "C" { GHandle gwinGTexteditCreate(GDisplay* g, GTexteditObject* widget, GWidgetInit* pInit, size_t bufSize); #define gwinTexteditCreate(w, pInit, bufSize) gwinGTexteditCreate(GDISP, w, pInit, bufSize) +/** + * @brief Border settings for the default rendering routine + * + * @note Border is enabled by default. + * + * @param[in] gh The widget handle (must be a TextEdit handle) + * @param[in] border Shall a border be rendered? + * + * @api + */ +void gwinTexteditSetBorder(GHandle gh, bool_t border); + #ifdef __cplusplus } #endif |