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

7853 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
933d67fe5b
docs(event): tell to not adjust widgets in draw events
fixes #3009
2022-01-19 12:34:13 +01:00
Mariotaku
d33db6bb59
feat(sdl): support rounded images (#3012)
* added radius mask for rounded img

* improved mask composite
improved image zoom fidelity

* implementing sdl image radius

* low performance radius img drawing

* improved rounded image performance

* improved rounded image performance

* improved rounded image blending

* pixel perfect rounded image for SDL

* accurate drawing only

* supports rounded img for rect as well

* fixed mask check when zoomed

* surrounded rounded mask in lv_img with draw_complex check

* updated docs

* fixed build issue

* aware of clip_corner property

* reverted lv_img.c

* updated docs
2022-01-18 11:41:45 +01:00
Gabor Kiss-Vamosi
0921dfc8cd fix(switch): make knob height calculation similar to slider
That is use the switch's full height without padding as default knob height
2022-01-18 11:25:23 +01:00
Man, Jianting (Meco)
1df510ebe1
doc(rt-thread): update documentation (#3017) 2022-01-17 19:53:41 -05:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes (#3008)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
Carlos Diaz
a9a6cb8efd
fix(span): explicitly set span->txt to the return value of lv_mem_realloc(#3005)
* Update lv_span.c

Explicitly set `span->txt` to return of `lv_mem_realloc`

* Update lv_mem.h

Add note about `lv_mem_realloc` return value on failure
2022-01-17 13:18:19 +01:00
Gabor Kiss-Vamosi
138db9c5d6 fix(draw): add grad_cache_mem to GC_ROOTs 2022-01-17 11:30:38 +01:00
Gabriel Wang
e24f58962b
feat(cmsis-pack): add cmsis-pack support (#2993)
* feat: add cmsis-pack for lvgl

* feat: add porting to cmsis-pack

* fix template compilation issue

* Update lv_cmsis_pack.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* feat(cmsis-pack): prevent lv_cmsis_pack.c from being automatically picked by IDE like eclipse.

- catchup the latest master

* move all cmsis pack related files to cmsis-pack folder

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-15 21:31:55 +01:00
Gabor Kiss-Vamosi
b4a64216cf chore(demo): uncomment table stress test 2022-01-15 21:08:23 +01:00
Gabor Kiss-Vamosi
8d52de14b3 fix(table, chart): fix memory leaks
fixes #2967
2022-01-15 20:43:17 +01:00
Gabor Kiss-Vamosi
6266851381
docs(gpu): link style properties and boxing model
related to #2988
2022-01-15 20:19:12 +01:00
Gabor Kiss-Vamosi
7c8adba839 chore: fix warning 2022-01-15 20:02:02 +01:00
Gabor Kiss-Vamosi
86525c35ba chore(lv_conf): add comment about the widgets demo might require more memory 2022-01-15 19:57:19 +01:00
Gabor Kiss-Vamosi
46c6cb99d3
Update bug-report.md 2022-01-15 19:51:21 +01:00
Gabor Kiss-Vamosi
0388d9218a
docs(faq): add "LVGL doesn't start, nothing is drawn on the display" section 2022-01-15 14:31:23 +01:00
Gabor Kiss-Vamosi
5709528550 fix(roller): clip overflowing text 2022-01-15 13:56:39 +01:00
Gabor Kiss-Vamosi
49642d3891 fix(draw): add lv_draw_sw_bg 2022-01-15 13:46:36 +01:00
Tomas Rezucha
e7a0f3b99c
fix various issues for esp32 (#3007)
* kconfig: Fix invalid dependancy in fsdrv

LV_USE_FS_* symbols are integers, instead of usual booleans.
We must treat them as such.

* ci: Get LVGL version from git tag

* docu: Update Espressif readme

* ci run apt update before installing
2022-01-14 12:47:49 -05:00
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