diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-10-24 18:36:11 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-10-24 18:36:11 +1000 |
commit | 7a7e223d152b42553f7e6ce0220dd5d736b89c56 (patch) | |
tree | 22968b7c8e779a66a2eba431545b5b292fe722cc /include/gwin/label.h | |
parent | a28dce97d877160b10a3683fbf8ea578c8405417 (diff) | |
download | uGFX-7a7e223d152b42553f7e6ce0220dd5d736b89c56.tar.gz uGFX-7a7e223d152b42553f7e6ce0220dd5d736b89c56.tar.bz2 uGFX-7a7e223d152b42553f7e6ce0220dd5d736b89c56.zip |
Add multiple display support to GWIN.
You can now create windows on multiple displays.
Diffstat (limited to 'include/gwin/label.h')
-rw-r--r-- | include/gwin/label.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |