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

6346 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
0aff24505e fix(theme): add theme perssed and focused styles to table 2021-02-24 09:59:55 +01:00
Gabor Kiss-Vamosi
8f89740612 fix(scroll): fix elastic scrolling on the first and last object with snapping 2021-02-24 09:59:02 +01:00
Gabor Kiss-Vamosi
2ddd485284 fix(obj): fix lv_obj_has_flag when ORed values are used 2021-02-24 09:57:36 +01:00
Gabor Kiss-Vamosi
027a82dc35 feat(table): add support the get the selected cell + keypad navigation 2021-02-24 09:56:44 +01:00
Gabor Kiss-Vamosi
ba89ea35a2 refactor(btnmatrix): use the seleceted word instead of activated 2021-02-24 09:55:47 +01:00
Gabor Kiss-Vamosi
8cf129b4af fix(btnmatrix): join active, pressed and focused button into active button 2021-02-24 05:10:48 +01:00
Gabor Kiss-Vamosi
326734545b refactor(scroll): remove the align word from scroll snap 2021-02-24 04:28:42 +01:00
Xiang Xiao
7f6a2eccea
fix(style): make the code generated by style_api_gen.py confirm the coding style (#2093) 2021-02-23 16:01:46 +01:00
Gabor Kiss-Vamosi
6b1d25a140 fix: remove debug printf 2021-02-23 15:40:50 +01:00
Gabor Kiss-Vamosi
c6dd413f11 minor fixes 2021-02-23 15:13:14 +01:00
Gabor Kiss-Vamosi
cbfbcb47f9 feat(color): use colors from material design
Use function instead of color macros
2021-02-23 15:03:06 +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
82e3c827cc fix(flex): make lv_flex_stacked horizontally center aligned 2021-02-23 11:31:55 +01:00
Gabor Kiss-Vamosi
00b1c80d3c feat(examples): fix examples and add new scroll examples 2021-02-23 11:31:10 +01:00
Gabor Kiss-Vamosi
1442a0f8bc feat(scroll): add lv_obj_update_snap() 2021-02-23 11:30:27 +01:00
Gabor Kiss-Vamosi
d55a27887e fix(draw): incorrent dash line redraw 2021-02-23 11:29:36 +01:00
Gabor Kiss-Vamosi
af98c9a9c0 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-02-23 11:18:20 +01:00
Gabor Kiss-Vamosi
8cfba6ae39 fix(shadow): fix overlapping shadow parts on small objects 2021-02-23 11:18:11 +01:00
Gabor Kiss-Vamosi
1d53278958 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-02-23 09:45:18 +01:00
Gabor Kiss-Vamosi
54cfc37c5c refactor(scroll) rename lv_set/get_snap_.. to lv_obj_set/get_scroll_snap_... 2021-02-23 09:45:13 +01:00
Gabor Kiss-Vamosi
4d788125d7 Merge branch 'dev-v8' into dev 2021-02-23 09:31:37 +01:00
Gabor Kiss-Vamosi
dd588dd56d minor fixes 2021-02-23 09:28:18 +01:00
Gabor Kiss-Vamosi
e9613526f8 fix(anim) fix anim_exec_cb casts 2021-02-22 20:27:46 +01:00
Gabor Kiss-Vamosi
757c18e430 refactor(anim) replace lv_anim_value_t with int32_t
see #2086
2021-02-22 19:01:40 +01:00
Xiang Xiao
dcf0339747
Fix issues found in image cache (#2081)
* fix(image cache): don't need zero dec_dsc field individually

since the next _lv_memset_00 cover this field too and

* fix(image cache): shouldn't call lv_img_decoder_close when lv_img_decoder_open fail

* fix(image cache): fix the cache match algo

1.check cache entry is LV_IMG_SRC_FILE before invoke strcmp
2.ensure lv_img_cache_invalidate_src use the same algo
2021-02-22 12:18:37 +01:00
Gabor Kiss-Vamosi
9b6516617b fix(img example) use dedicated function for anim. callback 2021-02-22 11:23:24 +01:00
Gabor Kiss-Vamosi
f2437f83d2 fix incorrect function name 2021-02-22 11:20:37 +01:00
Gabor Kiss-Vamosi
b6bbadd006 merge master 2021-02-22 11:16:27 +01:00
Gabor Kiss-Vamosi
71a6b5fda9 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-02-22 11:12:37 +01:00
Gabor Kiss-Vamosi
e8179407cd minor fixes 2021-02-22 11:12:19 +01:00
Gabor Kiss-Vamosi
3ddf26923f fix warning 2021-02-22 09:54:38 +01:00
Gabor Kiss-Vamosi
b252998b62 fix(anim) handle edge cases in lv_anim_path_bounce 2021-02-22 09:48:23 +01:00
embeddedt
e467686002
fix(v8) handle most compiler warnings (#2086) 2021-02-20 07:51:03 +01:00
Gabor Kiss-Vamosi
7197372b19 remove gauge (leftover from merging master) 2021-02-20 07:50:48 +01:00
Gabor Kiss-Vamosi
e6955d6ef0 feat(style): add lv_obj_remove_style_all as a wrapper to lv_obj_style_remove 2021-02-19 18:54:03 +01:00
Gabor Kiss-Vamosi
11ea18ca1e feat(align): add lv_obj_center as a wrapper to lv_obj_align 2021-02-19 18:53:26 +01:00
Gabor Kiss-Vamosi
8572cb10c6 fix(img) fix image drawing with padding 2021-02-19 18:42:20 +01:00
Gabor Kiss-Vamosi
9484f1b224 fix warnings 2021-02-19 18:19:47 +01:00
Gabor Kiss-Vamosi
ca4f11e9f4 add the prototypes of the examples 2021-02-19 18:19:32 +01:00
Gabor Kiss-Vamosi
fe20d47b6e fix warnings 2021-02-19 16:16:11 +01:00
embeddedt
406da6856c
Various v8 compilation fixes (#2078)
* fix(style) improve script and fix C/C++ compilation

* fix(api_map) add NO_TASK_READY
2021-02-19 15:58:58 +01:00
Gabor Kiss-Vamosi
5c75c7cc12 fix issues on merging to dev 2021-02-19 15:52:04 +01:00
Gabor Kiss-Vamosi
776165977a merge to dev and slove conflitc 2021-02-19 15:27:44 +01:00
github-actions[bot]
b219998000
Merge 700c1290bae1edfbefdc676f0b2836980e38f089 into dev 2021-02-19 14:02:45 +00:00
Gabor Kiss-Vamosi
5341cb73f5 Merge branch 'dev-v8' of https://github.com/littlevgl/lvgl into dev-v8 2021-02-19 15:02:29 +01:00
Xiang Xiao
700c1290ba
Fix the minor issue in style module (#2071)
* fix(style): correct the comment and alignment

* fix(style): remove the unused macro and inclusion

* fix(style): correct _lv_style_get_xxx with the right pointer type

* fix(style): handle the out of memory gracefully

* fix(style): unify the term usage(class->style)

* fix(style): remove the unnecessary mask in _lv_style_get_xxx

since get_property_index ensure the returned state is a subset of required

* fix(style): centralize the style validation in one place

* fix(style): reuse the new_prop_size in _lv_style_set_xxx

* fix(style): correct the return value of get_style_prop in big endian machine
2021-02-19 15:02:16 +01:00
Gabor Kiss-Vamosi
574a6c0321 fix(meter) fix underflow 2021-02-19 14:48:15 +01:00
Gabor Kiss-Vamosi
fb27f59479 add style examples 2021-02-19 14:47:32 +01:00
github-actions[bot]
b7777b908a
Merge 06917a6ec3bfdf12b19aede3e6df06e66d681ed7 into dev 2021-02-19 12:57:24 +00:00
Xiang Xiao
06917a6ec3
Fix issues found in image decoder (#2083)
* fix(image decoder): replace lv_style.h with lv_color.h

since image decoder doesn't depends on style subsystem
and correct the related comment and some error handling

* fix(image decoder): fix memory leak when no decoder can be used

and handle the out of memory gracefully

* fix(image decoder): zero the output fields after each iteration

to clean the stale info saved by try failed decoder and remove img_data
zero from lv_img_decoder_built_in_open since it has be done in the loop

* fix(image decoder): check .bin suffix in lv_img_decoder_built_in_info

align with what has done in lv_img_decoder_built_in_open

* fix(image decoder): embed lv_fs_file_t directly to save the memory

and handle the abnormal case gracefully(avoid crash or leak)

* fix(image decoder): simplify decode builtin alpha/index bitmap
2021-02-19 13:56:59 +01:00