Gabor Kiss-Vamosi
663bcfd030
api(style) add lv_style_selector_t instead of lv_part_t and lv_state_t in style API
2021-03-31 19:57:14 +02:00
Gabor Kiss-Vamosi
0527874f8d
chore(textarea) clean up comemnts
2021-03-31 13:22:35 +02:00
Gabor Kiss-Vamosi
d86c0e3e55
feat(textarea) add lv_textarea_set_align
...
It makes easier to align the label and line fo teh text
Related to https://github.com/lvgl/lvgl/issues/2144#issuecomment-808973937
2021-03-31 13:16:37 +02:00
Xiang Xiao
a588dced31
fix(style): modify prop_cnt only after lv_mem_alloc return non-zero value ( #2169 )
...
to handle the out of memory gracefully
2021-03-31 10:06:02 +02: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
a9f86c96b3
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-03-29 21:18:21 +02:00
Gabor Kiss-Vamosi
722f1ca689
fix(obj) force layout recalculation on style change
2021-03-29 18:24:23 +02:00
Riccardo
e7c0401116
Fix a compilation error and build warning ( #2172 )
...
* fix(lv_obj): make lv_obj_update_layout() work with a const pointer
* fix(lv_conf_internal): prevent URL being interpreted as comment warning
2021-03-29 16:15:14 +02:00
Gabor Kiss-Vamosi
2dd9ca06d3
minor fixes
2021-03-26 20:27:11 +01:00
Gabor Kiss-Vamosi
d1c5f1c16e
fix(bar) invalidate the indicator on press/release
2021-03-26 16:50:10 +01:00
Gabor Kiss-Vamosi
38e77d1381
fix(style_gen) update style_api_gen.py according to the changed style properties
2021-03-26 12:26:57 +01:00
Xiang Xiao
e153ccd1c1
fix(style_api_gen.py): change lv_color_filter_cb_t to lv_color_filter_dsc_t ( #2162 )
...
and update the generated style header files
2021-03-26 12:16:57 +01:00
Gabor Kiss-Vamosi
020c95a308
fix(include) add missing include
2021-03-26 11:47:02 +01:00
Gabor Kiss-Vamosi
0e0393539e
fix(extra): add lv_extra.c/h for lv_extra_init()
2021-03-26 11:45:28 +01:00
Gabor Kiss-Vamosi
415c114be6
fix(align) refresh position on size change
2021-03-25 20:53:45 +01:00
Gabor Kiss-Vamosi
f4abafc1c9
fix(obj_class) add missing define
2021-03-25 20:37:51 +01:00
Gabor Kiss-Vamosi
400bb9e02d
remove debug code
2021-03-25 20:29:19 +01:00
Amir Gonnen
d0fb10724b
feat(cmake) Allow building LVGL without kconfig ( #2165 )
2021-03-25 20:15:39 +01:00
Gabor Kiss-Vamosi
b3f1d49735
follow Micropython conventions with anim->get_value_cb
2021-03-25 20:09:51 +01:00
Gabor Kiss-Vamosi
966f6e1727
refactor(dropdown): rename lv_dropdown_list_class to lv_dropdownlist_class
...
It avoids ambiguity. See https://github.com/lvgl/lvgl/issues/1763#issuecomment-804357591
2021-03-25 20:03:49 +01:00
Gabor Kiss-Vamosi
63bc72e53a
minor fixes
2021-03-25 19:59:23 +01:00
Gabor Kiss-Vamosi
35c55291e3
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-03-25 19:42:37 +01:00
Gabor Kiss-Vamosi
3ab9b366f4
remove 'merge-to-dev.yml' as we don't use the dev brach anymore
2021-03-25 19:42:29 +01:00
Gabor Kiss-Vamosi
a2f3022188
api(align) save align in style and handle x/y according to it
2021-03-25 16:14:17 +01:00
Gabor Kiss-Vamosi
53f3cc1827
api(style) remove content style proeprties
2021-03-25 13:36:50 +01:00
Xiang Xiao
22f4e0b011
Merge pull request #2161 from xiaoxiang781216/rename
...
fix(build): remove lv_ prefix from path
2021-03-25 01:42:03 -07:00
Gabor Kiss-Vamosi
b7becbbb22
feat(style): store layout and position coordinates as style properties
...
related to #2152
2021-03-24 15:38:53 +01:00
Xiang Xiao
7cc3ed51bf
fix(style): add one space before { for struct definition ( #2160 )
2021-03-24 12:01:56 +01:00
Xiang Xiao
5f993286a2
minor fix for obj class ( #2154 )
...
* fix(class): correct the typo error in comment
* fix(class): return directly if the memory allocation fail
* fix(class): remove the unused code
* fix(class): remove parent argument from lv_obj_construct
since this argumnet is really used
* fix(class): replace stddef.h with stdint.h
since uint32_t is defined in stdint.h
2021-03-24 11:29:56 +01:00
Xiang Xiao
85a7c5e66a
fix(gc): remove the inclusion of LV_GC_INCLUDE ( #2164 )
2021-03-24 09:44:46 +01:00
Xiang Xiao
8dd3c76305
fix(build): remove lv_ prefix from path
2021-03-23 23:30:32 +08:00
Xiang Xiao
04990aefe5
fix(obj): remove the unused MY_CLASS macro ( #2153 )
2021-03-21 17:37:25 +01:00
Xiang Xiao
e7cc4bc180
fix(format): remove 0x prefix from %p ( #2151 )
...
* fix(format): remove 0x prefix from %p
since %p already add this prefix automatically
* fix(printf): make %p more compatible with the standard
2021-03-21 16:50:49 +01: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
d83fa19703
minor fixes
2021-03-19 18:03:08 +01:00
Gabor Kiss-Vamosi
a4b66d550f
minor fix
2021-03-19 16:33:50 +01:00
Gabor Kiss-Vamosi
bcacdecbcb
remove test code
2021-03-19 16:30:08 +01:00
Gabor Kiss-Vamosi
c1fd58b785
fix(theme) do not apply theme to top/sys_layer as they are transparent by default
...
Fixes 4bdb0e94
2021-03-19 16:28:57 +01:00
Gabor Kiss-Vamosi
4bdb0e94a3
fix(theme): apply the new theme on the screen if there are no object created
...
When a display is registered the act_screen, top_layer and sys_layer are created with the default theme.
If a new theme is set immediatelly after the driver regsitration (with lv_theme_set_act) the created screens should use the styles from the new theme.
If there are more obejct do not add the theme becasue it's possibelt that the user already added styles to the screens and applying the theme would clear these styles.
2021-03-19 16:10:38 +01:00
Gabor Kiss-Vamosi
fa5e42ac0e
fix warning
2021-03-19 16:04:23 +01:00
Gabor Kiss-Vamosi
666653efe7
fix(refresh): do not redraw the whole object if only part's style changes on a new state
2021-03-19 16:01:26 +01:00
Gabor Kiss-Vamosi
ac3fa78718
minor fixes
2021-03-19 13:00:21 +01:00
Gabor Kiss-Vamosi
a9e826d3c5
feat(obj style): remove obj->style_lista nd use array of lv_obj_style_t in lv_obj_t
2021-03-19 09:38:52 +01:00
Gabor Kiss-Vamosi
d62c8b2114
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-03-19 00:28:22 +01:00
Gabor Kiss-Vamosi
2af273011d
fix(chart): revert the removal of LV_EVENT_GET_SELF_SIZE handling
...
It's required to make th chart scrollable
2021-03-19 00:28:13 +01:00
Gabor Kiss-Vamosi
171f7548d6
fix(textarea): remove the prototype of unimplementes functions
2021-03-18 18:15:38 +01:00
github-actions[bot]
53c6b1f5b2
Merge 150f44ed13
into dev
2021-03-18 16:40:34 +00:00
Gabor Kiss-Vamosi
150f44ed13
update lv_cont_internal.h
2021-03-18 17:39:07 +01:00
Gabor Kiss-Vamosi
c1f8a844bc
style(comment): remove the word signal from the comments
2021-03-18 17:38:42 +01:00