Gabor Kiss-Vamosi
3940f53782
chore(example): fix copy/paset error in lv_example_canvas_7
2022-11-23 10:29:27 +01:00
Gabor Kiss-Vamosi
d47851ad3c
examples(canvas): add canvas drawing examples
2022-11-21 23:08:32 +01:00
Gabor Kiss-Vamosi
ff66e6369d
chore: fix MicroPython test
2022-11-20 16:44:18 +01:00
Gabor Kiss-Vamosi
1d06c6c58d
ci(exmpple): update meter MicrpPython examples
2022-11-20 15:17:57 +01:00
Gabor Kiss-Vamosi
a218d75409
feat(meter): remove the option to add multiple scales
...
API BREAKING
2022-11-19 08:42:03 +01:00
Gabor Kiss-Vamosi
853163f615
docs(calvas): fix that LV_CANVAS_BUF_SIZE_ return byte count and not pixel count
...
fixes #3734
2022-10-11 20:17:18 +02:00
_VIFEXTech
14c126a883
chore(examples): fix unused-variable warning ( #3732 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-10-10 15:31:29 +02:00
honey the codewitch
57e0943b10
feat(tiny_ttf): ttf support ( #3680 )
...
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-09-26 17:30:07 +02:00
Uli Raich
29ec34be77
examples(micropython): add a few missing MP examples ( #3672 )
2022-09-21 11:21:36 +02:00
Douglas Healy
3b7411893f
fix(examples) resolve string formatting compiler warnings ( #3654 )
2022-09-04 09:47:38 -04:00
Amir Gonnen
33d8ca779d
feat(examples) adjust micropython examples to use lv_png ( #3639 )
2022-08-29 17:12:37 -04:00
Derek Carter
bdd520e00c
fix(img): lv_img_buf_get_img_size miscalculation for 1/2/4 it images ( #3611 )
2022-08-24 10:05:48 +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
Gabor Kiss-Vamosi
023279f126
chore: fix warning
2022-07-18 17:51:46 +02: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
Gabor Kiss-Vamosi
6b2eac1dd7
example(btnmatrix): update lv_example_btnmatrix_2 to expicitly check which part is drawn
...
related to https://forum.lvgl.io/t/style-messagebox-buttons-causes-outline-around-all-buttons-in-the-button-matrix/9170
2022-06-23 13:26:31 +02:00
Gabor Kiss-Vamosi
7bb09e3580
example(span): avoid ambiguous meaing
...
fixes: https://github.com/lvgl/lvgl/pull/2227#issuecomment-1131193923
2022-05-19 13:01:28 +02:00
embeddedt
71d535defd
fix(examples) use type-safe function for retrieving event param
...
Fixes #3364
2022-05-18 13:58:35 -04:00
Gabor Kiss-Vamosi
930115edbb
revert example
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
b773330234
fix conflicts
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
a76bb70a79
feat(arc): add lv_arc_align_obj_to_angle and lv_arc_rotate_obj_to_angle
2022-04-27 14:24:45 +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
Carlos Diaz
0a5c5465d2
chore(docs): fix trailing whitespaces in files ( #3133 )
2022-03-01 13:52:45 +01: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
Gabor Kiss-Vamosi
4a766c516d
example(slider): make lv_example_slider_3 work with dark theme too
...
fixes : #3094
2022-02-16 14:04:05 +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
Gabor Kiss-Vamosi
62fc7123f1
feat(gridnav): add lv_gridnav ( #2911 )
...
* add first implememtation
* Update src/extra/others/gridnav/lv_gridnav.c
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
* minor fix
* add example and minor fixes
* add more examples
* add more examples
* code formatting
* add LV_GRIDNAC_CTRL_SCROLL_FIRST
* code formatting
* add example for list
* add docs
* Misc: improvements to gridnav docs (#2994 )
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: Ken Carpenter <62639971+FoundationKen@users.noreply.github.com>
2022-01-20 10:29:40 +01: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
X-Ryl669
6617385f8a
feat(draw): add gradient dithering support ( #2872 )
...
* Add dithering to gradients
* Add support for 8x8 matrix for ordered dithering
* Fix CI errors
* Try error diffusion on vertical gradient too
* Vertical error diffusion dithering
* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).
* Reduce the binary size of the code by sharing the dithering table when appropriate.
* Fix CI
* Fix CI
* Review corrections
* Fix union mapping
* Revert bg_color changes
* Fix for keeping bg_color in the API.
* Fix after review
* Add support for setting multiple stops per gradient in the style API
* Let's make an example
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-11 12:38:30 +01:00
Gabor Kiss-Vamosi
2d8476438b
chore(example): fix image path in lv_example_btnmatrix_2.py
2022-01-05 13:46:11 +01:00
Gabor Kiss-Vamosi
b03dc9cf86
example(table): fix text alignment
2021-12-22 21:18:07 +01: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
Man, Jianting (Meco)
70778fb9e4
fix: removed string format warnings for int32_t and uint32_t ( #2924 )
...
* fix:Removed string format warnings for int32_t and uint32_t
re-handle #2722
* feat(rt-thread): add the option of built-in examples
2021-12-20 09:52:07 +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
ckielstra
91fc579ee7
docs fix spelling, parameter descriptions, comments, etc ( #2865 )
2021-12-02 08:44:05 -05:00
Gabor Kiss-Vamosi
d5ede0ebc6
fix(img) fix invalidation issue on transformations
...
fixes #2853
2021-11-30 20:35:12 +01:00
HX2003
163deb3dfb
chore(menu): fix broken links for the menu widget ( #2848 )
2021-11-29 13:55:14 +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
8f6b1f8d6c
arch(draw) separate SW renderer to allow replacing it ( #2803 )
...
* decouple sw renderer
* simplify blend interface
* make tests pass
* udpate makefiles
* fix warning
* fix build errors
* run code formatter
* antialias fix
2021-11-26 12:44:10 +01:00
guoweilkd
ab544696dc
example: add non-null judgment to lv_example_obj_2 ( #2799 )
2021-11-12 11:00:48 +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
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
Gabor Kiss-Vamosi
0bab4a72cf
fix(calendar) update the MP example
2021-10-25 18:51:49 +02:00