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

39 Commits

Author SHA1 Message Date
_VIFEXTech
4b995448bc
refact(anim_timeline): refact anim timeline design (#5061)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-22 14:56:36 +08:00
Gabor Kiss-Vamosi
469c2cfcef example: remove the MicroPython examples
See #4347
2023-12-21 10:02:44 +01:00
Gabor Kiss-Vamosi
cad4a4529c refactor: lv_anim_set_playback_time -> lv_anim_set_playback_duration 2023-12-13 22:23:12 +01:00
Gabor Kiss-Vamosi
d5daccdd48 docs: update API comments 2023-12-13 22:23:03 +01:00
Neo Xu
e8d5594026
refactor(anim): rename anim time to anim duration (#4978)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 12:35:22 +01:00
Gabor Kiss-Vamosi
d442740f2a
fix(anim_timeline): make it work with custom_exec_cb too (#4906) 2023-12-01 09:28:44 +01:00
Gabor Kiss-Vamosi
f0988b8cf8 refactor(event): add _cb postfix to lv_obj_add_event() 2023-11-28 15:36:51 +01:00
Gabor Kiss-Vamosi
51efe57ae9 chore: fix micropython example 2023-11-18 20:25:47 +01:00
Gabor Kiss-Vamosi
c526653822 fix(anim_timeline): fix special cases of anim timeline and add tests 2023-11-18 19:03:57 +01:00
Gabor Kiss-Vamosi
cb44516c59 chore: code formatting 2023-11-14 15:01:03 +01:00
Gabor Kiss-Vamosi
7ea8192208 fix(anim): fix anim_timeline progress calculation and add tests 2023-11-14 14:52:59 +01:00
Viktor Szépe
cc6581ae03
ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Gabor Kiss-Vamosi
d3aee1d7f6 chore: fix micropython example 2023-10-12 21:23:56 +02:00
Gabor Kiss-Vamosi
9ec5417dd3 refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state 2023-10-12 21:12:16 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
Gabor Kiss-Vamosi
4519a874d7 fix(canvas): fix clipéping on transformation
fixes: #3545
2022-08-07 21:09:46 +02:00
Amir Gonnen
7a23be73ab
fix(examples) adjust constant names in Micropython examples (#3532)
Due to spurious enums (https://github.com/lvgl/lv_binding_micropython/issues/199) wrong constant names were generated. Fix these constants.
2022-07-30 11:10:56 -04:00
Gabor Kiss-Vamosi
b9adb0a048 example: fix MicroPython examples 2022-07-21 22:21:43 +02:00
Gabor Kiss-Vamosi
9add9acadb refactor(style): add width and height paramaters to style_size 2022-07-19 15:47:00 +02:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config 2022-02-13 13:59:17 -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
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
ckielstra
a5058eafd0
style(examples) fix style issues in Python examples (#2880)
Removes all semicolons at line endings in the Python examples.
2021-12-05 08:41:17 -05:00
Jianting (Meco) Man
95be2c7b99
fix(example):format codes (#2731) 2021-10-25 18:44:44 +02: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
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
guoweilkd
e23701e2c2
example(anim) add demo to use cubic-bezier (#2393)
* animation:add demo to use cubic-bezier

* fix minor fixes on layout and chart

Co-authored-by: guoweilkd <guowei15@xioami.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-27 19:14:44 +02:00
_VIFEXTech
202cf1c8cb
perf(anim_timeline) add lv_anim_timeline_stop() (#2411)
* 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

* fix(anim_timeline) heap use after free

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

* fix(docs) wrong spelling of words in pictures

* perf(anim_timeline) add lv_anim_timeline_stop()

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

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-27 14:30:36 +02:00
Gabor Kiss-Vamosi
71a10e4ecd fix(example) adjust the object sizes in lv_example_anim_timeline_1() 2021-07-23 13:40:42 +02:00
Gabor Kiss-Vamosi
9ce2c7702d
Update index.rst 2021-07-22 21:56:00 +02:00
Uli Raich
c6e97162d1
added example lv_example_anim_timeline_1.py (#2387) 2021-07-21 10:37:22 +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
Themba Dube
6f37c4fc56 docs(examples) add MicroPython examples 2021-06-11 16:48:27 -04:00
Uli Raich
c60ed68e94
adding micropython examples (#2286)
* adding micropython examples

* adding micropython examples
2021-06-07 13:56:08 +02:00
Gabor Kiss-Vamosi
71189b46e9 feat(examples) add aniamtion examples 2021-05-26 22:05:32 +02:00