Gabor Kiss-Vamosi
0721884ee9
refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale
2023-09-18 22:57:30 +02:00
bjsylvia
140369c5c0
fix(disp): should clean up event_cb when deleting lv_disp and lv_obj ( #4550 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com >
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com >
2023-09-12 19:55:46 +02:00
xaowang96
142c98df8b
fix(obj): fix memory leak if LV_EVENT_DELETE event cb return LV_RES_INV ( #4527 )
...
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com >
2023-09-07 13:55:48 +02:00
xaowang96
8d6c24b40d
fix(obj): check obj->is_deleting at the beginning of obj_del_core ( #4525 )
...
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com >
2023-09-06 12:00:36 +02:00
bjsylvia
a1ba36b77c
fix(obj): fix the crash caused by nested calls to lv_obj_del ( #4520 )
...
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com >
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com >
2023-09-05 21:14:37 +02:00
Gabor Kiss-Vamosi
0b83a82a07
feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
...
Closes #4358
2023-08-19 01:42:37 +02:00
Gabor Kiss-Vamosi
f753265a79
arch(draw): add parallel rendering architecture
...
BREAKING CHANGE
This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
sparkles43
78645a5967
feat(object_tree): make lv_obj_get_index return error value if the object has no parent ( #4152 )
2023-04-21 11:40:13 +02:00
sparkles43
312303cb44
fix(obj_tree): update parents of children after swapping ( #4150 )
2023-04-20 20:29:58 +02:00
Gabor Kiss-Vamosi
124f9b0f9f
arch(driver): new driver architecture with new color format support
2023-02-20 20:50:58 +01:00
Gabor Kiss-Vamosi
37bed3221e
fix(timer): fix working with nested lv_async_calls
...
fixes : #3940
2023-01-25 10:54:31 +01:00
_VIFEXTech
bb7feb232f
fix(obj): fix crash of lv_obj_move_foreground/background when the parent of obj is NULL ( #3577 )
...
* fix(obj): fix crash of lv_obj_move_foreground/background when the parent of obj is NULL
* decrease LOG level
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-19 14:24:37 +02:00
Gabor Kiss-Vamosi
5369d7d473
arch(conf, api) refactor lv_conf and some API ( #3501 )
...
Kconfig and MicroPython config is not updated yet.
* start to refactor lv_conf.h
* further mem refactoring
* create lv_mem_builtin.c/h
* update lv_conf_internal.h
* add lv_strlen and lv_strncpy
* rename LV_DRAW_COMPLEX to LV_USE_DRAW_MASK
* update lv_conf_template
* minor fix
2022-07-19 13:31:42 +02:00
guoweilkd
6b628e524b
fix(obj): scrolling exception when use lv_obj_set_parent() ( #3210 )
2022-03-29 16:39:26 +02:00
guoweilkd
e00b51b04f
fix(obj): old parent's scroll is not updated in lv_obj_set_parent() ( #2965 )
2022-01-06 21:56:53 +01:00
Gabor Kiss-Vamosi
cb7fc2bb59
fix(dropdown) be sure the list is the top object on the screen
...
fixes #2893
2021-12-13 20:26:24 +01:00
Gabor Kiss-Vamosi
d89a5fbbd2
fix(obj) do not set the child's position in lv_obj_set_parent
...
It's already stored in the object and will be applied later
fixes #2772
2021-11-08 15:13:51 +01:00
Xiang Xiao
dd5199f279
Improve LV_FORMAT_ATTRIBUTE usage ( #2673 )
...
* fix(format): remove LV_FORMAT_ATTRIBUTE from the function body
since it's enough to append LV_FORMAT_ATTRIBUTE to function declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(format): add LV_FORMAT_ATTRIBUTE to lv_snprintf and lv_log
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(format): fix the format specifier warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-10-25 12:18:45 +02:00
Xiang Xiao
c9e3760464
fix(config): remove the nonexistent Kconfig ( #2654 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-10-11 14:02:59 +02:00
Gabor Kiss-Vamosi
5f90029811
feat(event) add LV_EVENT_CHILD_CREATED/DELETED ( #2618 )
...
* feat(event) add LV_EVENT_CHILD_CREATED/DELETED
* update docs and CHANGELOG
2021-10-04 16:52:11 +02:00
Gabor Kiss-Vamosi
d67dd943ca
format run code-formtter.sh
...
related to #2543
2021-09-13 14:06:26 +02:00
Xiang Xiao
9fc0c3cf98
fix(lv_log.h): remove the duplicated semicolon from LV_LOG_xxx ( #2544 )
...
and fix the caller who forget to add semicolon at the line end
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-09-09 15:34:36 +02:00
Gabor Kiss-Vamosi
32e8276db7
fix(obj) in lv_obj_move_to_index() do not send LV_EVENT_CHILD_CHANGED on all changed child
...
The events will see half-ready child list and might crash
fixes #2541
2021-09-09 12:42:22 +02:00
Karijn Wessing
780e0efe2c
feat(obj) add lv_obj_move_to_index(obj, index), renamed lv_obj_get_child_id(obj) to lv_obj_get_index(obj) ( #2514 )
...
* - renamed lv_obj_get_id(obj) to lv_obj_get_index(obj).
- added lv_obj_move_to_index(obj, index).
* automatic review comment fixed
* removed unused variable
* review issue
* restored deprecated function in header, otherwise Build Micropython with LVGL submodule / build (pull_request) failes
* moved deprecated lv_obj_get_child_id() back to lv_obj_tree.h, otherwise Micropython will not build
* inline function did not work
* made deprecated function 'static inline'
* and now also inline
* move static inline function to lv_api_map.h again
* removed lv_obj_move_up/down
* changed log to warning for deprecated function
* redefined lv_obj_move_foreground(obj) and lv_obj_move_background(obj) as inline functions now calling lv_obj_move_to_index(obj, index).
- lv_obj_swap(obj1, obj2) added. (#2461 )
2021-09-05 20:47:55 +02:00
Karijn Wessing
e111ea2a62
added lv_obj_move_up() and lv_obj_move_down() ( #2467 )
...
* - small with unneeded lv_obj_invalidate() fix in lv_obj_move_foreground() and lv_obj_move_background()
- added lv_obj_move_up() and lv_obj_move_down()
- used new functions in sample 2
- used lv_obj_swap() to shuffle (turn around) list
* solved build error
* added top and bottom buttons in sample
2021-08-24 14:30:38 +02:00
Gabor Kiss-Vamosi
52c7558ab4
fix(obj) swap objects in the group too in lv_obj_swap()
...
fix #2462
2021-08-19 15:21:46 +02:00
Karijn Wessing
9a1f7f2fcb
feat(obj) add lv_obj_swap() function ( #2461 )
...
* proposal for lv_obj_swap() function
* review issues applied
* review changes for comments
2021-08-18 11:32:10 +02:00
Gabor Kiss-Vamosi
b06393747f
fix(obj) move clean ups from lv_obj_del to lv_obj_destructor
2021-07-06 13:52:12 +02:00
Gabor Kiss-Vamosi
c6a2e15ec2
feat(obj) add lv_obj_del_delayed()
2021-06-12 08:02:31 +02:00
Gabor Kiss-Vamosi
52edbb46b0
fix(scroll) keep the scroll position on object deleted
2021-06-09 14:03:52 +02:00
Gabor Kiss-Vamosi
e2a7f559ab
feat(bidi) make base dir a style property and rename lv_bidi_dir_t to lv_base_dir_t
2021-05-19 20:55:44 +02:00
Gabor Kiss-Vamosi
3c994fb968
add forgotten docs file
2021-05-14 15:53:04 +02:00
Gabor Kiss-Vamosi
c529644100
fix(obj) fix lv_obj_move_background
2021-05-05 17:13:46 +02:00
Gabor Kiss-Vamosi
834e2177e7
fix(obj) add lv_obj_class_t * as first parameter of constructors and destructors
...
It's required for compatibility with the MicroPython binding.
2021-04-13 14:31:21 +02:00
Gabor Kiss-Vamosi
853dc0508f
feat(obj_tree) add lv_obj_tree_walk
2021-04-08 13:58:48 +02:00
Gabor Kiss-Vamosi
5c991aaf71
solve conflicts
2021-03-31 19:58:53 +02:00
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
Meco Man
a8c21f8e18
fix(style): auto formatted
2021-04-01 01:06:43 +08: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
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
c1f8a844bc
style(comment): remove the word signal from the comments
2021-03-18 17:38:42 +01:00
Gabor Kiss-Vamosi
bf2deded51
fix conflicts
2021-03-18 17:31:09 +01:00
Gabor Kiss-Vamosi
0ef2e08d02
refactor(event): adjust events names
2021-03-18 17:18:11 +01:00
Gabor Kiss-Vamosi
6b7fe23fb8
feat(obj): merge signals into events
2021-03-18 15:13:35 +01:00
Xiang Xiao
9254a7ea14
fix(comment): remove the space after /* and before */
2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
0cc1e99ddf
remove the lv_ prefix from the directories in the src folder
2021-03-16 20:36:27 +01:00