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

256 Commits

Author SHA1 Message Date
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
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
722f1ca689 fix(obj) force layout recalculation on style change 2021-03-29 18:24:23 +02:00
Gabor Kiss-Vamosi
415c114be6 fix(align) refresh position on size change 2021-03-25 20:53:45 +01:00
Gabor Kiss-Vamosi
400bb9e02d remove debug code 2021-03-25 20:29:19 +01:00
Gabor Kiss-Vamosi
63bc72e53a minor fixes 2021-03-25 19:59:23 +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
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
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
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
bf2deded51 fix conflicts 2021-03-18 17:31:09 +01:00
Gabor Kiss-Vamosi
03f74ce186 feat(obj): merge draw clallback to events 2021-03-18 17:03:36 +01:00
Xiang Xiao
9254a7ea14 fix(comment): remove the space after /* and before */ 2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
87c4a0ffef fix conflicts 2021-03-17 10:24:48 +01:00
Gabor Kiss-Vamosi
39dccac4e4 Merge branch 'disp' of https://github.com/xiaoxiang781216/lvgl into xiaoxiang781216-disp 2021-03-17 10:22:26 +01:00
Xiang Xiao
5f042a8c5f fix(example): replace LV_HOR_RES_MAX with 320 in LVGL_Arduino.ino
since LV_HOR_RES_MAX doesn't exist anymore
2021-03-17 10:20:29 +01:00
Gabor Kiss-Vamosi
85f21a1345 refactor(draw_hook): rename lv_obj_draw_hook_dsc_t to lv_obj_draw_dsc_t
Based on #2142
2021-03-17 09:27:19 +01:00
Gabor Kiss-Vamosi
7f32ffe203 add blue arc to lv_example_meter_1 2021-03-16 23:00:23 +01:00
Gabor Kiss-Vamosi
acd07ff83c feat(example): add more chart examples 2021-03-15 15:23:10 +01:00
Xiang Xiao
1f3ae7f274 fix(disp): change all disp_buf to draw_buf
follow up the commit:
commit e9cc1c2d4676b3863a85f35a79162ecedd280213
Author: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Date:   Wed Mar 10 13:07:15 2021 +0100

    feat(driver): raname lv_disp_buf_t to lv_disp_draw_buf_t + save only the drv's pointer in lv_disp_t
2021-03-14 21:39:05 +08:00
Xiang Xiao
1da95cf534 fix(example): replace LV_HOR_RES_MAX with 320 in LVGL_Arduino.ino
since LV_HOR_RES_MAX doesn't exist anymore
2021-03-14 21:10:58 +08:00
Gabor Kiss-Vamosi
4516018ce7 refactor(draw_buf): rename vdb to draw_buf
It affected only local variables and comments
2021-03-14 13:57:53 +01:00
Gabor Kiss-Vamosi
751f1aa829 minor fixes 2021-03-11 12:21:03 +01:00
Gabor Kiss-Vamosi
22c06a19bc minor fixes 2021-03-10 09:44:17 +01:00
Gabor Kiss-Vamosi
94431f8aaf refactor(flex): change the name of teh built-in flex layouts 2021-03-08 23:30:27 +01:00
Gabor Kiss-Vamosi
289f8e4bac fix(table): refresh only the changed cell's height 2021-03-08 23:14:26 +01:00
Gabor Kiss-Vamosi
cdbbdc36bb Merge branch 'feat/font-cache' into dev 2021-03-08 14:51:15 +01:00
Gabor Kiss-Vamosi
376da66dab feat(layout): automatically update the screen's layout in lv_obj_scroll_to_view 2021-03-03 21:10:49 +01:00