From 82287d168fc7544b0cd95b135eb59eea5d084f3b Mon Sep 17 00:00:00 2001 From: Tibo Clausen Date: Mon, 1 Oct 2018 15:51:36 +0200 Subject: Change gwinLabelDraw to gwinLabelDrawJustified --- src/gwin/gwin_label.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/gwin/gwin_label.h') diff --git a/src/gwin/gwin_label.h b/src/gwin/gwin_label.h index 9308efae..a3ba7a0d 100644 --- a/src/gwin/gwin_label.h +++ b/src/gwin/gwin_label.h @@ -112,13 +112,22 @@ void gwinLabelSetBorder(GHandle gh, gBool border); * * @note In your custom label drawing function you may optionally call these * standard functions and then draw your extra details on top. - * @note The built-in functions below ignore the param parameter. * @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 Renders a label with the text justified based on the parameter. + * + * @param[in] gw The widget object (must be a label object) + * @param[in] param A parameter passed in from the user. Must be of type gJustify. + * + * @api + */ +void gwinLabelDrawJustified(GWidgetObject *gw, void *param); + /** * @brief Renders a label with the text left jestified. * -- cgit v1.2.3