* 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
* Add initial pre-commit configuration for code formatting
* chore: Move --recursive switch from cfg file to script
* pre-commit: Update format-source hook to use code-format.cfg
Also remove the code-format-per-file.cfg file as it's now unused
* docs: Add section about pre-commit
* feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting
* feat: update helper function and doc
* doc(porting): update function names
* revise to the original os.md
* fix: fix typo
* fix: mitigate warnings
* Try to fix ASAN behavior
* improve alignments
* fix buffer overflow and various other fixes
* minor fixes
* formatting
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* test(bar) Add test for docummented default attributes
* test(bar) Update test for docummented default attributes
* test(bar): Indicator width tracks value
* test(bar) Calculate bar indicator width based on its style
Take padding, max value and bar value into consideraion
* test(bar) Indicator area gets smaller when increasing padding in LV_PART_MAIN style
* test(bar) Start value changes only when in range mode
* docs(bar): Add missing MODE to symbols
* test(bar) Start value should be smaller than current value
* test(bar): Test current value truncation to max and min value
* bar: Check bar mode in lv_bar_set_start_value
bar start_value can be changed only when bar is in LV_BAR_MODE_RANGE mode.
Return early when it's not.
* test(bar): Fix width calculation test
* bar: Initialize indic_area in constructor
* test(bar): Refactor indicator coordinate update test
* test(bar): Indicator negative value in symmetrical mode
* test(bar): Fix base direction
* test(bar): Indicator coord test for RTL base dir
* 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>
* kconfig: Fix invalid dependancy in fsdrv
LV_USE_FS_* symbols are integers, instead of usual booleans.
We must treat them as such.
* ci: Get LVGL version from git tag
* docu: Update Espressif readme
* ci run apt update before installing
* 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>
* feat(obj scroll):subdivide LV_OBJ_FLAG_SCROLL_CHAIN into ...CHAIN_HOR and ...CHAIN_VER
* feat(roller):open the horizontal scroll chain
* chore(docs):improve the description of scroll chain