1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

137 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
f9ca3900f5 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-05-13 21:23:20 +02:00
Gabor Kiss-Vamosi
fb654c481b docs update drawing and porting (display, indev) 2021-05-13 21:23:11 +02:00
guoweilkd
9fc556a90b
add span widget (#2227)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-13 17:42:33 +02:00
Gabor Kiss-Vamosi
e3425188f5 docs fix example paths 2021-05-13 16:13:47 +02:00
Gabor Kiss-Vamosi
1ed42a937f docs finish the the core widgets 2021-05-13 15:39:26 +02:00
Gabor Kiss-Vamosi
4f8e3a38b3 feat(list, win) remove event_cb paramter from *_add_btn() functions
It was difficult to handle in the Micropython binding and the user can add events to the returned button in a more flexible way
2021-05-13 00:42:52 +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
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
bdffb2c932 fix(example) fix lv_example_chart_5 2021-05-11 19:53:47 +02:00
Gabor Kiss-Vamosi
96ef55273d fix(example) reconvert the images to add alpha channel 2021-05-11 17:43:14 +02:00
Gabor Kiss-Vamosi
1899fdff8f fix(example) fix focusing in lv_example_textarea_2
related to https://github.com/lvgl/lvgl/issues/2249
2021-05-11 13:18:30 +02:00
Gabor Kiss-Vamosi
71fd3e68a2 fix(example) add textarea event to lv_example_textarea_1
related to https://github.com/lvgl/lvgl/issues/2248
2021-05-11 13:13:01 +02:00
Gabor Kiss-Vamosi
f73e813562 minor fixes 2021-05-10 09:53:04 +02:00
Gabor Kiss-Vamosi
182ac21613 fix(example) minor fixes 2021-05-07 21:54:43 +02:00
Gabor Kiss-Vamosi
f5c70a06db docs(examples) fix some examples 2021-05-07 21:23:09 +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
9c7af6c321 fix(arc) minor fixes and example updates 2021-05-07 13:33:53 +02:00
Themba Dube
e6b0b87e33 docs(all) add live example for arc and PDF build 2021-05-04 20:43:12 -04:00
Themba Dube
a1cea30bff fix(example) disable more missing style examples 2021-05-04 16:27:46 -04:00
Themba Dube
af41a8387d fix(examples) disable lv_example_style_10 in header as well 2021-05-04 16:25:50 -04:00
ataweg
d7d36f89b3
update to work with Arduino (#2200) 2021-05-03 20:26:10 +02:00
Gabor Kiss-Vamosi
3bbe46f74f minor fixes 2021-05-03 17:34:45 +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
bf8f8230a6 feat(chart) add LV_EVENT_DRAW_PART_BEGIN/END to hook division line drawing 2021-05-03 13:51:09 +02:00
Gabor Kiss-Vamosi
e76ccc7ed2 fix(examples) update the outdated bar and slider examples 2021-05-02 21:05:23 +02:00
Gabor Kiss-Vamosi
45a50f1766 fix(example) correct the elements size and position
Fixes #2229
2021-04-29 12:24:59 +02:00
Gabor Kiss-Vamosi
9ff1cb7f1d fix(meter) keep the creation order of indicator during drawing
Instead of drawing the indicators per scale
2021-04-29 10:11:21 +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
ff2c2e5d33 fix(meter) use antialaising on needle rotation and fix needle invalidation artifact 2021-04-28 17:47:36 +02:00
Gabor Kiss-Vamosi
da39d692dd feat(msgbox) add parent attribute to lv_msgbox_create()
It keeps the consistency of create functions and allows craeting non-modal message boxes
2021-04-26 12:15:55 +02:00
Gabor Kiss-Vamosi
5d4c9fac83 fix(include) remove unused stdio includes 2021-04-24 17:27:41 +02:00
Gabor Kiss-Vamosi
31474538ad refactor(layout) rename place keywords to align 2021-04-24 16:48:24 +02:00
Gabor Kiss-Vamosi
9d6d0094f5 fix(layout) fix missing layout recalculation on screen 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
7522858d07 fix(examples) use LV_PART_INDICATOR to target the points on line chart 2021-04-21 13:22:55 +02:00
Gabor Kiss-Vamosi
4324cf72f3 refactor(style, obj) lv_obj_get_width/height_fit -> lv_objget_get_content_width/height, style_tranform_x/y -> style_translate_x/y 2021-04-20 21:08:16 +02:00
Gabor Kiss-Vamosi
75f40e590c fix(example) fix table_2 example 2021-04-19 15:59:38 +02:00
Gabor Kiss-Vamosi
bbfcb2454e feat(event) add event filter to lv_event_send 2021-04-19 11:15:28 +02:00
Gabor Kiss-Vamosi
32bd067778 Revert "feat(style) make transform_zoom use pixel or percentage value"
This reverts commit 5b4e9fc6f35b2be5cd8687d84012d245b5f971e1.
2021-04-18 19:31:38 +02:00
Gabor Kiss-Vamosi
5b4e9fc6f3 feat(style) make transform_zoom use pixel or percentage value 2021-04-18 13:15:48 +02:00
Gabor Kiss-Vamosi
2fb8b672ae refactor(coords) rename LV_SIZE_PCT to LV_PCT 2021-04-18 12:19:02 +02:00
Gabor Kiss-Vamosi
da367337c9 feat(anim) remove lv_anim_path_t and use a callback directly
lv_anim_path_t was required for the MicroPython binding becase the callback couldn't attached dircetly to the styles
However, in v8, path_cb is used in the style transitons which has user_data and that user data is passed to the transition animation. Hence the path_cb sees the the same user data during the animaton as when it was registered to the transiton.
2021-04-17 20:50:10 +02:00
Gabor Kiss-Vamosi
b4f625d355 Merge branch 'feat/new-event' 2021-04-15 18:32:14 +02:00
Gabor Kiss-Vamosi
9787d38781 feat(style) add transform_x/y 2021-04-15 18:31:50 +02:00
Gabor Kiss-Vamosi
422c9e5bd6 feat(event) rework the prototype of lv_event_cb
It encapsulates all event related parameters into a single lv_event_t obejct.
2021-04-14 15:31:54 +02:00
Gabor Kiss-Vamosi
52f1b0979e fix(grid) rename column/row_template to column/row_dsc_array to add more meaning for binding generators 2021-04-13 13:23:52 +02:00
Gabor Kiss-Vamosi
20803031e8 fix(test) fix tests 2021-04-08 13:07:48 +02:00