1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

126 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
dfe56c856a fix(indev) use lv_dir_t instead of lv_indev_scroll_dir_t and lv_gesture_dir_t 2021-05-11 17:23:50 +02:00
Gabor Kiss-Vamosi
faa86280ab fix(coords) do not recalclate the pos. and size in lv_obj_set_x/y/width/height/... 2021-05-11 16:04:31 +02:00
Gabor Kiss-Vamosi
a46f20de91 feat(obj_class) separate lv_obj_class_create_obj into lv_obj_class_create_obj and lv_obj_class_init_obj
It allows using the new object reference somewhere before initializing it. Usuful for the Micropython binding.
2021-05-11 13:05:42 +02:00
Gabor Kiss-Vamosi
e9388c1aa0 feat(coords) follow CCS border-box model 2021-05-11 12:35:35 +02:00
Gabor Kiss-Vamosi
b8557f2432 fix(dropdown) fix list width calculation 2021-05-07 21:53:45 +02:00
Gabor Kiss-Vamosi
9ab0a09fd2 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-05-06 20:11:52 +02:00
Gabor Kiss-Vamosi
feb5b0f345 fix(obj style) do not refresh the obj, if an empty style was removed 2021-05-06 20:10:50 +02:00
Gabor Kiss-Vamosi
c3c8aca38b Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-05-05 17:16:35 +02:00
Gabor Kiss-Vamosi
eb474a671e Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-05-05 17:14:17 +02:00
Gabor Kiss-Vamosi
744a974104 fix(indev) pass indev_act to the indev related events 2021-05-05 17:14:11 +02:00
Gabor Kiss-Vamosi
c529644100 fix(obj) fix lv_obj_move_background 2021-05-05 17:13:46 +02:00
Gabor Kiss-Vamosi
6cb28da8e9 perf(coord. refr.): imrove the speed of layout, size and position recalculation
Reduce the number of refreshes.
2021-05-05 15:53:54 +02:00
Gabor Kiss-Vamosi
ad89db7c76 fix(obj style) make lv_obj_style_t more compact 2021-05-03 22:08:15 +02:00
Gabor Kiss-Vamosi
3d4c4aea3c feat(draw) allow using argb images, border and outline with LV_DRAW_COMPLEX=0 too 2021-05-03 18:54:24 +02:00
Gabor Kiss-Vamosi
4de1d745b6 fix warnings 2021-05-03 14:42:44 +02:00
Gabor Kiss-Vamosi
10c1dcb43c fix(obj style) minor fixes on style transitions 2021-05-03 14:30:57 +02:00
Gabor Kiss-Vamosi
445c0ea9ae refactor(obj class) add user_data parameter to lv_obj_class_create_obj() 2021-05-03 14:06:55 +02:00
Gabor Kiss-Vamosi
4f743a7aa8 refactor(obj class) rename lv_obj_create_from_class to lv_obj_class_create_obj 2021-05-03 13:58:20 +02:00
Gabor Kiss-Vamosi
9b067784ee fix(obj) fix adding LV_STATE_FOCUS_KEY 2021-05-03 12:47:22 +02:00
Gabor Kiss-Vamosi
e1e45b1de3 fix(btnmatrix) improve focusing if used in groups 2021-05-03 11:14:25 +02:00
Gabor Kiss-Vamosi
22fa87a58e fix(obj) be sure the slef size is refreshed when an obejct is created 2021-05-02 22:16:38 +02:00
Gabor Kiss-Vamosi
d8e76f5d68 fix(obj_style) fix style transitions if they not affect the main part 2021-05-02 21:05:23 +02:00
Gabor Kiss-Vamosi
73cda914e0 fix(obj_class) do not fire style change events before the object is fully constructed 2021-05-01 08:32:16 +02:00
Gabor Kiss-Vamosi
9c7ba22f66 fix(refr) do not pause display refreshing is memory monitor is enabled 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
f812020eba fix(timer) fix the use of lv_timer_pause/resume 2021-04-30 14:48:36 +02:00
Gabor Kiss-Vamosi
9c96230323 fix(obj) ext_click_area lv_coord_t instead of uint8_t 2021-04-30 14:47:34 +02:00
Gabor Kiss-Vamosi
1864f608b4 fix build error 2021-04-30 10:03:57 +02:00
Gabor Kiss-Vamosi
1b93668df7 feat(obj) save self_size in the obejct to save a lot of recalculations 2021-04-29 09:52:49 +02:00
Gabor Kiss-Vamosi
f7b42ac8b4 fix(obj) be sure the new objects' size is recalculated 2021-04-28 10:26:06 +02:00
Gabor Kiss-Vamosi
4f46336a54 fix(theme) simplify the default theme 2021-04-28 10:11:26 +02:00
Gabor Kiss-Vamosi
95ae499a8f fix(scroll) fix normalizing scroll position when size is recalculated 2021-04-27 18:22:53 +02:00
Gabor Kiss-Vamosi
5b47f7b563 minor fixes 2021-04-27 17:44:15 +02:00
Gabor Kiss-Vamosi
44e502ecb3 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-27 16:02:03 +02:00
Gabor Kiss-Vamosi
492b3a417e feat(label) update long modes and use LV_SIZE_CONTENT 2021-04-27 15:36:08 +02:00
Amir Gonnen
7d3d206105
fix(obj) Add missing getter and setter for user_data (#2221)
* fix(obj) Add missing getter and setter for user_data

This is needed for Micropython bindings, which stores a reference to the Python object which wraps the LVGL object.

* Added comments to lv_obj_[get/set]_user_data
2021-04-27 14:06:57 +02:00
Gabor Kiss-Vamosi
607316d723 remove unused variable 2021-04-26 16:55:57 +02:00
Gabor Kiss-Vamosi
e06e7b5e5d fix(event) fire LV_EVENT_VALUE_CHANGED if the object is checked when LV_OBJ_FLAG_CHECKABLE is enabled 2021-04-26 16:55:25 +02:00
Gabor Kiss-Vamosi
227afda492 minor fixes 2021-04-26 13:27:51 +02:00
Gabor Kiss-Vamosi
26ed7aa852 refactor(event) simplify the internals of event sending 2021-04-25 13:45:29 +02:00
Gabor Kiss-Vamosi
2d00a3fc17 feat(obj) remove LV_OBJ_FLAG_FOCUS_BUBBLE as it can be easily mimiced by events 2021-04-24 21:35:05 +02:00
Gabor Kiss-Vamosi
5d4c9fac83 fix(include) remove unused stdio includes 2021-04-24 17:27:41 +02:00
Gabor Kiss-Vamosi
38b4ff6b4c refactor(event) move event related functions to a dedicated file (core/lv_event.c/h) 2021-04-24 17:04:12 +02:00
Gabor Kiss-Vamosi
9d6d0094f5 fix(layout) fix missing layout recalculation on screen 2021-04-24 16:35:36 +02:00
Alfie
a6ac99baa9 fix(group) rare crash caused by null pointer (#2210)
Co-authored-by: Alfie Zhao <alfie.zhao@fluidmt.com>
2021-04-24 16:35:36 +02:00
Gabor Kiss-Vamosi
070df61eb2 refactor(color) refactor the palette API 2021-04-23 12:46:14 +02:00
Gabor Kiss-Vamosi
a9bedcf335 minor fixes 2021-04-23 11:34:59 +02:00
Gabor Kiss-Vamosi
eaed66057b refactor(style) rename LV_STYLE_PROP_ALL to LV_STYLE_PROP_ANY 2021-04-23 10:35:36 +02:00
Gabor Kiss-Vamosi
e29bfc5dc5 minor fixes 2021-04-22 15:36:40 +02:00
Gabor Kiss-Vamosi
36a699fbe4 minor fix 2021-04-21 12:34:44 +02:00
Gabor Kiss-Vamosi
fb0481cec0 minor fixes 2021-04-21 12:30:37 +02:00