Commit Graph

38 Commits

Author SHA1 Message Date
Carlos Diaz
d59938d7f7 feat(scale): add custom labels example (#6699)
Co-authored-by: Liu Yi <lhdjply@126.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-08-25 07:48:13 +02:00
Gabor Kiss-Vamosi
14ff25b6fb fix(roller): enable lv_example_roller_3 again (#6307) 2024-06-03 10:07:23 +08:00
Gabor Kiss-Vamosi
9c5ca0e081 feat(lottie): add ThorVG based lottie widget 2024-05-23 18:25:17 +02:00
TridentTD
ec3d979005 fix(lv_msgbox): Automatically adjust msgbox's content height. (#6176)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2024-05-15 09:47:23 +08:00
Gabor Kiss-Vamosi
0a03d9da1e fix(example): fix the gradient text example (#6152) 2024-05-02 22:08:08 +08:00
lhdjply
466e29a1be feat(calendar): add chinese calendar (#5940)
Signed-off-by: lhdjply <lhdjply@126.com>
2024-04-08 14:06:22 +02:00
liamHowatt
c6c2c1e961 feat(scale): mutiple line needles (#5937) 2024-03-29 10:33:29 +01:00
Gabor Kiss-Vamosi
d5daccdd48 docs: update API comments 2023-12-13 22:23:03 +01:00
Zhang Ji Peng
8cf0bbb558 feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00
xaowang96
8f57f12a44 feat(bar): reverse drawing direction of lv_bar if min > max (#4654)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-10-20 23:22:56 +02:00
Gabor Kiss-Vamosi
666f839977 docs(chart): update chart example 2023-10-16 23:43:35 +02:00
Gabor Kiss-Vamosi
4b981f7d6d docs: fix examples 2023-10-12 20:25:32 +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
Carlos Diaz
5c1fc63647 feat(scale): add the lv_scale widget (#4196)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 15:09:40 +02:00
Gabor Kiss-Vamosi
7b1a363ecb chore: fix warnings 2023-07-15 20:59:49 +02:00
Gabor Kiss-Vamosi
d47851ad3c examples(canvas): add canvas drawing examples 2022-11-21 23:08:32 +01:00
Gabor Kiss-Vamosi
e2771db8ce example(keyboard): add an example to show how to set a new map
fixes #3490
2022-07-18 17:50:35 +02:00
Xiang Xiao
7eff407fea chore(format): order the header file and function prototype (#3492)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 15:29:04 +02:00
Andres O. Vela
340d45cfa9 feat(label): added animation style property to apply it to circular scrolling animation of label widget (#3128)
* feat(label): added animation style property to apply it to circular scrolling animation of label widget

Added an animation style property to be used as animation template for different use cases in different widgets.
This commit implements using this property to set the start and repeat delay of the circular scrolling animation of the label widget.

Closes #3097

* fix(label): changed animation style property's var_type to `const lv_anim_t *`

* example(label): added example showing how to customize circular scrolling animation

* chore(label): ran code-format.py and added missing function prototype to lv_example_widgets.h
2022-02-25 11:54:27 +01:00
HX2003
ad947d3085 feat(widgets): add menu widget (#2603)
* add menu widget

* Update lv_example_widgets.h

* fix errors

* Update lv_menu.c

* try to fix errors

* micropython

* Fix colons

* Simplify and optimise

* Refactor

* Update lv_example_menu_3.c

* Update lv_example_menu_3.c

* Add simple micropython examples

* Improvements

* Automatically set clickable flags

* Custom header example

* Include example

* Refactor again

* Fix error

* Fix error

* Add back micropython example

* Hide back btn by default

* Add config

* Fix spacing

* Fix spacing

* Docs

* Update lv_theme_default.c

* Remove shaded text

* Improve clarity

* Create index.rst

* Update custom header example

* Change lv_menu_set_mode_sidebar to lv_menu_set_sidebar_page

* Fix unused variable

* Added ability to set title to page

* Flex

* Simplify sidebar check

* Rename mode and update header btn

* Run lv_conf_internal_gen.py

* Run code-format.sh

* Add contributors

* Micropython example 3

* Micropython example 4

* Improve docs
2021-11-29 11:33:34 +01:00
Gabor Kiss-Vamosi
462fbcbf49 feat(example) add text with gradient example
fixes #2778
2021-11-09 15:44:39 +01: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
Gabor Kiss-Vamosi
d089b364e7 feat(example) add checkbox example for radio buttons
related to https://forum.lvgl.io/t/implement-radio-button-with-checkbox/6879/8
2021-09-24 12:02:13 +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
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
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
Gabor Kiss-Vamosi
1b2d28bbc0 fix warnings 2021-05-26 14:38:42 +02:00
Gabor Kiss-Vamosi
7522f4e2f0 feat(chart) add scatter chart example 2021-05-24 15:11:07 +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
97282e67bd feat(example) add obj drag example 2021-05-19 21:55:29 +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
96ef55273d fix(example) reconvert the images to add alpha channel 2021-05-11 17:43:14 +02:00
ZhaoQiang-b45475
8f083a34fa Extra: widgets: add a new widget animation image (#2167)
* Extra: widgets: add a new widget animation image

This widget is a combination of img and animation,
could achieve animation effects by
constantly switching a series imgs.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Signed-off-by: Hui Song <hui.song_1@nxp.com>
Signed-off-by: Xiaolin He <xiaolin.he@nxp.com>

* example: add animimg example

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2021-05-07 14:50:48 +02:00
Xiang Xiao
9254a7ea14 fix(comment): remove the space after /* and before */ 2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
acd07ff83c feat(example): add more chart examples 2021-03-15 15:23:10 +01:00
Gabor Kiss-Vamosi
8004058463 minor fixes 2021-02-24 10:07:54 +01:00
Gabor Kiss-Vamosi
ca4f11e9f4 add the prototypes of the examples 2021-02-19 18:19:32 +01:00
Gabor Kiss-Vamosi
7bec13c2b9 update asserts 2021-02-08 09:53:03 +01:00