From 3a840480edda367902cc71416e37f6eb92bce438 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Thu, 18 Feb 2016 00:17:38 +0100 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_list.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gwin/gwin_list.h') 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) /** @} */ /** -- cgit v1.2.3