* 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>
* 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>
* fix(conf): ensure the template and generated file conform the coding style
and remove lv_conf_internal.h from the excluding list of code-format.cfg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): regenerate lv_conf_internal.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(arc) format code
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(Kconfig) add missing LV_BUILD_EXAMPLES configuration
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(fsdrv): remove the seek call in fs_open (#2736)
since the file should be located at zero after open
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* docs(os) add example and clarify some poinits
* fix(draw border):border draw error if border width > radius (#2739)
* fix(label) consider base dir lv_label_get_letter_pos in special cases
related to https://github.com/lvgl/lvgl/issues/2712#issuecomment-953463193
* improve lv_conf_internal_gen.py for better Kconfig support
Co-authored-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: guoweilkd <guowei15@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* fix(conf): correct LV_USE_EXTERNAL_RENDERER and LV_USE_GPU_SDL related setting
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(Kconfig): typo error in the font and theme related setting
and correct the default value and sequence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(Kconfig): Add the missing misc config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(Kconfig): sync widget and theme in Kconfig with lv_conf_template.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(Kconfig): add the option for 3rd party library and examples
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
We do not use clang-format anymore, so the directive has been removed from most headers.
lv_conf_template.h is untouched as a convenience for downstream projects which still use the tool.
Fixes#2441
* 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
* Fix image zooming causes unexpected object size.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* add lv_snapshot_take API.
* fix(img) invalidate size and layout on zoom and angle change
* fix(img) not self-repeating under some zoom level.
* fix(snapshot) fix to keep the original position
* Move various set_px_cb_xx functions to lv_hal_disp.c
* add snapshot API to store image to provided buffer
* minor fixes and refactoring
* Move snapshot source to extra/others/snapshot.
1. Update parameter buff to buf.
2. Add macro to disable lv_snapshot, enabled by default.
* docs(others) add the others folder with snapshot.md
* docs(snapshot) added doc and example for snapshot.
1. Update doc snapshot.md
2. Add example lv_example_snapshot_1 to folder examples/others/snapshot
3. Update lv_conf_template.h and lv_conf_internal.h
4. Remove lv_snapshot.c from lv_misc.mk
5. Add others to index.md
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* add micropython example for snapshot
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
replace FSL_RTOS_FREE_RTOS by SDK_OS_FREE_RTOS in order to be aligned
with MCU SDK 2.10.
See MCUX-41577.
Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
* 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>