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
ee4a4190
Commit
ee4a4190
authored
Jan 16, 2018
by
Zaltora
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix warning with VDB and shadow selection
parent
1c347770
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lv_draw.c
lv_draw/lv_draw.c
+4
-2
No files found.
lv_draw/lv_draw.c
View file @
ee4a4190
...
...
@@ -45,7 +45,7 @@ static void lv_draw_rect_main_mid(const lv_area_t * coords, const lv_area_t * ma
static
void
lv_draw_rect_main_corner
(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_style_t
*
style
);
static
void
lv_draw_rect_border_straight
(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_style_t
*
style
);
static
void
lv_draw_rect_border_corner
(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_style_t
*
style
);
#if USE_LV_SHADOW
#if USE_LV_SHADOW
&& LV_VDB_SIZE
static
void
lv_draw_rect_shadow
(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_style_t
*
style
);
static
void
lv_draw_cont_shadow_full
(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_style_t
*
style
);
static
void
lv_draw_cont_shadow_bottom
(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_style_t
*
style
);
...
...
@@ -62,12 +62,14 @@ 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
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
(
*
map_fp
)(
const
lv_area_t
*
coords
,
const
lv_area_t
*
mask
,
const
lv_color_t
*
map_p
,
lv_opa_t
opa
,
bool
transp
,
bool
upscale
,
lv_color_t
recolor
,
lv_opa_t
recolor_opa
)
=
lv_vmap
;
#else
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
(
*
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_rletter
;
#if USE_LV_IMG
...
...
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