From 248335c513fe92d1629f2c34c5777ef9b628d09e Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 24 Oct 2013 04:13:07 +0200 Subject: Added gwinLabelSetBorder() --- include/gwin/label.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'include/gwin/label.h') diff --git a/include/gwin/label.h b/include/gwin/label.h index c11b5c72..3156ca71 100644 --- a/include/gwin/label.h +++ b/include/gwin/label.h @@ -39,8 +39,8 @@ extern "C" { #endif /** - * @brief Create a label widget. - * @details A label widget is a simple window which has a static text. + * @brief Create a label widget. + * @details A label widget is a simple window which has a static text. * * @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. @@ -51,6 +51,16 @@ extern "C" { */ GHandle gwinLabelCreate(GLabelObject *widget, GWidgetInit *pInit); +/** + * @brief Border settings for the default rendering routine + * + * @param[in] gh The widget handle (must be a list handle) + * @param[in] border Shall a border be rendered? + * + * @api + */ +void gwinLabelSetBorder(GHandle gh, bool_t border); + #ifdef __cplusplus } #endif -- cgit v1.2.3 From 7a7e223d152b42553f7e6ce0220dd5d736b89c56 Mon Sep 17 00:00:00 2001 From: inmarket Date: Thu, 24 Oct 2013 18:36:11 +1000 Subject: Add multiple display support to GWIN. You can now create windows on multiple displays. --- include/gwin/label.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/gwin/label.h') diff --git a/include/gwin/label.h b/include/gwin/label.h index 3156ca71..3fe0f3d7 100644 --- a/include/gwin/label.h +++ b/include/gwin/label.h @@ -42,6 +42,7 @@ extern "C" { * @brief Create a label widget. * @details A label widget is a simple window which has a static text. * + * @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. * @@ -49,7 +50,8 @@ extern "C" { * * @api */ -GHandle gwinLabelCreate(GLabelObject *widget, GWidgetInit *pInit); +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