diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-07 00:39:02 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-07 00:39:02 +0100 |
commit | 636b6edf8130dae5611445a42167c9387b43766f (patch) | |
tree | dfb99b1c701d69cc10fc18d483a64986da33379d /src | |
parent | e4c207b706be848903e136d0ad9e40187e2344ce (diff) | |
download | uGFX-636b6edf8130dae5611445a42167c9387b43766f.tar.gz uGFX-636b6edf8130dae5611445a42167c9387b43766f.tar.bz2 uGFX-636b6edf8130dae5611445a42167c9387b43766f.zip |
Revert "Adding gwinLabelSetJustification() as it costs basically nothing"
This reverts commit 98f360947014dd3ba562190cd654919034f9f176.
Diffstat (limited to 'src')
-rw-r--r-- | src/gwin/gwin_label.c | 9 | ||||
-rw-r--r-- | src/gwin/gwin_label.h | 10 |
2 files changed, 0 insertions, 19 deletions
diff --git a/src/gwin/gwin_label.c b/src/gwin/gwin_label.c index f979bdd8..c8a9a0f0 100644 --- a/src/gwin/gwin_label.c +++ b/src/gwin/gwin_label.c @@ -112,15 +112,6 @@ GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit, return (GHandle)widget; } -void gwinLabelSetJustification(GHandle gh, justify_t justify) -{ - // is it a valid handle? - if (gh->vmt != (gwinVMT *)&labelVMT) - return; - - gh2obj->justify = justify; -} - void gwinLabelSetBorder(GHandle gh, bool_t border) { // is it a valid handle? if (gh->vmt != (gwinVMT *)&labelVMT) diff --git a/src/gwin/gwin_label.h b/src/gwin/gwin_label.h index 04602f95..05f8ca9d 100644 --- a/src/gwin/gwin_label.h +++ b/src/gwin/gwin_label.h @@ -67,16 +67,6 @@ 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 label handle) |