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
213e6214
Commit
213e6214
authored
Mar 09, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix text opacity
parent
5d53a9ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lv_draw_vbasic.c
lv_draw/lv_draw_vbasic.c
+7
-1
No files found.
lv_draw/lv_draw_vbasic.c
View file @
213e6214
...
...
@@ -276,7 +276,13 @@ void lv_vletter(const lv_point_t * pos_p, const lv_area_t * mask_p,
for
(
col
=
col_start
;
col
<
col_end
;
col
++
)
{
letter_px
=
(
*
map_p
&
mask
)
>>
(
8
-
col_bit
-
bpp
);
if
(
letter_px
!=
0
)
{
*
vdb_buf_tmp
=
lv_color_mix
(
color
,
*
vdb_buf_tmp
,
bpp
==
8
?
letter_px
:
bpp_opa_table
[
letter_px
]);
if
(
opa
==
LV_OPA_COVER
)
{
*
vdb_buf_tmp
=
lv_color_mix
(
color
,
*
vdb_buf_tmp
,
bpp
==
8
?
letter_px
:
bpp_opa_table
[
letter_px
]);
}
else
{
*
vdb_buf_tmp
=
lv_color_mix
(
color
,
*
vdb_buf_tmp
,
bpp
==
8
?
(
uint16_t
)((
uint16_t
)
letter_px
*
opa
)
>>
8
:
(
uint16_t
)((
uint16_t
)
bpp_opa_table
[
letter_px
]
*
opa
)
>>
8
);
}
}
vdb_buf_tmp
++
;
...
...
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