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
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
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
github-actions[bot]
4452106cce
Merge 2edc95d7cd1c5083aebb6cfd60fcfec5f322c9d1 into dev
2021-02-19 12:51:16 +00:00
Gabor Kiss-Vamosi
2edc95d7cd
fix(fix): gauge
...
fix needle invalidation
2021-02-19 13:50:43 +01:00
Gabor Kiss-Vamosi
c938f44d84
fix(obj tree): fix moving an object to the foreground if the object was the first child
2021-02-19 12:03:13 +01:00
Gabor Kiss-Vamosi
4c56747142
fix(invalidation): do not invalidate an area if it's not on a visible screen
2021-02-19 12:02:07 +01:00
Gabor Kiss-Vamosi
e088388fd5
fix(refr): restart drawer task in true double buffered mode too
2021-02-19 12:00:52 +01:00
Gabor Kiss-Vamosi
b396fd2b9d
fix(style): fix the ID of outline properties
...
They were accidentally overlapping the border properties
2021-02-19 12:00:17 +01:00
Gabor Kiss-Vamosi
4714cc4421
(indev) send release event before click
...
It's important becasue the release signal handels the LV_OBJ_FLEG_CHECKABLE and the LV_EVENT_CLICKED should alrady know about the checked state
2021-02-18 16:14:18 +01:00
github-actions[bot]
3f36a7593d
Merge 0bdcf362ff885fea6c6f2eb23206f4d1e7c67f50 into dev
2021-02-18 12:42:24 +00:00
Alex Kalmuk
0bdcf362ff
feat(cmake) build a static liblvgl.a library by default ( #2079 )
2021-02-18 07:41:54 -05:00
github-actions[bot]
4445a77732
Merge faf45419cad90fdfa448168f312d765e3c86f198 into dev
2021-02-17 15:11:12 +00:00