aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-08-16 20:44:21 +1000
committerinmarket <andrewh@inmarket.com.au>2014-08-16 20:44:21 +1000
commit8e503470fe0323a22536e032481159ddf0102173 (patch)
treedee2252961e38f2f63d20ee302b250db51b675d2 /src
parent75e1e7a5e26491e942fb2b25f518d8e2e3112721 (diff)
downloaduGFX-8e503470fe0323a22536e032481159ddf0102173.tar.gz
uGFX-8e503470fe0323a22536e032481159ddf0102173.tar.bz2
uGFX-8e503470fe0323a22536e032481159ddf0102173.zip
Add extra widget flags especially for widget flag range checking.
Diffstat (limited to 'src')
-rw-r--r--src/gwin/class_gwin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gwin/class_gwin.h b/src/gwin/class_gwin.h
index b32e4da2..c4442264 100644
--- a/src/gwin/class_gwin.h
+++ b/src/gwin/class_gwin.h
@@ -32,6 +32,7 @@
* @{
*/
#define GWIN_FIRST_CONTROL_FLAG 0x00000001 // @< 8 bits free for the control to use
+#define GWIN_LAST_CONTROL_FLAG 0x00000080 // @< 8 bits free for the control to use
#define GWIN_FLG_VISIBLE 0x00000100 // @< The window is "visible"
#define GWIN_FLG_SYSVISIBLE 0x00000200 // @< The window is visible after parents are tested
#define GWIN_FLG_ENABLED 0x00000400 // @< The window is "enabled"
@@ -47,6 +48,7 @@
#define GWIN_FLG_MAXIMIZED 0x00200000 // @< The window is maximized
#define GWIN_FLG_MOUSECAPTURE 0x00400000 // @< The window has captured the mouse
#define GWIN_FIRST_WM_FLAG 0x01000000 // @< 8 bits free for the window manager to use
+#define GWIN_LAST_WM_FLAG 0x80000000 // @< 8 bits free for the window manager to use
/** @} */
/**