From ea4cadec78ba4e559f7fa1049f7d202e9e316fb7 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 7 Nov 2015 00:39:08 +0100 Subject: Revert "Adding justification parameter to gwinLabelCreate()" This reverts commit e8a769c3823eef72a9e064d3bf992152ed261ad2. --- src/gwin/gwin_label.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/gwin/gwin_label.h') diff --git a/src/gwin/gwin_label.h b/src/gwin/gwin_label.h index 05f8ca9d..aaacd253 100644 --- a/src/gwin/gwin_label.h +++ b/src/gwin/gwin_label.h @@ -38,8 +38,6 @@ typedef struct GLabelObject { GWidgetObject w; - justify_t justify; - #if GWIN_LABEL_ATTRIBUTE coord_t tab; const char* attr; @@ -57,14 +55,13 @@ extern "C" { * @param[in] g The GDisplay to display this window on * @param[in] widget The label structure to initialise. If this is NULL, the structure is dynamically allocated. * @param[in] pInit The initialisation parameters to use. - * @param[in] justify The justification. * * @return NULL if there is no resultat drawing area, otherwise the widget handle. * * @api */ -GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit, justify_t justify); -#define gwinLabelCreate(w, pInit, justify) gwinGLabelCreate(GDISP, w, pInit, justify) +GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit); +#define gwinLabelCreate(w, pInit) gwinGLabelCreate(GDISP, w, pInit) /** * @brief Border settings for the default rendering routine -- cgit v1.2.3