aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin/gwin_keyboard.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2016-02-18 00:17:38 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2016-02-18 00:17:38 +0100
commit3a840480edda367902cc71416e37f6eb92bce438 (patch)
treea3472fc2e524b8d8e1fa6292d90c9a592d8a419d /src/gwin/gwin_keyboard.h
parent7b6a1acea545df522ac8e12666dc208f9cd605ee (diff)
downloaduGFX-3a840480edda367902cc71416e37f6eb92bce438.tar.gz
uGFX-3a840480edda367902cc71416e37f6eb92bce438.tar.bz2
uGFX-3a840480edda367902cc71416e37f6eb92bce438.zip
Move GWIN widget internal flags into the public header so that all the state flags are available for custom draw routines.
Diffstat (limited to 'src/gwin/gwin_keyboard.h')
-rw-r--r--src/gwin/gwin_keyboard.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gwin/gwin_keyboard.h b/src/gwin/gwin_keyboard.h
index 43f6cf76..2b1e2627 100644
--- a/src/gwin/gwin_keyboard.h
+++ b/src/gwin/gwin_keyboard.h
@@ -44,8 +44,8 @@ typedef GEventGWin GEventGWinKeyboard;
* @note Used only for writing a custom draw routine.
* @{
*/
-#define GKEYBOARD_FLG_REVERTSET (GWIN_FIRST_CONTROL_FLAG<<0)
-#define GKEYBOARD_FLG_QUICKUPDATE (GWIN_FIRST_CONTROL_FLAG<<1)
+#define GKEYBOARD_FLG_REVERTSET (0x00000001<<0)
+#define GKEYBOARD_FLG_QUICKUPDATE (0x00000001<<1)
#define GKEY_BAD_ROWCOL 255
/** @} */