diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2016-02-18 00:17:38 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2016-02-18 00:17:38 +0100 |
commit | 3a840480edda367902cc71416e37f6eb92bce438 (patch) | |
tree | a3472fc2e524b8d8e1fa6292d90c9a592d8a419d /src/gwin/gwin_list.h | |
parent | 7b6a1acea545df522ac8e12666dc208f9cd605ee (diff) | |
download | uGFX-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_list.h')
-rw-r--r-- | src/gwin/gwin_list.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gwin/gwin_list.h b/src/gwin/gwin_list.h index a60ded9d..01ac0b0b 100644 --- a/src/gwin/gwin_list.h +++ b/src/gwin/gwin_list.h @@ -81,11 +81,11 @@ typedef enum scroll_t { scrollAlways, scrollAuto, scrollSmooth } scroll_t; * @note Used only for writing a custom draw routine. * @{ */ -#define GLIST_FLG_MULTISELECT (GWIN_FIRST_CONTROL_FLAG << 0) -#define GLIST_FLG_HASIMAGES (GWIN_FIRST_CONTROL_FLAG << 1) -#define GLIST_FLG_SCROLLALWAYS (GWIN_FIRST_CONTROL_FLAG << 2) -#define GLIST_FLG_SCROLLSMOOTH (GWIN_FIRST_CONTROL_FLAG << 3) -#define GLIST_FLG_ENABLERENDER (GWIN_FIRST_CONTROL_FLAG << 4) +#define GLIST_FLG_MULTISELECT (0x00000001 << 0) +#define GLIST_FLG_HASIMAGES (0x00000001 << 1) +#define GLIST_FLG_SCROLLALWAYS (0x00000001 << 2) +#define GLIST_FLG_SCROLLSMOOTH (0x00000001 << 3) +#define GLIST_FLG_ENABLERENDER (0x00000001 << 4) /** @} */ /** |