BigW Consortium Gitlab

Commit 5b9c9c48 by Gabor Kiss-Vamosi

fix: USE_LV_SHADOW = 0 with LV_ANTIALAIS = 1

parent 9605a6b7
...@@ -70,9 +70,7 @@ static void point_swap(lv_point_t * p1, lv_point_t * p2); ...@@ -70,9 +70,7 @@ static void point_swap(lv_point_t * p1, lv_point_t * p2);
* STATIC VARIABLES * STATIC VARIABLES
**********************/ **********************/
#if LV_VDB_SIZE != 0 #if LV_VDB_SIZE != 0
# if USE_LV_SHADOW
static void (*px_fp)(lv_coord_t x, lv_coord_t y, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_vpx; static void (*px_fp)(lv_coord_t x, lv_coord_t y, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_vpx;
# endif /*USE_LV_SHADOW*/
static void (*fill_fp)(const lv_area_t * coords, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_vfill; static void (*fill_fp)(const lv_area_t * coords, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_vfill;
static void (*letter_fp)(const lv_point_t * pos_p, const lv_area_t * mask, const lv_font_t * font_p, uint32_t letter, lv_color_t color, lv_opa_t opa) = lv_vletter; static void (*letter_fp)(const lv_point_t * pos_p, const lv_area_t * mask, const lv_font_t * font_p, uint32_t letter, lv_color_t color, lv_opa_t opa) = lv_vletter;
# if USE_LV_IMG # if USE_LV_IMG
...@@ -81,7 +79,7 @@ static void (*map_fp)(const lv_area_t * cords_p, const lv_area_t * mask_p, ...@@ -81,7 +79,7 @@ static void (*map_fp)(const lv_area_t * cords_p, const lv_area_t * mask_p,
lv_color_t recolor, lv_opa_t recolor_opa) = lv_vmap; lv_color_t recolor, lv_opa_t recolor_opa) = lv_vmap;
# endif /*USE_LV_IMG*/ # endif /*USE_LV_IMG*/
#elif USE_LV_REAL_DRAW != 0 #elif USE_LV_REAL_DRAW != 0
/* px_fp used only by shadow drawing but the shadows are not drawn without VDB /* px_fp used only by shadow drawing and anti aliasing
* static void (*px_fp)(lv_coord_t x, lv_coord_t y, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_rpx; * static void (*px_fp)(lv_coord_t x, lv_coord_t y, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_rpx;
*/ */
static void (*fill_fp)(const lv_area_t * coords, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_rfill; static void (*fill_fp)(const lv_area_t * coords, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_rfill;
......
...@@ -69,10 +69,6 @@ typedef enum { ...@@ -69,10 +69,6 @@ typedef enum {
LV_IMG_SRC_UNKNOWN, LV_IMG_SRC_UNKNOWN,
}lv_img_src_t; }lv_img_src_t;
typedef enum {
LV_IMG_FILE_FORMAT_RAW, /*Raw pixel map row-by-row*/
}lv_img_file_format;
/********************** /**********************
* GLOBAL PROTOTYPES * GLOBAL PROTOTYPES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment