aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_frame.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2016-02-10 13:57:04 +1000
committerinmarket <andrewh@inmarket.com.au>2016-02-10 13:57:04 +1000
commit507fb2d57e2d76d4a268e664efd3c59431132061 (patch)
tree606ebdd06770ee953439f6867db6816cdec5d5b0 /src/gwin/gwin_frame.h
parent3847f54dae60c10268c054590859ad20f95b54a1 (diff)
downloaduGFX-507fb2d57e2d76d4a268e664efd3c59431132061.tar.gz
uGFX-507fb2d57e2d76d4a268e664efd3c59431132061.tar.bz2
uGFX-507fb2d57e2d76d4a268e664efd3c59431132061.zip
Add GWIN_FRAME_KEEPONCLOSE flag to prevent destruction of a frame on close
Diffstat (limited to 'src/gwin/gwin_frame.h')
-rw-r--r--src/gwin/gwin_frame.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gwin/gwin_frame.h b/src/gwin/gwin_frame.h
index 18af2e50..45c97b53 100644
--- a/src/gwin/gwin_frame.h
+++ b/src/gwin/gwin_frame.h
@@ -31,9 +31,10 @@
* @brief Flags for gwinFrameCreate()
* @{
*/
-#define GWIN_FRAME_BORDER 0x00000000 // Deprecated. A border is always shown with a frame window now.
-#define GWIN_FRAME_CLOSE_BTN 0x00000001
-#define GWIN_FRAME_MINMAX_BTN 0x00000002
+#define GWIN_FRAME_BORDER 0x00000000 /**< Deprecated. A border is always shown with a frame window now. */
+#define GWIN_FRAME_CLOSE_BTN 0x00000001 /**< Should a close button be shown? */
+#define GWIN_FRAME_MINMAX_BTN 0x00000002 /**< Should minimize and maximize buttons be shown? */
+#define GWIN_FRAME_KEEPONCLOSE 0x00000004 /**< Don't automatically destroy the frame on close */
/** @} */
typedef GContainerObject GFrameObject;