mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Error check for too small VDB
This commit is contained in:
parent
2b6b3aec91
commit
91b9bea35b
@ -35,6 +35,14 @@
|
|||||||
#error "LV: If LV_VDB_SIZE == 0 the antialaissing must be disabled"
|
#error "LV: If LV_VDB_SIZE == 0 the antialaissing must be disabled"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if LV_VDB_SIZE != 0 && LV_VDB_SIZE < LV_HOR_RES && LV_ANTIALIAS == 0
|
||||||
|
#error "LV: Small Virtual Display Buffer (lv_conf.h: LV_VDB_SIZE >= LV_HOR_RES)"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LV_VDB_SIZE != 0 && LV_VDB_SIZE < 2 *LV_HOR_RES && LV_ANTIALIAS != 0
|
||||||
|
#error "LV: Small Virtual Display Buffer (lv_conf.h: LV_VDB_SIZE >= (2 * LV_HOR_RES))"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*New defines*/
|
/*New defines*/
|
||||||
#define LV_OBJ_DEF_WIDTH (80 * LV_DOWNSCALE)
|
#define LV_OBJ_DEF_WIDTH (80 * LV_DOWNSCALE)
|
||||||
#define LV_OBJ_DEF_HEIGHT (60 * LV_DOWNSCALE)
|
#define LV_OBJ_DEF_HEIGHT (60 * LV_DOWNSCALE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user