aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gcontainer.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-10 18:20:05 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-10 18:20:05 +1000
commit5544202a26da6ec74c51eb1bac9499d434b133ba (patch)
tree5533f2b5854270c94e395e6693272735559cf8a0 /src/gwin/gcontainer.h
parent890653111b978f13b9f168c7308926d7e6a04e6c (diff)
downloaduGFX-5544202a26da6ec74c51eb1bac9499d434b133ba.tar.gz
uGFX-5544202a26da6ec74c51eb1bac9499d434b133ba.tar.bz2
uGFX-5544202a26da6ec74c51eb1bac9499d434b133ba.zip
All compiling.
Containers and Frames still to be tested.
Diffstat (limited to 'src/gwin/gcontainer.h')
-rw-r--r--src/gwin/gcontainer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gwin/gcontainer.h b/src/gwin/gcontainer.h
index 61852c7c..8159797c 100644
--- a/src/gwin/gcontainer.h
+++ b/src/gwin/gcontainer.h
@@ -79,6 +79,20 @@ extern "C" {
* @api
*/
GHandle gwinGetSibling(GHandle gh);
+
+ /**
+ * @brief Create a simple container.
+ * @return NULL if there is no resultant drawing area, otherwise a window handle.
+ *
+ * @param[in] g The GDisplay to display this window on
+ * @param[in] gb The GContainerObject structure to initialise. If this is NULL the structure is dynamically allocated.
+ * @param[in] pInit The initialisation parameters
+ *
+ * @api
+ */
+ GHandle gwinGContainerCreate(GDisplay *g, GContainerObject *gw, const GWidgetInit *pInit);
+ #define gwinContainerCreate(gc, pInit) gwinGContainerCreate(GDISP, gc, pInit)
+
#ifdef __cplusplus
}
#endif