Commit Graph

389 Commits

Author SHA1 Message Date
embeddedt
da0c97a367
docs(grid) fix missing article 2021-08-27 11:09:43 -04:00
embeddedt
5dbea7d725
docs(display) fix grammar in one spot 2021-08-27 08:35:38 -04:00
Gabor Kiss-Vamosi
bcd99e8e43 docs(indev, layer) update lv_obj_set_click() to lv_obj_add_flag() 2021-08-27 13:58:46 +02:00
ckielstra
5249a34d5d
docs more spelling fixes (#2499) 2021-08-27 12:15:39 +02:00
ckielstra
0f4e6e26f9
Simple spelling fixes (#2496) 2021-08-26 10:52:39 +02:00
Vincent Hamp
088b2bd490
docs fix typo: arae -> area (#2488)
Co-authored-by: Vincent Hamp <hamp@zimo.at>
2021-08-24 14:51:29 +02:00
Karijn Wessing
e111ea2a62
added lv_obj_move_up() and lv_obj_move_down() (#2467)
* - small with unneeded lv_obj_invalidate()  fix in lv_obj_move_foreground() and lv_obj_move_background()

- added lv_obj_move_up() and lv_obj_move_down()
- used new functions in sample 2
- used lv_obj_swap() to shuffle (turn around) list

* solved build error

* added top and bottom buttons in sample
2021-08-24 14:30:38 +02:00
fvanroie
2d38f1884c
Fix two examples in the docs with new v8 api (#2486)
* docs(overview) fix draw_buf fieldname

Change display driver buffer field to the new v8 field name: draw_buf.

* docs(overview) fix lv_img_create parameters

lv_img_create only has 1 parameter in v8.

* docs(get-started) fix draw_buf fieldname

Display driver `buffer` field changed to the new v8 field name: `draw_buf`.
2021-08-24 09:17:59 +02:00
Mariotaku
9b92885f83
fix(draw) use correct pointer in lv_draw_mask assertion (#2483) 2021-08-23 10:25:00 -04:00
Chris Mumford
35c430fe2d
docs update company name and year (#2476)
Update from 2020/LLC → 2021/Kft.
2021-08-22 14:27:23 -04:00
Miguel Magno
b7e6f6763d
docs fix typos (#2472) 2021-08-20 19:47:59 -04:00
tfx2001
f85ae9d32b
docs(overview) fix typo (#2465) 2021-08-19 12:06:10 -04:00
Gabor Kiss-Vamosi
906448ef63 feat(obj) place the scrollbar to the left with RTL base dir.
Related to #2424
2021-08-19 12:51:29 +02:00
Karijn Wessing
9a1f7f2fcb
feat(obj) add lv_obj_swap() function (#2461)
* proposal for lv_obj_swap() function

* review issues applied

* review changes for comments
2021-08-18 11:32:10 +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
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
55e8846871 docs(style) complete the description of style the properties 2021-08-12 14:37:15 +02:00
Themba Dube
e5fafc4122 docs(flex) fix typo in flex grow section 2021-08-10 11:54:49 -04:00
Gabor Kiss-Vamosi
0f8bc18f6a docs update CHANGELOG 2021-08-02 15:55:04 +02:00
guoweilkd
65415d3f68
docs(chart) typos (#2427) 2021-08-02 11:51:18 +02: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
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
_VIFEXTech
e258e78f21
fix(docs) wrong spelling of words in pictures (#2409)
* 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

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-27 12:26:38 +02:00
Yin Zhong
1f255b7a0c
feat(obj) Backport keypad and encoder scrolling from v7 lv_page to v8 lv_obj (#2390)
* support scrolling scrollable but non-editable objects thru keypad / encoder

* update doc on `lv_obj` scrolling behavior by arrow keys
2021-07-23 14:55:13 +02:00
Gabor Kiss-Vamosi
6d8799fbbf
Update textarea.md 2021-07-23 13:52:13 +02:00
Yin Zhong
4d43b99702
doc(table) update doc on cell merging (#2397)
See https://github.com/lvgl/lvgl/issues/2276#issuecomment-884776230
2021-07-23 09:49:59 +02:00
EnricoLusaEGF
95bf16952e
docs(layout) add internal padding paragraph to grid and flex layout p… (#2392)
* docs(layout) add internal padding paragraph to grid and flex layout pages

* docs(layout) inlined bulletpoints
2021-07-22 11:36:40 +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
Drew Hoener
d041191ff3
feat(span) Add missing spangroup functions (#2379) 2021-07-18 21:44:27 -04:00
Yin Zhong
5a3876e9e6
docs(porting) fix indev example to remove v7 bool return (#2381)
update indev doc example to remove v7 `return false` and fix return type
2021-07-18 08:54:33 -04:00
Gabor Kiss-Vamosi
c386110e23 docs update changelog 2021-07-16 21:57:54 +02:00
Neo
fe461caf7e
feat(img) add img_size property (#2284)
* Fix image zooming causes unexpected object size.

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

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

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

* minor fixes and refactoring

* docs(img) add img_size

Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-16 21:05:49 +02:00
Gabor Kiss-Vamosi
acbb680683 docs minor CSS fix 2021-07-15 16:07:40 +02:00
Gabor Kiss-Vamosi
7f367d6956 docs minor CSS improvements 2021-07-13 16:42:03 +02:00
embeddedt
9a77102c40
docs(arduino) update some outdated information
This fixes some broken links and updates the steps to match the new repository layout.
2021-07-11 15:28:08 -04:00
Gabor Kiss-Vamosi
84c00862ae docs minor typo fixes 2021-07-07 16:30:17 +02:00
Gabor Kiss-Vamosi
88c485949f feat(event, widgets) improve the paramter of LV_EVENT_DRAW_PART_BEGIN/END
Add lv_<widget>_draw_part_type_t to widgets to precisly describe the hooked drawings.
Also add class_p element to lv_obj_draw_part_dsc_t to show what widgets lv_<widget>_draw_part_type_t needs to be used.

Related to: https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/
2021-07-07 16:19:06 +02:00
wreyford
45eda2f664
Update win.md (#2352)
In the paragraph **Title and buttons**
should be lv_add_btn and not lv_add_btn_right
And in the prargraph **Events**
should also be lv_add_btn
2021-07-06 12:20:18 +02:00
Gabor Kiss-Vamosi
3668e54f06
docs(contributing) add commit message format section 2021-07-01 14:36:01 +02:00
Gabor Kiss-Vamosi
6e83d378e9
docs(keyboard) change LV_KEYBOARD_MODE_NUM to LV_KEYBOARD_MODE_NUMBER
Fixes https://forum.lvgl.io/t/error-in-master-branch-documentation-for-lv-keyboard/6072/1
2021-07-01 14:12:57 +02:00
Gabor Kiss-Vamosi
a38fcf2c7a
Update ROADMAP.md 2021-06-28 15:16:20 +02:00
Gabor Kiss-Vamosi
2b1ae3c107
Update ROADMAP.md 2021-06-28 15:03:12 +02:00
Gabor Kiss-Vamosi
1640b7fe08 Merge branch 'master' of https://github.com/lvgl/lvgl 2021-06-25 15:32:07 +02:00
Gabor Kiss-Vamosi
65673c0e15 docs(textarea) clarify the use of text selection bg_color 2021-06-25 15:31:57 +02:00
Gabor Kiss-Vamosi
e0ae2aa106 feat(chart) send LV_EVENT_DRAW_PART_BEGIN/END before/after the division line drawing section.
See https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/15
2021-06-25 13:51:09 +02:00
embeddedt
255f7294d3
docs(keyboard) add note regarding event handler 2021-06-23 17:32:41 -04:00
embeddedt
145a0fad08
fix(docs) consider an example to be visible over a wider area 2021-06-18 18:11:53 -04:00