aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_textedit.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-03 20:39:16 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-03 20:39:16 +0100
commit86aef5990a702cc10c99d41c8aa7cc15b3338cae (patch)
treebc49b57f90581c88214f07ef9e29c8d6cdb55884 /src/gwin/gwin_textedit.h
parentde149299ae02d36c8393cbe52ba9025f3ed2de21 (diff)
downloaduGFX-86aef5990a702cc10c99d41c8aa7cc15b3338cae.tar.gz
uGFX-86aef5990a702cc10c99d41c8aa7cc15b3338cae.tar.bz2
uGFX-86aef5990a702cc10c99d41c8aa7cc15b3338cae.zip
Doxygen (documenting each built-in rendering function for widgets)
Diffstat (limited to 'src/gwin/gwin_textedit.h')
-rw-r--r--src/gwin/gwin_textedit.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/gwin/gwin_textedit.h b/src/gwin/gwin_textedit.h
index f39f0c2a..8b3336e2 100644
--- a/src/gwin/gwin_textedit.h
+++ b/src/gwin/gwin_textedit.h
@@ -60,6 +60,33 @@ extern "C" {
GHandle gwinGTexteditCreate(GDisplay* g, GTexteditObject* wt, GWidgetInit* pInit, size_t maxSize);
#define gwinTexteditCreate(wt, pInit, maxSize) gwinGTexteditCreate(GDISP, wt, pInit, maxSize)
+/**
+ * @defgroup Renderings_Textedit Textedit rendering functions
+ *
+ * @brief Built-in rendering functions for the textedit widget.
+ *
+ * @details These function may be passed to @p gwinSetCustomDraw() to get different textedit drawing styles.
+ *
+ * @note In your custom textedit drawing function you may optionally call these
+ * standard functions and then draw your extra details on top.
+ * @note These custom drawing routines don't have to worry about setting clipping as the framework
+ * sets clipping to the object window prior to calling these routines.
+ *
+ * @{
+ */
+
+/**
+ * @brief The default rendering function for the textedit widget.
+ *
+ * @param[in] gw The widget object (must be a button textedit).
+ * @param[in] param A parameter passed in from the user. Ignored by this function.
+ *
+ * @api
+ */
+void gwinTexteditDefaultDraw(GWidgetObject* gw, void* param);
+
+/** @} */
+
#ifdef __cplusplus
}
#endif