Kenji Mouri
bbad478ce6
feat(fsdrv) add driver based on Win32 API ( #2701 )
2021-10-20 11:35:11 +02:00
Xiang Xiao
4baaa6fe07
fix(kconfig) sync Kconfig with the latest lv_conf_template.h ( #2662 )
...
* 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>
2021-10-15 11:34:16 +02:00
Xiang Xiao
7124ef7761
fix(conf) make a better style alignment in lv_conf_internal.h ( #2652 )
...
and reorder Kconfig and src/lv_conf_kconfig.h as lv_conf_template.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-12 18:15:05 +02:00
Gabor Kiss-Vamosi
18f61c5f77
arch add small 3rd party libs to lvgl ( #2569 )
...
* move png, sjpg, bmp, gif, fs_if to extra/libs
* reorganize the examples
* update lv_conf_internal.h
* fix warnings
* add freetype
* remove unused assets
* add the new libs to build tests
* update the docs
2021-10-04 14:34:11 +02:00
Mariotaku
efc5bb40d9
feat(drawing) hardware accelerated rendering by SDL2 ( #2484 )
...
* Hardware accelerated SDL render WIP
* Rect drawing code cleanup
* Fixed arc drawing angle
Fixed compact rect drawing
* Refactoring
Fixed cache deinit order
* Image recolor
Drawing left and right border
* Math problems
* Improving draw cache
* Improving line drawing logic
* Improving arc drawing quality
* Added round function
* Attempts to render properly on Pi
* Updated lruc function names
* Updated symbol names
* Saved ram by reusing part of background rect
* Added outline drawing
Removed arc texture caching
* rect drawing cache rendering
* high efficiency rect shadow texture caching
* fixed simple borders drawing
* fixed generic borders drawing
* Simplified text atlas caching logic
Supports chroma keyed image
* Color palette WIP
* Improved draw cache
* Updated defines for better build
* renaming files for better consistency
* fix includes
* Updated lv_conf_internal with generator
* Fixing build issues
* fixed img rotation pivot
* better font atlas caching WIP
* fix includes
* full font atlas support
improved gpu caching for rect
* update conf header
* fix palette creation
* Fixed font atlas key matching
* fixed chroma key image background
* added 3bpp mask palette (WIP)
* fixed caching key initialization
* disabled gpu arc drawing for now
updated naming convention
* updated naming convention
* fix makefile and include path
* improved rect drawing when having masks
* improved rect drawing when having masks
* reduced texture allocation while drawing with mask
* accurate clipping for rects and texts
* fixed build error
* fixed build error
* line drawing WIP
* updated imports
* fixed freezes if LRU has smaller new item
* fixed clipping rect color
* fixed build error
* using built-in free function for LRU key
* Added custom background drawing function
* fixing imports
* fixed shadow bitmap on old SDL libs
* improved draw_img compatibility
* fixing font baking
* fixed font rendering
* fixed lv_draw_line check
* configurable SDL include path
* disabled SDL line drawing implementation
* supports screen resize
* sdl: Remove duplicated object
Observed issue:
/usr/bin/ld: lv_gpu_sdl_texture_cache.o: \
in function `_lv_gpu_sdl_texture_cache_init':
lv_gpu_sdl_texture_cache.c:(.text+0x30): \
multiple definition of `_lv_gpu_sdl_texture_cache_init'; \
lv_gpu_sdl_texture_cache.o:lv_gpu_sdl_texture_cache.c:(.text+0x30): \
first defined here
Forwarded: https://github.com/mariotaku/lvgl/pull/1
Relate-to: https://github.com/lvgl/lvgl/pull/2484
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
* Reduced opening of image
* Closes image resource properly
* improved draw image logic
* Moved driver related code to lv_drivers
* fixed lv_deinit implicit sdl code invocation
* improved shadow clipping
* fixed outline area invalidation
* updated comments
* formatted code using astyle
* Updated README
* formatted code
* fixed typo
* fixed static declaration
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Philippe Coval <philippe.coval@huawei.com>
2021-09-16 18:20:32 +02:00
ckielstra
5249a34d5d
docs more spelling fixes ( #2499 )
2021-08-27 12:15:39 +02:00
Miguel Magno
36ddbd0756
feat(mem) LV_MEM_POOL_ALLOC ( #2458 )
...
fixes #2328
* Add LV_MEM_POOL_ALLOC #2328
* Add LV_MEM_POOL_ALLOC #2328
* Update lv_conf_template.h
2021-08-17 21:33:32 +02:00
Gabor Kiss-Vamosi
3c86d777c1
chore(format) lv_conf_template.h minor formatting
...
related to #2441
2021-08-09 11:16:16 +02:00
Themba Dube
2122583ec2
style fix usage of clang-format directives
...
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
2021-08-07 16:06:40 -04: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
Neo
c98c8252ea
feat(snapshot) add API to take snapshot for object ( #2353 )
...
* 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>
2021-07-19 14:46:28 +02:00
Gabor Kiss-Vamosi
13ed195354
Merge pull request #2313 from NXPmicro/nxp_pxp_vglite_v8-dev
...
Nxp pxp vglite v8 dev
2021-06-22 11:50:28 +02:00
Seb Fagard
00c3eb197c
fix(pxp): update RTOS macro for SDK 2.10
...
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>
2021-06-21 10:53:38 +02:00
Gabor Kiss-Vamosi
8691611de2
update version numbers to v8.1.0-dev
2021-06-14 13:51:45 +02:00
Gabor Kiss-Vamosi
3810ef6211
update verson numbers to v8.0.1
2021-06-14 13:45:43 +02:00
Themba Dube
9d134a99e3
chore(lv_conf_template) fix spelling mistake
...
Also forces the docs to rebuild.
2021-06-07 15:22:59 -04:00
Gabor Kiss-Vamosi
c597d25798
Release v8.0.0
2021-06-01 09:48:03 +02:00
Gabor Kiss-Vamosi
a0eb46b042
feat(theme) add mono theme
2021-05-26 12:23:23 +02:00
Gabor Kiss-Vamosi
e2a7f559ab
feat(bidi) make base dir a style property and rename lv_bidi_dir_t to lv_base_dir_t
2021-05-19 20:55:44 +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
6aa27cc11b
refactor(label, text area) rename functions of text_sel to text_selection
2021-05-13 15:39:06 +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
Gabor Kiss-Vamosi
a8016196a8
refactor(meter, chart) make them extra widgets instead of core
2021-05-02 22:01:56 +02:00
Gabor Kiss-Vamosi
4f46336a54
fix(theme) simplify the default theme
2021-04-28 10:11:26 +02:00
Gabor Kiss-Vamosi
2a07880db2
fix(lv_conf_template.h) remove lv_user_data_t as it's not used
2021-04-06 13:14:19 +02:00
Gabor Kiss-Vamosi
e97810c966
remove dead link from lv_Conf_template.h
2021-04-02 09:48:02 +02:00
Gabor Kiss-Vamosi
b22aa1497b
Revert "fix(comment) remove https:// from lv_conf_template.h comments beacsue they caused nested comment warning"
...
The issue wasn't beacause of https:// but with /*some/url/*/
This reverts commit bc081f6ef3989af14f73e97cd3df3538671dd80b.
2021-04-02 09:46:06 +02:00
Gabor Kiss-Vamosi
bc081f6ef3
fix(comment) remove https:// from lv_conf_template.h comments beacsue they caused nested comment warning
...
Fixes 66c1105ef6 (r48929310)
2021-03-31 20:13:46 +02:00
Meco Man
a8c21f8e18
fix(style): auto formatted
2021-04-01 01:06:43 +08:00
Gabor Kiss-Vamosi
66c1105ef6
chore(lv_conf_temaple.h): add comments to FLEX and GRID
2021-03-30 21:07:17 +02:00
Gabor Kiss-Vamosi
84163749ec
fix(lv_conf): add LV_USE_THEME_BASIC
2021-03-19 18:07:58 +01:00
Gabor Kiss-Vamosi
c565d4de8a
feat(refresh): add LV_USE_REFR_DEBUG
2021-03-19 18:05:33 +01:00
Gabor Kiss-Vamosi
c1f8a844bc
style(comment): remove the word signal from the comments
2021-03-18 17:38:42 +01:00
Xiang Xiao
9254a7ea14
fix(comment): remove the space after /* and before */
2021-03-18 11:51:36 +08:00
Xiang Xiao
33b5ee3ad2
fix(task): change all task related term to timer
...
follow up the task module change
2021-03-03 14:32:25 +08:00
Gabor Kiss-Vamosi
1b79a5ae32
fix(obj): swap lv_obj_move_forground/background
2021-03-01 12:12:18 +01:00
Gabor Kiss-Vamosi
2f0443b803
update lv_conf_internal.h
2021-03-01 12:03:46 +01:00
Gabor Kiss-Vamosi
8bc6931f7f
add many LV_LOG_TRACE-s
2021-02-28 20:42:48 +01:00
Gabor Kiss-Vamosi
468fdb4f74
feat(debug): add mem. monitor simalarly to perf. monitor
2021-02-28 15:01:28 +01:00
Gabor Kiss-Vamosi
6f357ea745
minor fixes
2021-02-28 14:18:32 +01:00
Gabor Kiss-Vamosi
0493a9aebd
update lv_conf_template
2021-02-26 16:12:30 +01:00
Gabor Kiss-Vamosi
0ab6433c66
assign theme to the display + minor fixes
2021-02-26 09:51:30 +01:00
Gabor Kiss-Vamosi
c6dd413f11
minor fixes
2021-02-23 15:13:14 +01:00
Gabor Kiss-Vamosi
8740046efc
fix(theme): make LV_THEME_DEFAULT_GROW 1 by default
2021-02-23 11:32:50 +01:00
Gabor Kiss-Vamosi
5c75c7cc12
fix issues on merging to dev
2021-02-19 15:52:04 +01:00
Gabor Kiss-Vamosi
10a26bf082
fix(align): fix align ...IN_MID
2021-02-17 13:42:31 +01:00
Gabor Kiss-Vamosi
02c19eacab
fix warnings and make tests working
2021-02-14 22:07:38 +01:00
Gabor Kiss-Vamosi
bb08660cb6
minor fixes
2021-02-14 14:56:34 +01:00
Gabor Kiss-Vamosi
95b1bd8409
add examples + refactoring
2021-02-12 14:22:48 +01:00
Gabor Kiss-Vamosi
8a1af8646f
add lv_components as src/extra and minor fixes
2021-02-04 14:46:11 +01:00