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
4fce2f39
Commit
4fce2f39
authored
Dec 11, 2017
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LV_INDEV_POINT_MARKER bugfix
parent
ce616099
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lv_conf_templ.h
lv_conf_templ.h
+3
-3
lv_indev.c
lv_core/lv_indev.c
+1
-1
No files found.
lv_conf_templ.h
View file @
4fce2f39
...
...
@@ -27,8 +27,8 @@
*=====================*/
/* Horizontal and vertical resolution of the library.*/
#define LV_HOR_RES
80
0
#define LV_VER_RES
48
0
#define LV_HOR_RES
32
0
#define LV_VER_RES
24
0
#define LV_DPI 100
/* Buffered rendering: >= LV_DOWNSCALE * lv_disp_hor_res() or 0 to disable buffering*/
...
...
@@ -66,7 +66,7 @@
#define LV_INDEV_LONG_PRESS_REP_TIME 100 /*Repeated trigger period in long press [ms] */
/*Color settings*/
#define LV_COLOR_DEPTH
24
#define LV_COLOR_DEPTH
16
#define LV_COLOR_TRANSP LV_COLOR_LIME /*Images pixels with this color will not be drawn (chroma keying)*/
/*Text settings*/
...
...
lv_core/lv_indev.c
View file @
4fce2f39
...
...
@@ -314,7 +314,7 @@ static void indev_proc_point(lv_indev_proc_t * indev)
{
if
(
indev
->
state
==
LV_INDEV_STATE_PR
){
#if LV_INDEV_POINT_MARKER != 0
area_t
area
;
lv_
area_t
area
;
area
.
x1
=
indev
->
act_point
.
x
-
(
LV_INDEV_POINT_MARKER
>>
1
);
area
.
y1
=
indev
->
act_point
.
y
-
(
LV_INDEV_POINT_MARKER
>>
1
);
area
.
x2
=
indev
->
act_point
.
x
+
((
LV_INDEV_POINT_MARKER
>>
1
)
|
0x1
);
...
...
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