revert(color): LVGL back to v8.2 (#4337)

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
philmoz
2023-11-27 21:28:32 +10:00
committed by GitHub
co-authored by Peter Feerick
parent 33997bd7f5
commit 40c992f060
9 changed files with 34 additions and 97 deletions
@@ -52,6 +52,7 @@ static lv_theme_t theme;
#define LV_STYLE_CONST_SINGLE_INIT(var_name, prop, value) \
const lv_style_t var_name = {.v_p = {.value1 = {.num = value}}, \
.prop1 = prop, \
.is_const = 0, \
.has_group = 1 << ((prop & 0x1FF) >> 4), \
.prop_cnt = 1}
@@ -59,9 +60,10 @@ static lv_theme_t theme;
// Copied from lv_style.h and modified to compile with ARM GCC C++
#define LV_STYLE_CONST_MULTI_INIT(var_name, prop_array) \
const lv_style_t var_name = {.v_p = {.const_props = prop_array}, \
.prop1 = LV_STYLE_PROP_ANY, \
.prop1 = 0, \
.is_const = 1, \
.has_group = 0xFF, \
.prop_cnt = (sizeof(prop_array) / sizeof((prop_array)[0]))}
.prop_cnt = 0}
// Opacity
LV_STYLE_CONST_SINGLE_INIT(bg_opacity_transparent, LV_STYLE_BG_OPA,