Gabor Kiss-Vamosi
eb2d67d238
fix(align) consider the parent's border_width in lv_obj_align_to()
2021-05-12 23:15:13 +02:00
Gabor Kiss-Vamosi
039ed0baa6
feat(indev) change the prototype of indev read_cb
...
Instead of returning bool to indicate that there is more data to read
set data->continue_reading = true.
It's less error porne because if the user doesn't set the flag the indev will be read once
which is usually the inteded behaviour.
2021-05-12 14:24:57 +02:00
Gabor Kiss-Vamosi
0117320c30
fix warning
2021-05-12 13:01:32 +02:00
Gabor Kiss-Vamosi
08a1b04fdf
feat(style) add user_data paramter to lv_style_transition_dsc_init
2021-05-12 12:57:12 +02:00
Gabor Kiss-Vamosi
75d1c05a23
feat(event) add lv_event_get_indev/clip_area/draw_part_dsc
2021-05-12 12:49:32 +02:00
Gabor Kiss-Vamosi
1b38632b6f
refactor(obj draw)rename lv_obj_draw_dsc_t to lv_obj_draw_part_dsc_t
2021-05-12 12:48:38 +02:00
Gabor Kiss-Vamosi
125aec59ec
fix(tabview) make focusing more visible
2021-05-11 17:23:54 +02:00
Gabor Kiss-Vamosi
fb97895746
fix(switch) add LV_OBJ_FLAG_SCROLL_ON_FOCUS
2021-05-11 17:23:54 +02:00
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
5f44ff412a
fix(calendar) fix the width of calendar headers
2021-05-11 16:13:39 +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
21a1dca21e
fix(animing) use array definition in the function argument
...
related to: https://github.com/lvgl/lvgl/issues/1763#issuecomment-838235880
2021-05-11 12:38:57 +02:00
Gabor Kiss-Vamosi
e9388c1aa0
feat(coords) follow CCS border-box model
2021-05-11 12:35:35 +02:00
Gabor Kiss-Vamosi
ee14b00398
fix(slider) do not set the height manually in constructor to let the theme overwrite it
2021-05-11 10:17:21 +02:00
Gabor Kiss-Vamosi
617d94ceff
fix(btnmatrix) fix incorrect array indexing
2021-05-11 10:06:43 +02:00
Gabor Kiss-Vamosi
3b8480b605
fix(anim) fix calling start_cb twice
2021-05-10 09:58:38 +02:00
Gabor Kiss-Vamosi
f73e813562
minor fixes
2021-05-10 09:53:04 +02:00
Gabor Kiss-Vamosi
b8557f2432
fix(dropdown) fix list width calculation
2021-05-07 21:53:45 +02:00
Gabor Kiss-Vamosi
77b098db9d
feat(log) add the elapsed time sine the last log in the message
2021-05-07 15:28:40 +02:00
Gabor Kiss-Vamosi
3b7bbddb09
fix(animimg) fix flickering and build error
2021-05-07 15:27:55 +02:00
Gabor Kiss-Vamosi
99177baf3f
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-05-07 15:04:08 +02:00
ZhaoQiang-b45475
8f083a34fa
Extra: widgets: add a new widget animation image ( #2167 )
...
* Extra: widgets: add a new widget animation image
This widget is a combination of img and animation,
could achieve animation effects by
constantly switching a series imgs.
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Signed-off-by: Hui Song <hui.song_1@nxp.com>
Signed-off-by: Xiaolin He <xiaolin.he@nxp.com>
* example: add animimg example
Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2021-05-07 14:50:48 +02:00
Gabor Kiss-Vamosi
e0b08d64f0
fix(chart) fix drawing the first and last division lines
2021-05-07 14:08:24 +02:00
Gabor Kiss-Vamosi
684db9b3e7
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-05-07 13:41:52 +02:00
Gabor Kiss-Vamosi
9c7af6c321
fix(arc) minor fixes and example updates
2021-05-07 13:33:53 +02:00
Gabor Kiss-Vamosi
c9c3e22449
fix(textarea) be sure the cursor position is refreshed on creation
2021-05-07 12:27:56 +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
bd361597ef
fix(dropdown) fix list height
2021-05-06 20:11:35 +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
4056f60fa9
fix(grid, flex) fix alignment on LV_SIZE_CONTENT containers
2021-05-05 20:59:35 +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
79d9f299ef
refactor(txt) rename _lv_txt_get_width to lv_txt_get_width
...
related to #2228
2021-05-04 14:28:52 +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
366d01eec9
fix(label) fix word wrapping if stretched by grid
2021-05-03 22:07:49 +02:00
Gabor Kiss-Vamosi
2c089e51a7
fix warnings
2021-05-03 19:36:03 +02:00
Gabor Kiss-Vamosi
b3d9ab0657
fix warnings
2021-05-03 19:20:02 +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
418830e831
Merge branch 'master' into feat/img-frame-id
2021-05-03 17:43:05 +02:00
Gabor Kiss-Vamosi
3bbe46f74f
minor fixes
2021-05-03 17:34:45 +02:00
Gabor Kiss-Vamosi
7b8de7af8a
feat(dropdown) make the dropdown's list use the max_height style proeprty
...
Instead of a widget property
2021-05-03 17:34:15 +02:00
Gabor Kiss-Vamosi
efc5bccbfd
fix(dropdown) fix showing the selected text if symbol=NULL
...
fixes #2235
2021-05-03 15:27:57 +02:00
Gabor Kiss-Vamosi
6b497dec3c
feat(checkbox) add LV_EVENT_DRAW_PART_BEING/END to the indicator
2021-05-03 15:26:51 +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