From addbf47bdbc0c0ca9b217c9001b31e747c57ff95 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 17 Feb 2016 20:00:23 +1000 Subject: Move GWIN widget internal flags into the public header so that all the state flags are available for custom draw routines. --- src/gwin/gwin_keyboard.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/gwin/gwin_keyboard.h') diff --git a/src/gwin/gwin_keyboard.h b/src/gwin/gwin_keyboard.h index 1d792d7a..43f6cf76 100644 --- a/src/gwin/gwin_keyboard.h +++ b/src/gwin/gwin_keyboard.h @@ -39,6 +39,16 @@ */ typedef GEventGWin GEventGWinKeyboard; +/** + * @brief The internal keyboard flags and other defines + * @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 GKEY_BAD_ROWCOL 255 +/** @} */ + /** * @brief The keyboard widget structure * @note Do not use the members directly - treat it as a black-box. -- cgit v1.2.3