1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

122 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
ac763346c8
docs(fs): remove link to the lv_fs_if repo 2022-11-24 11:47:17 +01:00
_VIFEXTech
ef62275ffb
feat(img_cache): add support for alternate img cache algorithm (#3798)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-11-19 09:26:17 +01:00
Fabian
46cbbd672f
docs(links): fix outdated links and imrpove formatting (#3698) 2022-09-22 16:09:16 -04:00
Gabor Kiss-Vamosi
0c7f69ac91 feat(event): add LV_EVENT_SCROLL_THROW_BEGIN 2022-09-05 10:09:40 +02:00
Gabor Kiss-Vamosi
2461ac0758 docs: bring back flat widget directory structure 2022-07-27 10:51:11 +02:00
Xiang Xiao
343c61375b
fix(config): remove LV_DISP_DEF_REFR_PERIOD related stuff (#3512)
* fix(config): remove LV_DISP_DEF_REFR_PERIOD related stuff

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(config): remove LV_INDEV_DEF_READ_PERIOD related stuff

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-23 00:27:48 +02:00
embeddedt
d6e5200013
refactor(style): store constant property IDs with a pointer instead of directly (#3506) 2022-07-20 11:32:40 +02:00
Xiang Xiao
9ed5b3fe06
Sync up Kconfig with lv_config_template.h (#3508)
* fix(config): remove LV_COLOR_16_SWAP related stuff

follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(config): remove LV_COLOR_SCREEN_TRANSP related stuff

follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-20 11:29:34 +02:00
Gabriel Wang
8d3d850dd0
docs(gpu): add docs for arm-2d (#3456) 2022-07-07 06:58:45 +02:00
_VIFEXTech
d43f10a180
feat(misc): add asynchronous call function cancellation function (#3439)
* feat(misc): add asynchronous call function cancellation function

* Update documentation

* Remove useless comments

* remove continue

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-07-03 12:31:17 +02:00
embeddedt
9a48de0f8b
feat(style) add 'inherit' and 'initial' CSS properties (#3390)
Fixes #3086
2022-06-09 20:20:34 -04:00
qinshijing
e59c83b453
feat(anim): add deleted callback (#3279) (#3295)
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2022-06-03 11:01:07 +02:00
embeddedt
d6911053aa
chore(docs) remove unneeded eval_rst statements 2022-05-09 13:35:03 -04:00
embeddedt
1816fa576c
ci(docs) replace use of sed with proper configuration variables 2022-05-09 13:28:06 -04:00
Gabor Kiss-Vamosi
8b15007568 fix(draw): create intermediate layer for blend modes too 2022-04-26 11:23:55 +02:00
Gabor Kiss-Vamosi
318146a2c2 feat(draw): support transforming widgets and improfe sw transform
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
_VIFEXTech
69aa421acd
docs(gesture): fix typo lv_indev_act() -> lv_indev_get_act() (#3291)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-26 10:32:18 +02:00
Gabor Kiss-Vamosi
65db5c99e0
docs(gesture): describe how prevent sending events after a gesture
Related to #3211
2022-04-19 10:11:16 +02:00
Gabor Kiss-Vamosi
777fe1ea70 fix(scroll): send LV_EVENT_SCROLL_BEGIN/END with no animation too 2022-04-14 13:38:03 +02:00
Xiang Xiao
a6368fec53
fix(docs): rename task-handler.md to timer-handler.md (#3203)
since all task facility is already switched to timer facility

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-24 22:11:45 +01:00
Gabor Kiss-Vamosi
378aaa637b docs: add section for renderers and gpus 2022-03-24 21:52:42 +01:00
Viatorus
962d374791
feat(indev): add possibility to enable/disable all input devices at once (#3179)
* add possibility to globally enable/disable all input devices

* fix copy/paste error

* merge lv_indev_globally_enable into lv_indev_enable

* add missing simicolon

* remove unused variable
2022-03-21 14:53:40 +01: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
ckielstra
f79e2838cb
chore(doc): spelling (#3172)
* Spelling: 'an unicode' -> 'a unicode'

* fix(changelog) spelling

* Remove double spaces

* Spelling
2022-03-16 10:19:19 +01:00
Viatorus
45b0f86ae5
feat(disp): add screen out animations (#3081)
* add screen out animations

* make FADE_ON an alias of FADE_IN for backward compatiblitiy

* revert any changes to lv_indev.c

* format code

* update docs

* disable input if screen animation is active
2022-03-10 16:54:42 +01:00
embeddedt
8ac93ad883
refactor(style) move flag information into a dedicated table (#3102) 2022-03-07 10:01:25 -05: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
GoT
4ed0f011f6
chore(docs): fix type about file system cache_size setting (#3115) 2022-02-24 17:19:04 +01:00
GoT
0cbb0087f7
docs(scroll) add information about scroll coordinates (#3088) 2022-02-16 07:49:12 -05:00
GoT
78966f5cc4
docs(scroll): use LV_DIR_VER instead of LV_DIR_TOP (#3066)
Bad usage of LV_DIR_TOP
2022-02-07 17:33:54 +01:00
Adrian Schnyder
abba1c351a feat(fs): add caching option for lv_fs-read (#2979)
BREAKING CHANGE:
The `LV_FS_...` related configs needs to be updated.

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 20:52:37 +01:00
Gabor Kiss-Vamosi
4197b2fd6e feat(scrollbar): add more control over scrollbar paddings 2022-01-24 20:11:43 +01:00
X-Ryl669
923defd6b6
fix(gradient): general cleanup and fix for alignment issues (#3036)
* 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>
2022-01-24 15:47:47 +01:00
ckielstra
10866ce3f0
fix(doc): full covering opacity is 255, not 256 (#3022) 2022-01-19 09:30:10 -05:00
Gabor Kiss-Vamosi
933d67fe5b
docs(event): tell to not adjust widgets in draw events
fixes #3009
2022-01-19 12:34:13 +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
Gabor Kiss-Vamosi
e3b43eec94
docs(gesture): clarify gesture triggering with scrolling
related to #2995
2022-01-12 17:38:34 +01: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
e7ac0e4198 feat(obj): add LV_OBJ_FLAG_OVERFLOW_VISIBLE 2022-01-05 16:18:19 +01:00
guoweilkd
ee3aa07a83
feat(obj): subdivide LV_OBJ_FLAG_SCROLL_CHAIN into ...CHAIN_HOR and ...CHAIN_VER (#2961)
* 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
2022-01-05 13:44:05 +01:00
Gabor Kiss-Vamosi
28ffae8c93
docs(style): describe const styles 2022-01-03 14:04:38 +01:00
Gabor Kiss-Vamosi
2719862fc3
docs(indev): add description about gestures 2022-01-03 13:39:14 +01:00
embeddedt
2f808965a1
docs(font) fix example to match v8
Closes #2873. Thanks for bringing this to our attention @rafaelcorsi.
2021-12-16 21:01:51 -05: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
b911b72f4b
docs: spelling fixes (#2828) 2021-11-23 10:50:18 +01:00
Xiang Xiao
f1584e122f
docs(style) minor style fix (#2818)
* fix(misc): avoid ;; after LV_ASSERT_STYLE/LV_ASSERT_OBJ

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): remove the unused docs_prop_cnt variable

and remove the trailing space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): ensure the generated code follow the coding style

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): ensure props has the same order of lv_style_prop_t

and correct the style flags

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 10:53:16 +01:00
Mariotaku
3ea4d66411
feat(font) add fallback support and mem. font load option to FreeType (#2796)
* adding font type check

* using theme specified font
supports freetype drawing

* adding font type check

* using theme specified font
supports freetype drawing

* freetype fallback font support

* improved fallback font

* updated fallback font modifier

* docs(events) LV_EVENT_APPLY was removed (#2791)

* reverted to default font logic

* removed unused function

* improved font fallback

* font fallback for default lv_draw_letter as well

* added back masked drawing support

* fallback support for freetype uncached

* updated description

* fixed constructor initialization for ISO C

* reverted unneeded changes

* using loop instead of recursion to resolve glyph info

* simplified glyph dec resolving

* removed unused enum value

* improved lv_font_fmt_ft_dsc_t field naming

* supports pointer as freetype font source

* Updated docs for font fallback

Co-authored-by: Vincent Hamp <higaski@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-22 10:43:58 +01:00
Gabor Kiss-Vamosi
cdd5128bc0
docs(event) fix lv_event_get_original_target vs lv_event_get_current_target 2021-11-17 12:23:17 +01:00
Gabor Kiss-Vamosi
7bae9e3ddd feat(event) add LV_SCREEN_(UN)LOAD_START 2021-11-10 10:13:50 +01:00