embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config
2022-02-13 13:59:17 -05:00
Amir Gonnen
c7a414bfc6
fix(micropython) update examples for new API ( #3059 )
...
Related: https://github.com/lvgl/lv_binding_micropython/issues/202
2022-01-29 12:39:11 -05:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes ( #3008 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
Gabor Kiss-Vamosi
db53ea925c
arch(draw): allow replacing the draw engine
...
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
ckielstra
a5058eafd0
style(examples) fix style issues in Python examples ( #2880 )
...
Removes all semicolons at line endings in the Python examples.
2021-12-05 08:41:17 -05:00
Gabor Kiss-Vamosi
d9d3f27126
fix(printf) add (int) casts to log messages to avoid warnings on %d
2021-11-03 11:53:03 +01:00
Gabor Kiss-Vamosi
9c7338c90b
fix warnings
2021-10-26 10:25:37 +02:00
Gabor Kiss-Vamosi
6319673db3
fix warnings
2021-10-26 10:14:05 +02:00
Jianting (Meco) Man
95be2c7b99
fix(example):format codes ( #2731 )
2021-10-25 18:44:44 +02:00
Karijn Wessing
e7ba9b93af
feat(example) add lv_example_chart_9.py ( #2604 )
...
* Create lv_example_chart_9.py
lv_example_chart_9.c was exactly what i needed, thanks for that one!
the only thing is, i needed it in MicroPython :-)
Here it is
* Update lv_example_chart_9.py
removed duplicate (... = lv.CHAR_POINT.NONE) lines
* Update lv_example_chart_9.py
restored gap
2021-10-01 09:51:49 +02:00
Karijn Wessing
bae2e2d44c
feat(example) add lv_example_chart_8.py ( #2611 )
...
translated lv_example_chart_8.c to python variant
2021-09-28 08:31:46 +02:00
Karijn Wessing
c7a49841bf
fix(example) minor fixes in lv_example_chart_2.py ( #2601 )
...
a few small bugfixes, demo works in simulator now
2021-09-27 11:07:24 +02:00
Gabor Kiss-Vamosi
5565d5965a
feat(example) chart example to add gap between the old and new data ( #2565 )
...
* fix(chart) draw line chart indicator (bullet)
There was a missing bullet if the previous point was LV_CHART_POINT_NONE
* feat(example) add chart example with gap in circular mode
* add missing prototype
2021-09-27 11:01:31 +02:00
Thomas Hepworth
8abd060a8a
example(chart) add area chart example ( #2507 )
...
* feat add stacked area chart example
The example shows how to use a line chart and masking to create a stacked area chart.
* feat stacked area chart example
Updated index.rst to contain the stacked area chart example
* feat stacked area chart example
Coding style changes
* Update changelog
* feat(example) stacked area chart
Added axis ticks
* feat(example) stacked area chart
Responses to PR comments
- Changed to fixed point maths
- Renamed variables and filenames
* feat(example) stacked area chart
Made shift amount a variable.
* feat(example) stacked area chart
Fixed typo in changelog
Co-authored-by: Tom Hepworth <Tom_Hepworth@mentor.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-09-13 12:11:10 +02:00
ckielstra
5249a34d5d
docs more spelling fixes ( #2499 )
2021-08-27 12:15:39 +02:00
Gabor Kiss-Vamosi
89081c2d6e
fix(eaxmple) fix lv_example_chart_2
2021-08-05 17:54:31 +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
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
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
Themba Dube
6f37c4fc56
docs(examples) add MicroPython examples
2021-06-11 16:48:27 -04: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
0cafde653d
feat(example) add style examples
2021-05-27 11:50:04 +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
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
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
f97f87fdcd
docs link fixes
2021-05-17 16:17:20 +02:00
Gabor Kiss-Vamosi
75d1c05a23
feat(event) add lv_event_get_indev/clip_area/draw_part_dsc
2021-05-12 12:49:32 +02:00
Gabor Kiss-Vamosi
bdffb2c932
fix(example) fix lv_example_chart_5
2021-05-11 19:53:47 +02:00
Gabor Kiss-Vamosi
bf8f8230a6
feat(chart) add LV_EVENT_DRAW_PART_BEGIN/END to hook division line drawing
2021-05-03 13:51:09 +02:00
Gabor Kiss-Vamosi
070df61eb2
refactor(color) refactor the palette API
2021-04-23 12:46:14 +02:00
Gabor Kiss-Vamosi
7522858d07
fix(examples) use LV_PART_INDICATOR to target the points on line chart
2021-04-21 13:22:55 +02:00
Gabor Kiss-Vamosi
bbfcb2454e
feat(event) add event filter to lv_event_send
2021-04-19 11:15:28 +02:00
Gabor Kiss-Vamosi
422c9e5bd6
feat(event) rework the prototype of lv_event_cb
...
It encapsulates all event related parameters into a single lv_event_t obejct.
2021-04-14 15:31:54 +02:00
Gabor Kiss-Vamosi
20803031e8
fix(test) fix tests
2021-04-08 13:07:48 +02:00
Gabor Kiss-Vamosi
663bcfd030
api(style) add lv_style_selector_t instead of lv_part_t and lv_state_t in style API
2021-03-31 19:57:14 +02:00
Gabor Kiss-Vamosi
a2f3022188
api(align) save align in style and handle x/y according to it
2021-03-25 16:14:17 +01:00
Gabor Kiss-Vamosi
53f3cc1827
api(style) remove content style proeprties
2021-03-25 13:36:50 +01:00
Xiang Xiao
9254a7ea14
fix(comment): remove the space after /* and before */
2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
85f21a1345
refactor(draw_hook): rename lv_obj_draw_hook_dsc_t to lv_obj_draw_dsc_t
...
Based on #2142
2021-03-17 09:27:19 +01:00
Gabor Kiss-Vamosi
acd07ff83c
feat(example): add more chart examples
2021-03-15 15:23:10 +01:00
Gabor Kiss-Vamosi
22c06a19bc
minor fixes
2021-03-10 09:44:17 +01:00
Gabor Kiss-Vamosi
cbfbcb47f9
feat(color): use colors from material design
...
Use function instead of color macros
2021-02-23 15:03:06 +01:00
Gabor Kiss-Vamosi
00b1c80d3c
feat(examples): fix examples and add new scroll examples
2021-02-23 11:31:10 +01:00
Gabor Kiss-Vamosi
02c19eacab
fix warnings and make tests working
2021-02-14 22:07:38 +01:00
Gabor Kiss-Vamosi
bb08660cb6
minor fixes
2021-02-14 14:56:34 +01:00