1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

7735 Commits

Author SHA1 Message Date
X-Ryl669
37c038569c
feat(event): add preprocessing and stop bubbling features for events (#3003) 2022-01-13 17:38:51 +01:00
Mariotaku
49dc90a2b6
fix(sdl): fix clipped image drawing (#2992)
* fixed clipped image drawing

* make sdl blend mode a feature toggle

* improved textarea cursor fidelity

* added some comment to config

* updated config header

* updated formatting
2022-01-13 16:56:56 +01:00
X-Ryl669
38ad11966a
fix(draw): missed bg_color renaming in the draw function (#3002) 2022-01-13 13:02:23 +01:00
Gabor Kiss-Vamosi
e3b43eec94
docs(gesture): clarify gesture triggering with scrolling
related to #2995
2022-01-12 17:38:34 +01:00
Gabriel Wang
da0b891a28
fix(porting): fix typo and an unmatched prototype (#2998) 2022-01-12 15:18:09 +01:00
_VIFEXTech
85a582a6df
fix(conf) add missing LV_LOG_LEVEL default definition (#2996)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* fix(conf) add missing LV_LOG_LEVEL default definition

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-01-12 15:14:49 +01:00
guoweilkd
84c22ec7ed
fix(refr): crash if full_refresh = 1 (#2999) 2022-01-12 14:10:07 +01:00
Gabor Kiss-Vamosi
00d4ef3c53
docs(contributing): remove the mentioning of the dev branch 2022-01-11 16:54:16 +01:00
X-Ryl669
6617385f8a
feat(draw): add gradient dithering support (#2872)
* Add dithering to gradients

* Add support for 8x8 matrix for ordered dithering

* Fix CI errors

* Try error diffusion on vertical gradient too

* Vertical error diffusion dithering

* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).

* Reduce the binary size of the code by sharing the dithering table when appropriate.

* Fix CI

* Fix CI

* Review corrections

* Fix union mapping

* Revert bg_color changes

* Fix for keeping bg_color in the API.

* Fix after review

* Add support for setting multiple stops per gradient in the style API

* Let's make an example

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-11 12:38:30 +01:00
_VIFEXTech
89389d3c96
fix(Kconfig): adapt to lvgl's built-in demos (#2989)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* feat(Kconfig) adapt to lvgl's built-in demos

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-01-11 11:43:13 +01:00
Gabor Kiss-Vamosi
0645af32a2 doc(gpu): add a page for external GPU support and draw_ctx
related to: #2988
2022-01-11 11:35:28 +01:00
Gabor Kiss-Vamosi
d6c0d791f7
chore(docs): fix wording 2022-01-10 21:59:33 +01:00
Gabor Kiss-Vamosi
a1310cab2e
chore(docs): fix link 2022-01-10 21:57:04 +01:00
Gabor Kiss-Vamosi
6ce73486d3
docs(porting): add more details about adding lvgl to your project 2022-01-10 21:16:56 +01:00
Gabriel Wang
77dc456d55
docs(porting): remove duplicated content (#2984)
* docs(porting): remove duplicated content

* Update docs/porting/display.md

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-10 20:32:17 +01:00
Gabor Kiss-Vamosi
a5fbf22d41
chore(docs): fix lv_list_add_text
fixes: #2980
2022-01-10 12:10:50 +01:00
_VIFEXTech
828744f11d
fix(Makefile): compilation errors (#2944)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* fix(Makefile) compilation errors

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-01-10 11:17:03 +01:00
Gabor Kiss-Vamosi
305284c2b5 fix(conf) define LV_LOG_TRACE_... to 0 in lv_conf_internal.h to avoid warnings 2022-01-10 11:16:09 +01:00
Gabor Kiss-Vamosi
0a5a07278e chore(slider): fix warning 2022-01-08 13:57:58 +01:00
Gabor Kiss-Vamosi
bfc8edf802 fix(event): handle object deletion in indev->fedback_cb
fixes #2906
2022-01-08 13:57:32 +01:00
Gabor Kiss-Vamosi
9d3fb41896 feat(slider): consider ext_click_area on the knob with LV_OBJ_FLAG_ADV_HITTEST 2022-01-08 13:48:35 +01:00
guoweilkd
3d1ea607f2
feat(span): lv_spangroup_get_expand_width() adds a parameter (#2968)
BREAKING CHANGE: from now lv_spangroup_get_expand_width() has a max_width parameter too.
2022-01-07 21:33:30 +01:00
Gabor Kiss-Vamosi
f8b29c5b6c
chore(docs): describe the directory layout for Arduino 2022-01-07 19:46:14 +01:00
Tyler
27fbf3c0e6
feat(symbols): add guards to LV_SYMBOL_* to allow redefining them (#2973) 2022-01-07 14:57:27 +01:00
Almir Mehanović
8bbbdf7c07
fix(rlottie): fix variable name (#2971)
Couldn't compile because 'c': undeclared identifier error
2022-01-06 22:12:29 +01:00
Tijs van Roon
9b1335c622
fix(group): in lv_group_del() remove group from indev (lvgl#2963) (#2964) 2022-01-06 21:58:26 +01:00
guoweilkd
e00b51b04f
fix(obj): old parent's scroll is not updated in lv_obj_set_parent() (#2965) 2022-01-06 21:56:53 +01:00
embeddedt
6b841555cd
ci switch to codecov v2
Related: #2663
2022-01-06 11:03:52 -05:00
Themba Dube
7ed1a5625a docs(widgets) fix edit links 2022-01-06 10:30:02 -05:00
Konstantinos Papadopoulos
343515cd4d
fix(fatfs) add missing cast (#2969)
f_tell requires a FIL type pointer causing compiling to fail.
2022-01-06 09:05:44 -05:00
xaowang96
ddae70f741
fix(snapshot) fix memory leak (#2970)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Co-authored-by: Themba Dube <embeddedthemba@gmail.com>
2022-01-06 08:56:53 -05:00
Gabor Kiss-Vamosi
e7ac0e4198 feat(obj): add LV_OBJ_FLAG_OVERFLOW_VISIBLE 2022-01-05 16:18:19 +01:00
Gabor Kiss-Vamosi
2d8476438b chore(example): fix image path in lv_example_btnmatrix_2.py 2022-01-05 13:46:11 +01:00
guoweilkd
ee3aa07a83
feat(obj): subdivide LV_OBJ_FLAG_SCROLL_CHAIN into ...CHAIN_HOR and ...CHAIN_VER (#2961)
* feat(obj scroll):subdivide LV_OBJ_FLAG_SCROLL_CHAIN into ...CHAIN_HOR and ...CHAIN_VER

* feat(roller):open the horizontal scroll chain

* chore(docs):improve the description of scroll chain
2022-01-05 13:44:05 +01:00
Gabor Kiss-Vamosi
0a1d7d9ef2 chore(example): fix image path in lv_example_snapshot_1.py 2022-01-05 13:38:46 +01:00
Gabor Kiss-Vamosi
6b82d7a356
Update arduino.md 2022-01-05 13:36:24 +01:00
Gabor Kiss-Vamosi
6701d36afe fix: remove symlinks to be accepted as an Ardunio library
See c60ed68e94 (r62838038)
2022-01-05 10:08:10 +01:00
Mariotaku
9bbf661dd4
perf(sdl): optimize the use of SDL_RenderSetClipRect (#2941)
* reduce SDL_RenderSetClipRect as much as possible

* added some comments

* removing draw_sw usage

* fixed import

* implemented polygon drawing

* supports subimage for sdl texture based images

* fixed formatting

* removed unused code

* cleanup

* cleanup

* formatted code
2022-01-05 10:01:18 +01:00
patricklaf
edb207e27c
chore(docs) fix typo in btnmatrix.md (#2960)
Fix typo.
2022-01-05 09:59:24 +01:00
embeddedt
b4986ab5dc
docs(switch) improve wording
Fixes #2927
2022-01-04 21:38:15 -05:00
Dirk Schlichte
05382b95de
fix(examples) move event callback registration outside loop in lv_example_event_3 (#2959) 2022-01-04 10:55:00 -05:00
Gabor Kiss-Vamosi
6c64e81b15
chore: fix typo in docs 2022-01-04 16:20:21 +01:00
Gabor Kiss-Vamosi
4a07280b4a
chore: update roadmap 2022-01-04 15:32:35 +01:00
Gabor Kiss-Vamosi
364ca3ca17 fix(bar, slider): fix shadow drawing on short indicators
The issue is related to the case when the indicator is short but the main part (bg) clips it with a larger radius.
In this case this indicaotr might have a strange shape, like
 _
/ |
| |
\_|

We can't draw a shadow like this, so the indicator has to be et least a square,
to be sure it's not clipped to an ugly shape.

The previous code considered the bg radius to decide whether to draw shadow on short indicators or not.
However if the indicator's radius should be considered, becuse if its area at least a square
we can already draw shadows.
2022-01-04 10:49:07 +01:00
Gabor Kiss-Vamosi
81bfb765e5 fix(draw): futher bg_img draw fixes 2022-01-04 10:27:34 +01:00
Gabor Kiss-Vamosi
c63fb1c593 chore: fix warning 2022-01-03 21:42:04 +01:00
Gabor Kiss-Vamosi
d51aea4dff fix(draw): consider opa and clip corner on bg_img 2022-01-03 21:23:12 +01:00
Gabor Kiss-Vamosi
5a0dbccf89 fix(draw): fix indexed image drawing 2022-01-03 20:10:55 +01:00
Gabor Kiss-Vamosi
1092550775 fix(png) check png magic number to be sure it's a png image 2022-01-03 20:10:26 +01:00
Gabor Kiss-Vamosi
92016ccac7 demo(music): fix warnings and old draw functions 2022-01-03 14:53:00 +01:00