Commit Graph

224 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
18f61c5f77
arch add small 3rd party libs to lvgl (#2569)
* move png, sjpg, bmp, gif, fs_if to extra/libs

* reorganize the examples

* update lv_conf_internal.h

* fix warnings

* add freetype

* remove unused assets

* add the new libs to build tests

* update the docs
2021-10-04 14:34:11 +02:00
Neo
c98c8252ea
feat(snapshot) add API to take snapshot for object (#2353)
* Fix image zooming causes unexpected object size.

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>

* add lv_snapshot_take API.

* fix(img) invalidate size and layout on zoom and angle change

* fix(img) not self-repeating under some zoom level.

* fix(snapshot) fix to keep the original position

* Move various set_px_cb_xx functions to lv_hal_disp.c

* add snapshot API to store image to provided buffer

* minor fixes and refactoring

* Move snapshot source to extra/others/snapshot.

1. Update parameter buff to buf.
2. Add macro to disable lv_snapshot, enabled by default.

* docs(others) add the others folder with snapshot.md

* docs(snapshot) added doc and example for snapshot.

1. Update doc snapshot.md
2. Add example lv_example_snapshot_1 to folder examples/others/snapshot
3. Update lv_conf_template.h and lv_conf_internal.h
4. Remove lv_snapshot.c from lv_misc.mk
5. Add others to index.md

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>

* add micropython example for snapshot

Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-19 14:46:28 +02:00
_VIFEXTech
690b3546d6
feat(anim) add anim timeline (#2309)
* add anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add lv_anim_timeline.c to lv_misc.mk

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* LV_ANIM_TIMELINE_END uses global variables to replace macros, lv_anim_timeline_set_progress() adds user_data, act_time uses int32_t type

* solve the problem of uninitialized variable and act_time comparison

* add LV_ANIM_TIMELINE_CUSTOM_EXEC option

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add LV_ANIM_TIMELINE_CUSTOM_EXEC in lv_conf_internal.h

* redesign lv_anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add missing LV_USE_USER_DATA

* remove set_progress, update doc

* update workflow files

* Remove lv_example_anim_timeline_2.c and LV_ANIM_TIMELINE_CUSTOM_EXEC, update lv_anim_timeline_1.c example

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* fix warning

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-19 13:58:58 +02:00
Gabor Kiss-Vamosi
8691611de2 update version numbers to v8.1.0-dev 2021-06-14 13:51:45 +02:00
Gabor Kiss-Vamosi
3810ef6211 update verson numbers to v8.0.1 2021-06-14 13:45:43 +02:00
Gabor Kiss-Vamosi
c597d25798 Release v8.0.0 2021-06-01 09:48:03 +02:00
Gabor Kiss-Vamosi
31d23c38fb fix(include) add lv_draw.h to lvgl.h 2021-05-19 15:03:58 +02:00
Gabor Kiss-Vamosi
a8016196a8 refactor(meter, chart) make them extra widgets instead of core 2021-05-02 22:01:56 +02:00
Gabor Kiss-Vamosi
8e9dbf6d12 fix(lvgl.h) do not include lv_examples.h to keep the API cleaner 2021-04-08 13:02:54 +02:00
Meco Man
a8c21f8e18 fix(style): auto formatted 2021-04-01 01:06:43 +08:00
Gabor Kiss-Vamosi
020c95a308 fix(include) add missing include 2021-03-26 11:47:02 +01:00
Xiang Xiao
9254a7ea14 fix(comment): remove the space after /* and before */ 2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
0cc1e99ddf remove the lv_ prefix from the directories in the src folder 2021-03-16 20:36:27 +01:00
Gabor Kiss-Vamosi
73d51608e8 Merge master 2021-03-16 16:32:58 +01:00
Gabor Kiss-Vamosi
ec9de515b3 Release v7.11.0 2021-03-16 16:31:32 +01:00
Gabor Kiss-Vamosi
9484f1b224 fix warnings 2021-02-19 18:19:47 +01:00
Gabor Kiss-Vamosi
776165977a merge to dev and slove conflitc 2021-02-19 15:27:44 +01:00
Gabor Kiss-Vamosi
b75a8d43b0 Update dev version 2021-02-16 15:35:44 +01:00
Gabor Kiss-Vamosi
71173aa949 add missing comemnts to __cplusplus tags 2021-02-16 10:55:10 +01:00
Gabor Kiss-Vamosi
7bec13c2b9 update asserts 2021-02-08 09:53:03 +01:00
Gabor Kiss-Vamosi
956a367dbc refactoring 2021-02-07 22:39:54 +01:00
Gabor Kiss-Vamosi
063d17d842 rework widgets, refactoring, fixes 2021-02-07 12:37:37 +01:00
Gabor Kiss-Vamosi
2cae4a27c1 add some extra components and examples 2021-02-05 16:52:51 +01:00
Gabor Kiss-Vamosi
8a1af8646f add lv_components as src/extra and minor fixes 2021-02-04 14:46:11 +01:00
Gabor Kiss-Vamosi
315f03f8b6 merge master 2021-02-03 10:33:22 +01:00
Gabor Kiss-Vamosi
cc8b564352 Update master version 2021-02-02 15:17:59 +01:00
Gabor Kiss-Vamosi
21051b8d60 Merge branch 'master' into dev 2021-02-02 15:12:11 +01:00
Gabor Kiss-Vamosi
81e5690b2c Release v7.10.0 2021-02-02 15:12:11 +01:00
github-actions[bot]
28778c7bd7
Merge b38ceb52eb into dev 2021-02-01 13:55:35 +00:00
Gabor Kiss-Vamosi
5c5327f31a clean up widgets 2021-02-01 14:55:08 +01:00
embeddedt
b38ceb52eb
fix(lv_version) add proper C++ prototype to functions 2021-02-01 08:55:03 -05:00
Gabor Kiss-Vamosi
f84720aa95 merge master 2021-01-23 23:50:00 +01:00
Gabor Kiss-Vamosi
1d6d2eb9d9 change custom drawer to event 2021-01-21 15:18:20 +01:00
Gabor Kiss-Vamosi
9c1d81db90 Update dev version 2021-01-19 14:50:06 +01:00
Gabor Kiss-Vamosi
09ffbb80e7 rwork and update widgets 2021-01-12 19:22:38 +01:00
Gabor Kiss-Vamosi
0f0c2790fb merge master 2021-01-11 14:35:26 +01:00
Xiang Xiao
81b13bf3b6
Remove the double empty lines from all source files (#2009)
* Run dos2unix for all source files

* Remove the trail space from all source files

* Remove the double empty lines from all source files
2021-01-11 14:28:00 +01:00
Gabor Kiss-Vamosi
a4eab49e94 fix conflicts 2021-01-06 12:09:53 +01:00
Gabor Kiss-Vamosi
e3ad7918e2 Update master version 2021-01-05 16:04:29 +01:00
Gabor Kiss-Vamosi
ffe9ae5311 Merge branch 'master' into dev 2021-01-05 15:57:36 +01:00
Gabor Kiss-Vamosi
e66f19e5ce Release v7.9.0 2021-01-05 15:57:36 +01:00
Amir Gonnen
f532be9051
lvgl.h: Add lv_version functions (#1973)
These static inline functions return the values of the VERSION macros, making them available for Micropython

See also https://github.com/lvgl/lv_examples/pull/85#issuecomment-749506978
2020-12-23 09:25:06 -05:00
Gabor Kiss-Vamosi
67369eed22 Update dev version 2020-12-15 20:13:53 +01:00
Gabor Kiss-Vamosi
6d4de78756 set version number 2020-12-09 14:11:14 +01:00
fvanroie
37dcfab21d
Fix "lv_timer.h" includes in dev (#1943)
* Fix "lv_timer.h" includes

* Kick CI

* Merge incoming changes

* refactor(scroll): lv_obj_scroll_to_obj -> lv_obj_scroll_to_child

* kick CI

Co-authored-by: fvanroie <cpt_jack@msn.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2020-12-02 09:59:49 +01:00
Gabor Kiss-Vamosi
70d00469c6 fix build errors 2020-12-02 09:25:48 +01:00
Gabor Kiss-Vamosi
d51bb29c24 merge master 2020-12-01 15:32:49 +01:00
Gabor Kiss-Vamosi
2c0ca03319 Update master version 2020-12-01 15:13:30 +01:00
Gabor Kiss-Vamosi
2161cf8f53 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2020-11-27 10:05:16 +01:00
Gabor Kiss-Vamosi
57734ff3c5 refactor(tmr): rename lv_tmr to lv_timer 2020-11-27 10:05:02 +01:00