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

308 Commits

Author SHA1 Message Date
embeddedt
d8a3d3d0d7
fix(template) update indev template for v8
A few APIs were missed in the last attempt.

Fixes #2363
2021-07-11 15:47:23 -04:00
embeddedt
ef41450ed8
refactor(examples) drop JS-specific code from header.py
This logic was moved into the JS simulator itself
2021-07-11 15:09:25 -04: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
Gabor Kiss-Vamosi
0ae15bd470 fix(template) include lvgl.h in lv_port_*_template.c files
fixes: #2361
2021-07-09 13:29:29 +02: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
Gabor Kiss-Vamosi
7971ade47b docs(filesystem) update to v8 2021-06-14 11:07:15 +02:00
Themba Dube
6f37c4fc56 docs(examples) add MicroPython examples 2021-06-11 16:48:27 -04:00
dronecz
1a62f7a619
fix(arduino) fix the prototype of my_touchpad_read in the LVGL_Arduino.ino 2021-06-10 14:27:18 +02:00
Rop Gonggrijp
c7169762a3
More Snapable --> Snappable replacements (#2304) 2021-06-09 16:33:27 +02:00
Gabor Kiss-Vamosi
e697807cf5 fix(typo) rename LV_OBJ_FLAG_SNAPABLE to LV_OBJ_FLAG_SNAPPABLE 2021-06-09 16:05:39 +02: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
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
Uli Raich
c60ed68e94
adding micropython examples (#2286)
* adding micropython examples

* adding micropython examples
2021-06-07 13:56:08 +02:00
Gabor Kiss-Vamosi
77e2c1ff3d fix(example) revert test code 2021-06-07 13:27:07 +02:00
Gabor Kiss-Vamosi
786db2afe6 fix(draw) with additive blending with 32 bit color depth 2021-06-07 13:22:12 +02:00
Gabor Kiss-Vamosi
be92f9f749 fix simplify lv_example_get_started_2 2021-05-31 12:49:49 +02:00
Gabor Kiss-Vamosi
66152438f6 fix minor fix in a scroll example 2021-05-30 20:39:35 +02:00
Gabor Kiss-Vamosi
6ab6134af1 fix warning 2021-05-30 14:02:39 +02:00
Gabor Kiss-Vamosi
9efb99d177 feat(example) add lv_example_scroll_6 2021-05-30 13:50:05 +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
00dc5db326 fix some examples 2021-05-27 15:21:51 +02:00
Gabor Kiss-Vamosi
98c3c8eb5c fix some examples 2021-05-27 15:12:50 +02:00
Gabor Kiss-Vamosi
1a3e704b25 fix example include paths 2021-05-27 12:34:54 +02:00
Gabor Kiss-Vamosi
20af77b142 fix(docs) fix missing meter example 2021-05-27 11:55:45 +02:00
Gabor Kiss-Vamosi
7fe16e2ed4 fix warning 2021-05-27 11:52:10 +02:00
Gabor Kiss-Vamosi
0cafde653d feat(example) add style examples 2021-05-27 11:50:04 +02:00
Gabor Kiss-Vamosi
5bc529bc46 fix(example) fix the grid examples to not have scrollbars on the items 2021-05-26 23:11:29 +02:00
Gabor Kiss-Vamosi
46de101c97 feat(example) add RTL scroll example 2021-05-26 23:05:07 +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
0a70280177 feat(scroll) add scrollbar styling example + allow for the scrollbar using shadow 2021-05-26 22:05:32 +02:00
Gabor Kiss-Vamosi
42cd4b8f43 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-05-26 16:34:33 +02:00
Gabor Kiss-Vamosi
b969c21881 fix(example) add scroll examples + minor fixes 2021-05-26 16:34:25 +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