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
69eb3a97
Commit
69eb3a97
authored
Mar 04, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updae comments
parent
7b20da22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
3 deletions
+0
-3
lv_draw.c
lv_draw/lv_draw.c
+0
-2
lv_gauge.c
lv_objx/lv_gauge.c
+0
-1
No files found.
lv_draw/lv_draw.c
View file @
69eb3a97
...
...
@@ -347,8 +347,6 @@ void lv_draw_label(const lv_area_t * coords,const lv_area_t * mask, const lv_sty
r
=
(
hex_char_to_num
(
buf
[
0
])
<<
4
)
+
hex_char_to_num
(
buf
[
1
]);
g
=
(
hex_char_to_num
(
buf
[
2
])
<<
4
)
+
hex_char_to_num
(
buf
[
3
]);
b
=
(
hex_char_to_num
(
buf
[
4
])
<<
4
)
+
hex_char_to_num
(
buf
[
5
]);
// sscanf(buf, "%02x%02x%02x", &r, &g, &b);
recolor
=
LV_COLOR_MAKE
(
r
,
g
,
b
);
}
else
{
recolor
.
full
=
style
->
text
.
color
.
full
;
...
...
lv_objx/lv_gauge.c
View file @
69eb3a97
...
...
@@ -354,7 +354,6 @@ static void lv_gauge_draw_scale(lv_obj_t * gauge, const lv_area_t * mask)
int16_t
scale_act
=
(
int32_t
)((
int32_t
)(
max
-
min
)
*
i
)
/
(
label_num
-
1
);
scale_act
+=
min
;
lv_math_num_to_str
(
scale_act
,
scale_txt
);
// sprintf(scale_txt, "%d", scale_act);
lv_area_t
label_cord
;
lv_point_t
label_size
;
...
...
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