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

7647 Commits

Author SHA1 Message Date
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
Gabor Kiss-Vamosi
49bf663dad
chore(docs) clean up toc 2022-01-03 14:36:23 +01:00
Gabor Kiss-Vamosi
28ffae8c93
docs(style): describe const styles 2022-01-03 14:04:38 +01:00
Gabor Kiss-Vamosi
380317a6cd
chore(docs): attempt to fix messed up toc tree 2022-01-03 13:52:17 +01:00
Gabor Kiss-Vamosi
2719862fc3
docs(indev): add description about gestures 2022-01-03 13:39:14 +01:00
Gabor Kiss-Vamosi
5c19b8f99b
chore(docs): update old links 2022-01-03 13:29:12 +01:00
Malte Langermann
9ca4f56c0e
fix(canvas): off by one error in size check in lv_canvas_copy_buf (#2950) 2022-01-03 12:41:04 +01:00
Man, Jianting (Meco)
df044e4cb8
doc(rt-thread): add rt-thread documentation (#2951)
* feat(rt-thread): add rt-thread doc

* readme(rt-thread): add rt-thread RTOS
2022-01-03 10:10:27 +01:00
Carlos Diaz
205a85b5d6
fix(indev) add braces to avoid compiler warning (#2947) 2021-12-30 16:04:49 -05:00
Themba Dube
5c52b482a9 build(cmake) add support for demos 2021-12-29 16:19:16 -05:00
Themba Dube
02a6614b38 docs add demos 2021-12-29 16:10:36 -05:00
Man, Jianting (Meco)
26ea9b00fc
docs(display) fix typo (#2946) 2021-12-29 09:06:18 -05:00
Gabor Kiss-Vamosi
b03dc9cf86 example(table): fix text alignment 2021-12-22 21:18:07 +01:00
Gabor Kiss-Vamosi
2392f585bb fix(btnmatrix): fix crash if an empty btnmatrix is pressed 2021-12-22 21:18:07 +01:00
Mariotaku
fc25194ed5
feat(draw): add draw_bg callback to draw_ctx #2934 (#2935)
* this is for #2934
reduced usage of blend mode
introduced draw_bg for draw_ctx

* fixed formatting
2021-12-22 19:03:44 +01:00
Gabor Kiss-Vamosi
4d61f38020 fix(label): dot not add dots if the label height > 1 font line height
fixes: #2907
2021-12-22 17:55:47 +01:00
Gabor Kiss-Vamosi
d3b7b4acfd chore(draw): add lv_draw_sw_wait_for_finish 2021-12-22 17:01:36 +01:00
xennex22
935caa64e4
fix: fix parameter order in function prototypes (#2929)
* Fixed inconsistent header for find_track_end()

* Fixed inconsistent header for lv_tileview_add_tile()

* Made ptr const in lv_tlsf_free()

* Made ptr const in lv_tlsf_free()

* Corrected lv_bar_set_value() calls

* Corrected use of bool for lv_anim_enable_t

* Fixed uninitialised variable for performance monitor

* Undo fix
2021-12-21 20:09:49 +01:00
Gabor Kiss-Vamosi
4b37052613 chore: fix warnings 2021-12-21 16:18:06 +01:00
Gabor Kiss-Vamosi
11b54a2086 chore: fix warnings 2021-12-21 16:06:11 +01:00
Gabor Kiss-Vamosi
db53ea925c arch(draw): allow replacing the draw engine
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
guoweilkd
0831b6ba76
fix(style):add const qualifier for lv_style_get_prop() (#2933) 2021-12-21 15:09:17 +01:00
embeddedt
5bb3686ea8
ci fix check style action
The ability for lvgl-bot to format isn't being added.
2021-12-21 08:57:46 -05:00
Gabor Kiss-Vamosi
1cb9778914 chore run code formatter 2021-12-21 13:39:19 +01:00
Gabor Kiss-Vamosi
740d7400dd chore(conf): do not enable demos by default 2021-12-21 13:31:05 +01:00
Man, Jianting (Meco)
95d6307a97
feat(docs): add Chinese readme (#2919) 2021-12-21 10:41:28 +01:00
Man, Jianting (Meco)
6e5dc1a5d8
demo(music player): use only ASCII characters (#2931)
Some compilers don't recognize • because of different encoding method (such as 936)
2021-12-21 10:39:00 +01:00
guoweilkd
8315eb1ca4
feat(txt): add used_width parameter to _lv_txt_get_next_line() (#2898) 2021-12-21 10:37:02 +01:00
Gabor Kiss-Vamosi
0788d91899 fix(mem/perf monitor): fix issue introduced in #2910
fixes: #2932
2021-12-21 10:31:26 +01:00
Gabor Kiss-Vamosi
d79283c145
fix(example): update LVGL_Arduino.ino 2021-12-21 10:21:40 +01:00
Paul
28d06b0354
fix(dropdown): in lv_dropdpwn_get_selected_str handle if there are no options (#2925)
* fix lv_dropdown_get_selected_str

* fix lv_dropdown_get_selected_str

* fix lv_dropdown_get_selected_str
2021-12-20 15:57:03 +01:00
Gabor Kiss-Vamosi
d2316447c5 fix(theme): fix theme initialization issue introduced in 6e0072479 2021-12-20 15:37:19 +01:00
Gabor Kiss-Vamosi
fa9340c45f fix(roller): snap on press lost
fixes #2916
2021-12-20 15:09:32 +01:00
geert-KLA-BE
6e00724797
fix: lv_deinit/lv_init crash or hang (#2910)
* Fix themes that are not correctly initialized after lv_deinit

* Fix performance & memory monitoring not correctly initialized after lv_deinit & lv_init

* Apply code formatting fixes

* Fix build errors

* Fix build errors

* Fix formatting

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-12-20 14:05:06 +01:00
Man, Jianting (Meco)
e24a9fdf18
fix(rt-thread): improve the structure (#2912) 2021-12-20 13:17:08 +01:00
Man, Jianting (Meco)
70778fb9e4
fix: removed string format warnings for int32_t and uint32_t (#2924)
* fix:Removed string format warnings for int32_t and uint32_t
re-handle #2722

* feat(rt-thread): add the option of built-in examples
2021-12-20 09:52:07 +01:00
Man, Jianting (Meco)
01daed356a
fix(lv_fs_win32): add missing include of <stdio.h> (#2918) 2021-12-18 14:11:23 -05:00
Man, Jianting (Meco)
d85f6324a7
chore replace LittlevGL references with LVGL (#2913) 2021-12-17 20:52:46 -05:00
Gabor Kiss-Vamosi
8951bd2a15 Revert "experiement"
This reverts commit 5658cc9444db9325cce4897ecc9c308b116fdf95.
2021-12-17 15:04:34 +01:00