1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

fix(style): remove the reduntant define of LV_GRADIENT_MAX_STOPS

fixes #3752
This commit is contained in:
Gabor Kiss-Vamosi 2022-10-24 16:03:34 +02:00
parent 0732400e7b
commit 903e94b716
2 changed files with 2 additions and 7 deletions

4
lvgl.h
View File

@ -15,8 +15,8 @@ extern "C" {
***************************/
#define LVGL_VERSION_MAJOR 8
#define LVGL_VERSION_MINOR 3
#define LVGL_VERSION_PATCH 3
#define LVGL_VERSION_INFO ""
#define LVGL_VERSION_PATCH 4
#define LVGL_VERSION_INFO "dev"
/*********************
* INCLUDES

View File

@ -70,11 +70,6 @@ LV_EXPORT_CONST_INT(LV_IMG_ZOOM_NONE);
#endif
// *INDENT-ON*
/** On simple system, don't waste resources on gradients */
#if !defined(LV_DRAW_COMPLEX) || !defined(LV_GRADIENT_MAX_STOPS)
#define LV_GRADIENT_MAX_STOPS 2
#endif
#define LV_STYLE_PROP_META_INHERIT 0x8000
#define LV_STYLE_PROP_META_INITIAL 0x4000
#define LV_STYLE_PROP_META_MASK (LV_STYLE_PROP_META_INHERIT | LV_STYLE_PROP_META_INITIAL)