1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

use a fix value LV_RADIUS_CIRCLE

It messed up roundind when lv_coord_t is int32_t
This commit is contained in:
Gabor Kiss-Vamosi 2020-03-04 12:15:26 +01:00
parent e1b188f705
commit f9bcde4e6f

View File

@ -24,7 +24,7 @@ extern "C" {
/********************* /*********************
* DEFINES * DEFINES
*********************/ *********************/
#define LV_RADIUS_CIRCLE (LV_COORD_MAX) /**< A very big radius to always draw as circle*/ #define LV_RADIUS_CIRCLE (0x7FFF) /**< A very big radius to always draw as circle*/
LV_EXPORT_CONST_INT(LV_RADIUS_CIRCLE); LV_EXPORT_CONST_INT(LV_RADIUS_CIRCLE);
#define LV_DEBUG_STYLE_SENTINEL_VALUE 0x2288AAEE #define LV_DEBUG_STYLE_SENTINEL_VALUE 0x2288AAEE