Gabor Kiss-Vamosi
6c863cabb7
feat(obj_class) use different prototype for the event_cb in lv_obj_class_t
...
It adds lv_obj_class_t * as the first arguement for MicroPython compatibility
2021-04-21 09:55:21 +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
d412a98e54
fix(chart) don't draw division lines on the sides if there no padding but have a visible border
2021-04-20 13:46:49 +02:00
Gabor Kiss-Vamosi
48e70e97f0
fix(roller) fix left shift negative value
...
reported by ASAN
2021-04-20 13:31:40 +02:00
Gabor Kiss-Vamosi
cbb13f4ea5
fix(group) add some more widgets to default group
2021-04-20 13:26:57 +02:00
Gabor Kiss-Vamosi
d857de043e
fix(table) fix memory leak
...
See https://forum.lvgl.io/t/possible-memory-leak-in-table-widget/5254
2021-04-19 15:56:34 +02:00
Gabor Kiss-Vamosi
13d7256528
fix(btn) set default width to LV_SIZE_CONTENT
2021-04-19 15:01:39 +02:00
Gabor Kiss-Vamosi
8667402524
minor fixes
2021-04-19 11:21:44 +02:00
Gabor Kiss-Vamosi
14bc4e9f8f
Revert "feat(style) make transform_zoom use pixel or percentage value"
...
This reverts commit 5b4e9fc6f35b2be5cd8687d84012d245b5f971e1.
2021-04-18 20:39:47 +02:00
Gabor Kiss-Vamosi
6db12e4997
revert(style) revert the usage of transform width/height
2021-04-18 20:28:06 +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
e1355dbeee
feat(style) add transform_x/y
2021-04-17 17:33:57 +02:00
Gabor Kiss-Vamosi
5f8445966b
fix build error
2021-04-15 18:46:21 +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
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
1eaf80f6ef
fix(table) fix unused variable warning
2021-04-08 12:56:39 +02:00
Gabor Kiss-Vamosi
b36345107c
feat(group) add default group
2021-04-08 12:48:48 +02:00
Gabor Kiss-Vamosi
25c464dc6a
fix(widgets) remove the prototype of some unimplemented functions
2021-04-08 11:56:56 +02:00
Gabor Kiss-Vamosi
b73c41b310
fix(roller) fix drawing the label twice
2021-04-06 18:24:01 +02:00
Riccardo
460a020de1
feat(style): handle min_width and max_width in lv_table LV_PART_ITEMS (cells) ( #2187 )
2021-04-06 13:31:05 +02:00
Gabor Kiss-Vamosi
a8f31dab55
feat(widgets) add default sizes to obj_class
2021-04-01 14:11:32 +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
Xiang Xiao
ed7aee668d
Merge pull request #2179 from mysterywolf/master
...
auto formatted
2021-03-31 12:23:01 -05:00
Meco Man
a8c21f8e18
fix(style): auto formatted
2021-04-01 01:06:43 +08:00
Gabor Kiss-Vamosi
0527874f8d
chore(textarea) clean up comemnts
2021-03-31 13:22:35 +02:00
Gabor Kiss-Vamosi
d86c0e3e55
feat(textarea) add lv_textarea_set_align
...
It makes easier to align the label and line fo teh text
Related to https://github.com/lvgl/lvgl/issues/2144#issuecomment-808973937
2021-03-31 13:16:37 +02:00
Gabor Kiss-Vamosi
d1c5f1c16e
fix(bar) invalidate the indicator on press/release
2021-03-26 16:50:10 +01:00
Gabor Kiss-Vamosi
966f6e1727
refactor(dropdown): rename lv_dropdown_list_class to lv_dropdownlist_class
...
It avoids ambiguity. See https://github.com/lvgl/lvgl/issues/1763#issuecomment-804357591
2021-03-25 20:03:49 +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
Xiang Xiao
04990aefe5
fix(obj): remove the unused MY_CLASS macro ( #2153 )
2021-03-21 17:37:25 +01:00
Gabor Kiss-Vamosi
d83fa19703
minor fixes
2021-03-19 18:03:08 +01:00
Gabor Kiss-Vamosi
fa5e42ac0e
fix warning
2021-03-19 16:04:23 +01:00
Gabor Kiss-Vamosi
ac3fa78718
minor fixes
2021-03-19 13:00:21 +01:00
Gabor Kiss-Vamosi
a9e826d3c5
feat(obj style): remove obj->style_lista nd use array of lv_obj_style_t in lv_obj_t
2021-03-19 09:38:52 +01:00
Gabor Kiss-Vamosi
d62c8b2114
Merge branch 'master' of https://github.com/littlevgl/lvgl
2021-03-19 00:28:22 +01:00
Gabor Kiss-Vamosi
2af273011d
fix(chart): revert the removal of LV_EVENT_GET_SELF_SIZE handling
...
It's required to make th chart scrollable
2021-03-19 00:28:13 +01:00
Gabor Kiss-Vamosi
171f7548d6
fix(textarea): remove the prototype of unimplementes functions
2021-03-18 18:15:38 +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
03f74ce186
feat(obj): merge draw clallback to events
2021-03-18 17:03:36 +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