aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_label.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-06 22:52:50 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-06 22:52:50 +0100
commit98f360947014dd3ba562190cd654919034f9f176 (patch)
tree6369f2aa0a33c9538301c9044a60f17930316ebb /src/gwin/gwin_label.h
parente8a769c3823eef72a9e064d3bf992152ed261ad2 (diff)
downloaduGFX-98f360947014dd3ba562190cd654919034f9f176.tar.gz
uGFX-98f360947014dd3ba562190cd654919034f9f176.tar.bz2
uGFX-98f360947014dd3ba562190cd654919034f9f176.zip
Adding gwinLabelSetJustification() as it costs basically nothing
Diffstat (limited to 'src/gwin/gwin_label.h')
-rw-r--r--src/gwin/gwin_label.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gwin/gwin_label.h b/src/gwin/gwin_label.h
index 8c7c9fd5..0b289c92 100644
--- a/src/gwin/gwin_label.h
+++ b/src/gwin/gwin_label.h
@@ -67,6 +67,16 @@ GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit,
#define gwinLabelCreate(w, pInit, justify) gwinGLabelCreate(GDISP, w, pInit, justify)
/**
+ * @brief Set text justification
+ *
+ * @param[in] gh The widget handle (must be a label handle)
+ * @param[in] justify The justification
+ *
+ * @api
+ */
+void gwinLabelSetJustification(GHandle gh, justify_t justify);
+
+/**
* @brief Border settings for the default rendering routine
*
* @param[in] gh The widget handle (must be a list handle)