BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
5b9c9c48
Commit
5b9c9c48
authored
Feb 27, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: USE_LV_SHADOW = 0 with LV_ANTIALAIS = 1
parent
9605a6b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
lv_draw.c
lv_draw/lv_draw.c
+1
-3
lv_draw.h
lv_draw/lv_draw.h
+0
-4
No files found.
lv_draw/lv_draw.c
View file @
5b9c9c48
...
...
@@ -70,9 +70,7 @@ static void point_swap(lv_point_t * p1, lv_point_t * p2);
* STATIC VARIABLES
**********************/
#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
;
# 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
(
*
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
...
...
@@ -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
;
# endif
/*USE_LV_IMG*/
#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
(
*
fill_fp
)(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
lv_color_t
color
,
lv_opa_t
opa
)
=
lv_rfill
;
...
...
lv_draw/lv_draw.h
View file @
5b9c9c48
...
...
@@ -69,10 +69,6 @@ typedef enum {
LV_IMG_SRC_UNKNOWN
,
}
lv_img_src_t
;
typedef
enum
{
LV_IMG_FILE_FORMAT_RAW
,
/*Raw pixel map row-by-row*/
}
lv_img_file_format
;
/**********************
* GLOBAL PROTOTYPES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment