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

7187 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
b0a733766d fix(arc) fix other invalidation issues
fixes https://github.com/lvgl/lvgl/issues/2443#issuecomment-899717427
2021-08-17 10:47:27 +02:00
embeddedt
51a82a17ff
docs(btnmatrix) fix typo with set_all/clear_all parameters
Fixes #2455
2021-08-16 11:02:42 -04:00
jadonmmiller
85d45d7ec3
docs(overview) fix typo (#2454) 2021-08-16 09:27:44 -04:00
Amir Gonnen
e602b3f0eb
fix(cmake) require 'main' for Micropython (#2444)
Commit f2c2393b305cd71d2fc01ff8945965dccb8488b4 (#2420) breaks lv_micropython esp32 port. Apparently main dependency is require for LVGL when building Micropython, otherwise GC related code breaks

This commit adds 'main' dependency to LVGL conditionally only if building inside lv_micropython.
2021-08-13 13:30:00 -04:00
fvanroie
e8c1670381
fix(docs) add static keyword to driver declaration (#2452)
Add missing static keyword to disp_drv and indev_drv declarations in the examples
2021-08-13 13:00:14 -04:00
Gabor Kiss-Vamosi
e41c507804 fix(dropdown) adjust the handling of keys sent to the dropdown 2021-08-12 14:44:03 +02:00
Gabor Kiss-Vamosi
55e8846871 docs(style) complete the description of style the properties 2021-08-12 14:37:15 +02:00
Gabor Kiss-Vamosi
e20926056b fix shadowed variable 2021-08-12 14:27:27 +02:00
Gabor Kiss-Vamosi
ff087dafb4 docs(style) complete the description of style the properties 2021-08-12 14:26:21 +02:00
Gabor Kiss-Vamosi
df600183f2 fix shadowed wariable 2021-08-12 14:22:40 +02:00
Gabor Kiss-Vamosi
d0c1c673a8 fix(img decoder) add error handling if the dsc->data = NULL 2021-08-12 14:18:26 +02:00
Gabor Kiss-Vamosi
ad5b1bdc00 fix(chart) be sure the chart doesn't remain scrolled out on zoom out
fixes https://forum.lvgl.io/t/some-questions-about-chart-line-data-refresh/6383/4?u=kisvegabor
2021-08-12 13:52:52 +02:00
Gabor Kiss-Vamosi
98bc1fe09e feat(obj) add lv_obj_get_x/y_aligned
fixes #2438
2021-08-11 13:19:13 +02:00
Gabor Kiss-Vamosi
8f0b5ab023 fix(calendar) fix caluclation today and highlighted day
realted to #2450
2021-08-11 11:08:10 +02:00
Gabor Kiss-Vamosi
8a50edd068 fix(dropdown) handle LV_KEY_ENTER
fixes https://forum.lvgl.io/t/how-to-send-key-events-to-a-dropdown/6393
2021-08-11 10:49:05 +02:00
Themba Dube
e5fafc4122 docs(flex) fix typo in flex grow section 2021-08-10 11:54:49 -04:00
Gabor Kiss-Vamosi
adbac5220b fix(calendar) fix incorrect highlight of today
fixes #2446
2021-08-10 16:09:20 +02:00
Gabor Kiss-Vamosi
0f14f49465 fix(arc, merter) fix invaidation in special cases
fixes #2443
2021-08-09 15:37:58 +02:00
Gabor Kiss-Vamosi
6118d63c2f fix(chart) fix typo in 655f42b8 2021-08-09 15:30:31 +02:00
Gabor Kiss-Vamosi
655f42b852 fix(chart) don't draw series lines with < 1 points
Releated to https://forum.lvgl.io/t/maybe-it-has-bug-in-draw-chart-line-data/6394
2021-08-09 13:31:53 +02:00
Gabor Kiss-Vamosi
a1b362c986 fix(canvas) invalidate the image on delete
fixes #2398
2021-08-09 11:23:48 +02:00
Gabor Kiss-Vamosi
3c86d777c1 chore(format) lv_conf_template.h minor formatting
related to #2441
2021-08-09 11:16:16 +02:00
embeddedt
f0e8549fe1
fix(docs) commit to meta repo as lvgl-bot instead of actual commit author 2021-08-07 16:21:32 -04:00
Themba Dube
2122583ec2 style fix usage of clang-format directives
We do not use clang-format anymore, so the directive has been removed from most headers.

lv_conf_template.h is untouched as a convenience for downstream projects which still use the tool.

Fixes #2441
2021-08-07 16:06:40 -04:00
Gabor Kiss-Vamosi
50ea6fb3fe fix(msgbox) return the correct pointer from lv_msgbox_get_text
fixes #2436
2021-08-06 19:20:44 +02:00
Gabor Kiss-Vamosi
a958c29af7 remove temorary test file 2021-08-05 17:55:55 +02:00
Gabor Kiss-Vamosi
89081c2d6e fix(eaxmple) fix lv_example_chart_2 2021-08-05 17:54:31 +02:00
Gabor Kiss-Vamosi
a8427915c7 perf(draw) ignore masks if they don't affect the current draw area 2021-08-05 17:39:59 +02:00
Gabor Kiss-Vamosi
4f9a037b93 fix warning and remove test code from an example 2021-08-03 16:37:25 +02:00
Themba Dube
202d977eb2 Merge branch 'master' of github.com:littlevgl/lvgl 2021-08-03 10:25:27 -04:00
Themba Dube
ae15a1bbfe Revert "fix(tests) remove src/test_runners when cleaning"
This reverts commit 6726b0f5df3f4689368782b601bb01f76498123b.
2021-08-03 10:25:20 -04:00
Gabor Kiss-Vamosi
7672847ce3 fix(bidi) fix the handling of LV_BASE_DIR_AUTO in several widgets
fixes #2421
2021-08-03 16:03:07 +02:00
Themba Dube
6726b0f5df fix(tests) remove src/test_runners when cleaning 2021-08-03 09:38:13 -04:00
Gabor Kiss-Vamosi
0f8bc18f6a docs update CHANGELOG 2021-08-02 15:55:04 +02:00
Gabor Kiss-Vamosi
5b3d3dc8b3 perf(draw) reimplement rectangle drawing algorithms
No functionalty has changed only make them more readable and faster.
2021-08-02 15:45:14 +02:00
Gabor Kiss-Vamosi
f61b2ca455 Revert "fix(indev) focus on objects on release instead of press"
This reverts commit 76a8293375b705a5e02e4f9c8f8a42d99db762e2.

Revert because it breaks the drop down list.
If the dropdown list is opened and the parent is scrolled
the dropdown is not defocused and not closed.

Fixes #2417
2021-08-02 14:33:43 +02:00
Kevin Sidwar
f2c2393b30
fix(build) remove main component dependency (#2420)
Resolves #2403
2021-08-02 13:26:36 +02:00
Gabor Kiss-Vamosi
79edb37b0a fix(dropdown) fix list position with RTL base direction
related to #2424
2021-08-02 12:27:57 +02:00
Gabor Kiss-Vamosi
531afcc6ce fix(obj) fix lv_obj_align_to with RTL base direction
Related to #2424
2021-08-02 12:27:57 +02:00
Amir Gonnen
4bdeb756da
fix(examples) join usage (#2425)
Use 'join' correctly on Python scripts
2021-08-02 11:56:44 +02:00
guoweilkd
65415d3f68
docs(chart) typos (#2427) 2021-08-02 11:51:18 +02:00
Levente Tamas
980a95ce5d
kconfig: minor fix for default dark theme option (#2426)
Changes the name of the CONFIG variable from
LV_THEME_DEFAULT_PALETTE_LIGHT to LV_THEME_DEFAULT_DARK.
Most likely it should have been included in
4f46336a544d6cde0ed14f37775dfd8ecb772af3
2021-08-02 11:50:30 +02:00
Amir Gonnen
4effc87a87
fix(examples) add missing lv.PART.INDICATOR (#2423) 2021-07-31 17:40:13 -04:00
Amir Gonnen
145440dbce
fix(examples) use lv.grid_fr for MicroPython (#2419)
Instead of re-implementing LV_GRID_FR, use lv.grid_fr

Also use lv.GRID_TEMPLATE.LAST instead of lv.COORD.MAX where needed
2021-07-31 09:07:07 -04:00
xaowang96
65475a75ba
feat(anim) add interface for handling lv_anim user data. (#2415)
* fix(animation) add interface for setting user data.

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

* fix(animation) add interface for getting user data.

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

* fix(animation) resolve parameter errors

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

Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
2021-07-29 12:32:46 +02:00
Gabor Kiss-Vamosi
524f8dd50b fix(style) initialize colors to black instead of zero
With LV_COLOR_SCREEN_TRANSP alpha should be 0xff not 0x00
2021-07-28 17:12:53 +02:00
Uli Raich
06b3013de5
feat(examples) add MicroPython version of lv_example_anim_3 and allow loading roller font dynamically (#2412) 2021-07-28 08:51:41 -04:00
Gabor Kiss-Vamosi
4dd1d566fc fix(dropdown) use LV_EVENT_READY/CANCEL on list open/close
Instead of LV_EVENT_VALUE_CHANGE to avoid conflicts with new option selection.
2021-07-28 10:09:46 +02:00
Gabor Kiss-Vamosi
dae7039803 fix(dropdown) send LV_EVENT_VALUE_CHANGED to allow styling of the list 2021-07-28 09:52:37 +02:00
Gabor Kiss-Vamosi
8c15933030 fix(table) clip overflowing content
If there was a extra draw padding the cells were draw out of the real table
2021-07-28 09:38:45 +02:00