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
Gabor Kiss-Vamosi
97282e67bd
feat(example) add obj drag example
2021-05-19 21:55:29 +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
Gabor Kiss-Vamosi
a77fbc574d
docs update some widgets' docs to v8
2021-05-19 13:51:32 +02:00
Gabor Kiss-Vamosi
8155712687
fix(example) fix artifacts when the fist point is clicked in lv_example_chart_4
2021-05-18 15:50:56 +02:00
Gabor Kiss-Vamosi
643b6f52f0
docs add docs for some extra widgets
2021-05-18 14:25:17 +02:00
Gabor Kiss-Vamosi
d505429dd8
fix(keyboard) do not deassign the textarea on OK or CANCEL click
2021-05-17 20:22:01 +02:00
Gabor Kiss-Vamosi
9d3d24202c
fix(example) fix sending LV_EVENT_READY in lv_example_textarea_1
2021-05-17 20:17:11 +02:00
Gabor Kiss-Vamosi
ab8c1ce2e2
docs fix links
2021-05-17 16:30:34 +02:00
Gabor Kiss-Vamosi
c65dad1f93
docs fix links
2021-05-17 16:27:37 +02:00
Gabor Kiss-Vamosi
f97f87fdcd
docs link fixes
2021-05-17 16:17:20 +02:00
guoweilkd
9fc556a90b
add span widget ( #2227 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-13 17:42:33 +02:00
Gabor Kiss-Vamosi
e3425188f5
docs fix example paths
2021-05-13 16:13:47 +02:00
Gabor Kiss-Vamosi
1ed42a937f
docs finish the the core widgets
2021-05-13 15:39:26 +02:00
Gabor Kiss-Vamosi
4f8e3a38b3
feat(list, win) remove event_cb paramter from *_add_btn() functions
...
It was difficult to handle in the Micropython binding and the user can add events to the returned button in a more flexible way
2021-05-13 00:42:52 +02:00
Gabor Kiss-Vamosi
08a1b04fdf
feat(style) add user_data paramter to lv_style_transition_dsc_init
2021-05-12 12:57:12 +02:00