mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 09:43:41 +08:00
chore(svg): LV_USE_SVG: document and enforce dependency on LV_USE_VECTOR_GRAPHIC (#7120)
This commit is contained in:
parent
014f328dc9
commit
657915f6b6
@ -907,7 +907,8 @@
|
||||
/** Use external LZ4 library */
|
||||
#define LV_USE_LZ4_EXTERNAL 0
|
||||
|
||||
/*SVG library*/
|
||||
/*SVG library
|
||||
* - Requires `LV_USE_VECTOR_GRAPHIC = 1` */
|
||||
#define LV_USE_SVG 0
|
||||
#define LV_USE_SVG_ANIMATION 0
|
||||
#define LV_USE_SVG_DEBUG 0
|
||||
|
@ -11,7 +11,11 @@
|
||||
*********************/
|
||||
#include "../../lv_conf_internal.h"
|
||||
|
||||
#if LV_USE_SVG && LV_USE_VECTOR_GRAPHIC
|
||||
#if LV_USE_SVG
|
||||
#if !LV_USE_VECTOR_GRAPHIC
|
||||
#error "LV_USE_SVG requires LV_USE_VECTOR_GRAPHIC = 1"
|
||||
#endif
|
||||
|
||||
#include "lv_svg.h"
|
||||
#include "../../misc/lv_types.h"
|
||||
#include "../../draw/lv_draw_vector_private.h"
|
||||
|
@ -2900,7 +2900,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*SVG library*/
|
||||
/*SVG library
|
||||
* - Requires `LV_USE_VECTOR_GRAPHIC = 1` */
|
||||
#ifndef LV_USE_SVG
|
||||
#ifdef CONFIG_LV_USE_SVG
|
||||
#define LV_USE_SVG CONFIG_LV_USE_SVG
|
||||
|
Loading…
Reference in New Issue
Block a user