diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-01-07 00:29:56 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-01-07 00:29:56 +0100 |
commit | f3cbb02c3a9a199acfb04d543a8e160e83e00d49 (patch) | |
tree | e78340cd6d8be29920f8a53127a663c584ed2887 /include | |
parent | bb91a78156fad81f39c70289756c4e2db5fdf322 (diff) | |
download | uGFX-f3cbb02c3a9a199acfb04d543a8e160e83e00d49.tar.gz uGFX-f3cbb02c3a9a199acfb04d543a8e160e83e00d49.tar.bz2 uGFX-f3cbb02c3a9a199acfb04d543a8e160e83e00d49.zip |
GFrame code cleanup - buttons need to be implemented
Diffstat (limited to 'include')
-rw-r--r-- | include/gwin/frame.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/include/gwin/frame.h b/include/gwin/frame.h index 885d4ad5..d5272ee6 100644 --- a/include/gwin/frame.h +++ b/include/gwin/frame.h @@ -39,15 +39,25 @@ typedef struct GFrameObject { GHandle btnMax; } GFrameObject; +/** + * @brief Create a frame widget + * + * @details This widget provides a window like we know it from desktop systems. You usually use this together with + * gwinAddChild(). + * + * @param[in] g The GDisplay to display this window on + * @param[in] fo The GFrameObject structure to initialize. If this is NULL the structure is dynamically allocated. + * @param[in] pInit The initialization parameters + * @param[in] flags Some flags, see notes. + * + * @note Possible flags are: GWIN_FRAME_BORDER, GWIN_FRAME_CLOSE_BTN, GWIN_FRAME_MINMAX_BTN. + * Whether the close or the minimize maximize buttons are used, the boarder is automatically invoked. + * + * @api + */ GHandle gwinGFrameCreate(GDisplay *g, GFrameObject *fo, GWidgetInit *pInit, uint16_t flags); #define gwinFrameCreate(fo, pInit, flags) gwinGFrameCreate(GDISP, fo, pInit, flags); -GHandle gwinFrameGetClose(GHandle gh); - -GHandle gwinFrameGetMin(GHandle gh); - -GHandle gwinFrameGetMax(GHandle gh); - #endif /* _GWIN_FRAME_H */ /** @} */ |