From a54434519f402fbc8812ac0abc7598dfcb98982f Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 27 Aug 2016 12:23:26 +0200 Subject: [PATCH] cc_types.h: add compatible types shadow types CC_SHADOW_ON is should compatible Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/147246cead516c67901cad7948487a2438a5a57c Author: Thilo Graf Date: 2016-08-27 (Sat, 27 Aug 2016) --- src/gui/components/cc_types.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/gui/components/cc_types.h b/src/gui/components/cc_types.h index 4a6628ba9..5fc909f0e 100644 --- a/src/gui/components/cc_types.h +++ b/src/gui/components/cc_types.h @@ -186,10 +186,13 @@ typedef struct cc_string_ext_txt_t #define CC_WIDTH_MIN 16 #define CC_HEIGHT_MIN 16 -#define CC_SHADOW_OFF 0 -#define CC_SHADOW_ON 1 -#define CC_SHADOW_RIGHT 2 -#define CC_SHADOW_BOTTOM 4 +#define CC_SHADOW_OFF 0x0 +#define CC_SHADOW_RIGHT 0x2 +#define CC_SHADOW_BOTTOM 0x4 +#define CC_SHADOW_CORNER_BOTTOM_LEFT 0x8 +#define CC_SHADOW_CORNER_BOTTOM_RIGHT 0x10 +#define CC_SHADOW_CORNER_TOP_RIGHT 0x20 +#define CC_SHADOW_ON CC_SHADOW_RIGHT | CC_SHADOW_BOTTOM | CC_SHADOW_CORNER_BOTTOM_LEFT | CC_SHADOW_CORNER_BOTTOM_RIGHT | CC_SHADOW_CORNER_TOP_RIGHT #define CC_SAVE_SCREEN_YES true #define CC_SAVE_SCREEN_NO false