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

160 Commits

Author SHA1 Message Date
ckielstra
5249a34d5d
docs more spelling fixes (#2499) 2021-08-27 12:15:39 +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
Gabor Kiss-Vamosi
a9971471ba fix(group) keep the focused object in lv_group_swap_obj
fixes #2462
2021-08-19 21:12:09 +02:00
Carlos Diaz
4642dd30c2
docs(bar) fix typos in widget examples (#2463) 2021-08-18 11:26:09 -04:00
Gabor Kiss-Vamosi
bb6d6b7799 chore(example) minor improvements on lv_example_list_2 2021-08-18 14:28:02 +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
Gabor Kiss-Vamosi
89081c2d6e fix(eaxmple) fix lv_example_chart_2 2021-08-05 17:54:31 +02:00
Gabor Kiss-Vamosi
4f9a037b93 fix warning and remove test code from an example 2021-08-03 16:37:25 +02: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
Amir Gonnen
4bdeb756da
fix(examples) join usage (#2425)
Use 'join' correctly on Python scripts
2021-08-02 11:56:44 +02:00
Amir Gonnen
4effc87a87
fix(examples) add missing lv.PART.INDICATOR (#2423) 2021-07-31 17:40:13 -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
Amir Gonnen
559b6458c0
fix(examples) remove symlinks (#2406)
Remove symlinks from Python examples because the JS simulator doesn't follow them and sees the target filename instead
2021-07-27 19:13:30 -04: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
Amir Gonnen
5f6e07e57f
feat(calendar) improve MicroPython example (#2366)
Small improvements:

- Remove cast from get_pressed_date
- Check return value of get_pressed_date
- Call set_today_date on clicked date
- Compact highlighted_days
- Added a switch to show different header type
2021-07-11 11:39:08 -04:00
Amir Gonnen
1b6a39ca61
fix(examples) import 'u'-prefixed versions of modules (#2365)
import usys and utime instead of sys and time, as the latter are not available on all platforms
2021-07-10 19:24:16 -04:00
Amir Gonnen
c751c11a87
fix(examples) remove cast in MP scripts (#2354)
After https://github.com/lvgl/lv_binding_micropython/pull/161 merged, it is no longer needed to cast the result of 'e.get_target()'

Also, additional small fixes to allow CI improvements
2021-07-07 17:04:46 +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
Uli Raich
082244b467
feat(examples) added MP version of second tabview example (#2347) 2021-07-03 11:22:50 -04:00
Amir Gonnen
4114dc30e8
fix(examples) fix MicroPython examples and run the examples with CI (#2339)
* Fixes to micropython examples

Added missing images and fonts under 'assets'. Since .bin is in gitignore, renamed fonts to .fnt

* Update build_micropython workflow

Build the unix port dev variant and run tests.

See: https://github.com/lvgl/lv_binding_micropython/issues/151
2021-07-01 14:37:57 +02:00
Amir Gonnen
fe4afe8ef2
fix(examples) align with renamed Micropython APIs (#2338)
Align examples with renames on https://github.com/lvgl/lv_binding_micropython/issues/157
2021-06-29 17:03:07 -04:00
embeddedt
52d1c2e5b5
fix(examples) adjust canvas example for MicroPython API change 2021-06-21 10:27:40 -04:00
Themba Dube
4b8c73a577 feat(docs) improvements to examples
* examples are now loaded only when they are visible on your screen
* stylistic improvements
* support for a description
2021-06-18 12:25:49 -04:00
Gabor Kiss-Vamosi
25acaf45ca docs list all examples on one page 2021-06-14 23:16:31 +02:00
Themba Dube
6f37c4fc56 docs(examples) add MicroPython examples 2021-06-11 16:48:27 -04:00
Gabor Kiss-Vamosi
8ab806459c docs fix typo 2021-06-07 20:48:24 +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
Uli Raich
c60ed68e94
adding micropython examples (#2286)
* adding micropython examples

* adding micropython examples
2021-06-07 13:56:08 +02:00
Gabor Kiss-Vamosi
4780beae01 fix(obj) fix invalidation of objects on state change 2021-05-28 14:10:12 +02:00
Gabor Kiss-Vamosi
e3fb5d2840 fix minor example issues 2021-05-27 16:06:17 +02:00
Gabor Kiss-Vamosi
98c3c8eb5c fix some examples 2021-05-27 15:12:50 +02:00
Gabor Kiss-Vamosi
20af77b142 fix(docs) fix missing meter example 2021-05-27 11:55:45 +02:00
Gabor Kiss-Vamosi
0cafde653d feat(example) add style examples 2021-05-27 11:50:04 +02:00
embeddedt
26043cbcd0
fix(example) add missing space and remove extra space in lv_example_label_1 2021-05-26 10:17:38 -04:00
Gabor Kiss-Vamosi
1b3c4e7c25 fix(example) fix the overlapping texts in lv_example_label_3 2021-05-26 15:30:51 +02:00
Gabor Kiss-Vamosi
1b2d28bbc0 fix warnings 2021-05-26 14:38:42 +02:00
Gabor Kiss-Vamosi
7fe00f995a feat(example) add new label example to show LTR, RTL and Chinese texts 2021-05-26 14:35:34 +02:00
Gabor Kiss-Vamosi
5b9329fd5d fix(chart) various scatter chart related fixes 2021-05-24 21:45:05 +02:00
Gabor Kiss-Vamosi
7522f4e2f0 feat(chart) add scatter chart example 2021-05-24 15:11:07 +02:00
Gabor Kiss-Vamosi
b1f7fbe3b7 feat(chart) add SCATTER type 2021-05-24 15:10:12 +02:00
Gabor Kiss-Vamosi
bb066f2f72 fix(example) lv_example_roller_3 2021-05-21 11:31:06 +02:00
Gabor Kiss-Vamosi
6f42088dec fix(example) fix meter example 2021-05-20 21:24:59 +02:00
Gabor Kiss-Vamosi
9a1eaea25d docs add meter 2021-05-20 21:12:27 +02:00
guoweilkd
1241fe144b
rename span interface (#2259)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-20 14:47:46 +02:00
guoweilkd
fcdca6229f
add fade mask example for roller obj (#2260)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-20 13:43:54 +02:00
Gabor Kiss-Vamosi
4293f9d921 fix warnings 2021-05-20 12:52:48 +02:00
Gabor Kiss-Vamosi
07fd3d2c96 feat(chart) add rename lv_chart_set_cursor_point to lv_chart_set_cursor_pos and add lv_chart_set_cursor_point to stick the cursor to a point 2021-05-20 12:43:27 +02:00
Gabor Kiss-Vamosi
6c013fe158 revert(example) remove test codes 2021-05-20 12:08:24 +02:00
Gabor Kiss-Vamosi
1386edf2fb fix(bidi) fix tabview, textarea, label, btnmatrix, roller, dropdown with RTL base direction 2021-05-20 12:04:06 +02:00
Gabor Kiss-Vamosi
a63ab1eef1 feat(event) add LV_EVENT_LAYOUT_CHANGED and fix tabview's tab position on resize 2021-05-20 07:41:02 +02:00