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

105 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
55e8846871 docs(style) complete the description of style the properties 2021-08-12 14:37:15 +02:00
Gabor Kiss-Vamosi
637b706ddc
perf(draw) reimplement circle drawing algorithms (#2374)
* perf(draw) reimplement circle drawing algorithms

Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements

* docs describe how to use masks

* fix(draw) add missing GC root usage
2021-07-27 19:16:00 +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
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
31ab0628d5 docs update lv_fs.h, layer and align.png to v8 2021-06-16 14:14:55 +02:00
Gabor Kiss-Vamosi
7971ade47b docs(filesystem) update to v8 2021-06-14 11:07:15 +02:00
Gabor Kiss-Vamosi
c6a2e15ec2 feat(obj) add lv_obj_del_delayed() 2021-06-12 08:02:31 +02:00
Rop Gonggrijp
c7169762a3
More Snapable --> Snappable replacements (#2304) 2021-06-09 16:33:27 +02:00
Rop Gonggrijp
07ecc9f1ef
docs(color) language fixes (#2302) 2021-06-09 09:33:41 -04:00
Rop Gonggrijp
d0aaacafb6
Spelling and other language fixes to documentation (#2293) 2021-06-09 15:10:35 +02:00
Gabor Kiss-Vamosi
ca54ecfe0e feat(event) pass the scroll aniamtion to LV_EVENT_SCROLL_BEGIN
Also add lv_example_tabview_2 for demonstration
2021-06-07 20:35:27 +02:00
Ali Rostami
5616471c27
Update quick-overview.md (#2295)
* Update quick-overview.md

* Update quick-overview.md

* Update lv_example_get_started_3.c

* Update coords.md
2021-06-07 14:32:00 +02:00
Gabor Kiss-Vamosi
81f3068dd7 fix(pxp) change LV_COLOR_TRANSP to LV_COLOR_CHROMA_KEY to v8 compatibility
Fixes #2289
2021-06-07 14:03:16 +02:00
Gabor Kiss-Vamosi
ac8f4534a5 docs(color) minor fix 2021-06-07 13:36:15 +02:00
Gabor Kiss-Vamosi
9056b5ee1b docs(color) update colors' docs 2021-06-07 13:21:00 +02:00
Gabor Kiss-Vamosi
29bfe60438 fix(docs) add docs about the default group 2021-06-01 19:43:54 +02:00
Gabor Kiss-Vamosi
d3022648dc fix(docs) minor fixes 2021-05-31 19:42:53 +02:00
Gabor Kiss-Vamosi
0cafde653d feat(example) add style examples 2021-05-27 11:50:04 +02:00
Gabor Kiss-Vamosi
ec6c20b587 feat(examples) add event examples 2021-05-26 22:05:32 +02:00
Gabor Kiss-Vamosi
71189b46e9 feat(examples) add aniamtion examples 2021-05-26 22:05:32 +02:00
Gabor Kiss-Vamosi
2d09196d2d fix(docs) fix path of example 2021-05-26 16:45:13 +02:00
Gabor Kiss-Vamosi
b969c21881 fix(example) add scroll examples + minor fixes 2021-05-26 16:34:25 +02:00
Gabor Kiss-Vamosi
42145ec2a9 docs add details to LV_EVENT_HIT_TEST 2021-05-20 14:32:06 +02:00
Gabor Kiss-Vamosi
94717684b0 docs minor fix 2021-05-20 13:23:26 +02:00
Gabor Kiss-Vamosi
e2a7f559ab feat(bidi) make base dir a style property and rename lv_bidi_dir_t to lv_base_dir_t 2021-05-19 20:55:44 +02:00
guoweilkd
fb0979cbc1
docs(timer) fix typos (#2261)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-18 16:02:52 +02:00
guoweilkd
6e8b769d2c
docs(scroll) fix small problem (#2257)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-17 22:35:10 -04:00
Gabor Kiss-Vamosi
f97f87fdcd docs link fixes 2021-05-17 16:17:20 +02:00
Gabor Kiss-Vamosi
2972433a45 minor fixes 2021-05-17 15:38:42 +02:00
Gabor Kiss-Vamosi
26366ad279 docs(style) fix typos 2021-05-15 21:12:06 +02:00
Gabor Kiss-Vamosi
20f76a1e16 docs minor fixes 2021-05-15 20:02:56 +02:00
Gabor Kiss-Vamosi
94a47dc6d9 refactor(event) simplify cover check realted event functions 2021-05-15 00:14:31 +02:00
Gabor Kiss-Vamosi
b7f875aba6 refactor(event) change lv_event_get_ext_draw_size_info to lv_event_set_ext_draw_size for simpler usage 2021-05-14 23:56:34 +02:00
Gabor Kiss-Vamosi
3c994fb968 add forgotten docs file 2021-05-14 15:53:04 +02:00
Gabor Kiss-Vamosi
abe04e98d3 docs add style props 2021-05-14 15:37:35 +02:00
Gabor Kiss-Vamosi
fb654c481b docs update drawing and porting (display, indev) 2021-05-13 21:23:11 +02:00
Gabor Kiss-Vamosi
addf05da8b docs update drawing 2021-05-13 19:15:29 +02:00
Gabor Kiss-Vamosi
779a4aab3c docs(coords) update the box model 2021-05-11 16:04:54 +02:00
guoweilkd
241a0bead8
docs(coords) fix spelling errors (#2244)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-08 09:15:51 -04:00
Gabor Kiss-Vamosi
e3bcea759c
Update coords.md 2021-05-06 10:53:16 +02:00
Themba Dube
528314533c docs(display) remove built-in color list as they no longer exist in this manner 2021-05-04 20:28:30 -04:00
Gabor Kiss-Vamosi
05252b7fe8 docs update some mroe widgets to v8 + fix links 2021-05-03 17:32:57 +02:00
Gabor Kiss-Vamosi
b58bdb4f0d docs minor updates 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
b08da09e62 docs(event, coords) add more info 2021-04-30 10:02:08 +02:00
Gabor Kiss-Vamosi
fa0c1d1423 docs(objects) update to v8 2021-04-27 15:36:53 +02:00
Gabor Kiss-Vamosi
a9bedcf335 minor fixes 2021-04-23 11:34:59 +02:00
Gabor Kiss-Vamosi
eaed66057b refactor(style) rename LV_STYLE_PROP_ALL to LV_STYLE_PROP_ANY 2021-04-23 10:35:36 +02:00
Gabor Kiss-Vamosi
21489eddc8 docs(object) update to v8 2021-04-22 17:47:41 +02:00
Gabor Kiss-Vamosi
4417ee9d91 docs(scroll) add docs for scrolling 2021-04-21 12:30:52 +02:00