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

67 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
Peter Bee
36c5f19c95
fix(kconfig): update Kconfig and lv_conf_kconfig.h (#4338)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Signed-off-by: Peter Bee <pbjd97@gmail.com>
2023-07-09 23:27:32 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00
Uli Raich
d1c6c61780
example(micropython): updated MicroPython examples according to LVGL changes (#4031) 2023-03-10 21:44:12 +01:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
Carlos Diaz
76547db1d7
refactor(rename): LV_IMG_ZOOM_NONE to LV_ZOOM_NONE (#3957)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-02-04 17:20:42 +01:00
Uli Raich
29ec34be77
examples(micropython): add a few missing MP examples (#3672) 2022-09-21 11:21:36 +02:00
Amir Gonnen
7a23be73ab
fix(examples) adjust constant names in Micropython examples (#3532)
Due to spurious enums (https://github.com/lvgl/lv_binding_micropython/issues/199) wrong constant names were generated. Fix these constants.
2022-07-30 11:10:56 -04:00
Gabor Kiss-Vamosi
b9adb0a048 example: fix MicroPython examples 2022-07-21 22:21:43 +02:00
Gabor Kiss-Vamosi
9add9acadb refactor(style): add width and height paramaters to style_size 2022-07-19 15:47:00 +02:00
Gabor Kiss-Vamosi
5369d7d473
arch(conf, api) refactor lv_conf and some API (#3501)
Kconfig and MicroPython config is not updated yet.


* start to refactor lv_conf.h

* further mem refactoring

* create lv_mem_builtin.c/h

* update lv_conf_internal.h

* add lv_strlen and lv_strncpy

* rename LV_DRAW_COMPLEX to LV_USE_DRAW_MASK

* update lv_conf_template

* minor fix
2022-07-19 13:31:42 +02:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
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