diff options
Diffstat (limited to 'src/gwin/gwin_label.h')
-rw-r--r-- | src/gwin/gwin_label.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gwin/gwin_label.h b/src/gwin/gwin_label.h index 84836bf2..8c7c9fd5 100644 --- a/src/gwin/gwin_label.h +++ b/src/gwin/gwin_label.h @@ -38,6 +38,8 @@ typedef struct GLabelObject { GWidgetObject w; + justify_t justify; + #if GWIN_LABEL_ATTRIBUTE coord_t tab; const char* attr; @@ -55,13 +57,14 @@ 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); -#define gwinLabelCreate(w, pInit) gwinGLabelCreate(GDISP, w, pInit) +GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit, justify_t justify); +#define gwinLabelCreate(w, pInit, justify) gwinGLabelCreate(GDISP, w, pInit, justify) /** * @brief Border settings for the default rendering routine |