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

6361 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
0ab6433c66 assign theme to the display + minor fixes 2021-02-26 09:51:30 +01:00
Gabor Kiss-Vamosi
add5ce9ddb fix typo 2021-02-26 09:49:14 +01:00
Gabor Kiss-Vamosi
c4dc6ff940 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-02-26 09:47:49 +01:00
Gabor Kiss-Vamosi
9f1fbadf9d fix(bar, slider): fix with negative padding on bar and slider background
It allows making the indicator larger
2021-02-26 09:47:35 +01:00
Gabor Kiss-Vamosi
8fdefa8508 fix(chart) fix warning 2021-02-25 15:38:25 +01:00
Gabor Kiss-Vamosi
c846a37adc feat(chart): trigger draw hook event on the bars of chart 2021-02-25 15:17:44 +01:00
Xiang Xiao
8c34c1533e
Fix memory module issue (#2095)
* fix(mem): reutrn NULL in lv_mem_buf_get if allocation fail

* fix(mem): refine the loop in alloc_core to simplify the logic

* fix(mem): remove the lv_mem_buf declaration from lv_mem.h

since it already declared in gc.h
2021-02-25 14:59:50 +01:00
Xiang Xiao
9a2008bfb9
Fix minor issues found in timer module (#2094)
* fix(timer): remove LV_GC_INCLUDE inclusion since it doesn't need anymore

please see commit d6ca15a74923f2e86ce1e4ee6ee83bb2bbc887b8 for more info

* fix(timer): implement lv_timer_create directly

and call it in lv_timer_create_basic

* fix(timer): exclude the return value computing from the idle time

and change handler_start and time_till_next to local variables

* fix(timer): restart the timer process loop correctly

* fix(timer): skip the count pause timer into next timeout

it's wrong to check repeat_count since the timer is always
removed from the list once the repeat_count change to zero

* fix(timer): remove zero task_deleted and task_created in lv_task_exec

since the loop in lv_task_handler already do the same thing
2021-02-25 14:58:07 +01:00
Gabor Kiss-Vamosi
8a7f9cb131 fix(style): use struct as color filter instead of pure callback for Micropython compatibility 2021-02-24 15:12:36 +01:00
X-Ryl669
45d6fd2397
Port of the fast colorwheel change to v8 (#2092) 2021-02-24 14:16:56 +01:00
Gabor Kiss-Vamosi
d2d8f973b0 format(btnmatrix) change paramater name in lv_btnmatrix_set_selected_btn 2021-02-24 14:14:46 +01:00
embeddedt
b47a982510
fix(bar) correct symmetric handling for vertical bars (#2085) 2021-02-24 07:52:04 -05:00
Gabor Kiss-Vamosi
8004058463 minor fixes 2021-02-24 10:07:54 +01:00
Gabor Kiss-Vamosi
e1457c968c Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-02-24 10:01:29 +01:00
Gabor Kiss-Vamosi
a2b29c091f fix: follow changes of lvgl in examples and extra widgets 2021-02-24 10:00:54 +01:00
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