Gabor Kiss-Vamosi
4417ee9d91
docs(scroll) add docs for scrolling
2021-04-21 12:30:52 +02:00
Gabor Kiss-Vamosi
fb0481cec0
minor fixes
2021-04-21 12:30:37 +02:00
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
663f8c2672
fix(style) rename path_cb to to path_xcb in lv_style_transition_dsc_t
...
This way the MicroPython won't allow manually setting this field.
And it can't be set manually becasue the user data needs to be set too.
So lv_style_transition_dsc_init() should be used to initialize the fields of lv_style_transition_dsc_t
2021-04-21 09:02:39 +02:00
Gabor Kiss-Vamosi
078b15da55
feat(theme) add experimental dark mode to the default theme
2021-04-20 21:36:24 +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
4b0c85426a
feat(lv_init) check if LV_BIG_ENDIAN_SYSTEM is enabled on big endian systems
2021-04-20 14:57:56 +02:00
Gabor Kiss-Vamosi
13d38f6a52
fix(style) rename path_cb to path_xcb in lv_style_transition_dsc_init
...
It was required for the MicroPython binding
2021-04-20 13:54:35 +02:00
Gabor Kiss-Vamosi
c2d6c3805c
fix(coords) make lv_pct and LV_SIZE_CONTENT available to the MicroPython binding
2021-04-20 13:50:19 +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
8cb2cbff81
feat(obj) remove lv_obj_get_width/height_visible
...
They can be replaced by max/min-width/height
2021-04-19 22:11:09 +02:00
Gabor Kiss-Vamosi
5b3df13366
docs: add some skeleton files for the new features
2021-04-19 22:10:01 +02:00
Gabor Kiss-Vamosi
37c3162bbe
Revert "feat(conf) automatically enable LV_LVGL_H_INCLUDE_SIMPLE if lvgl.h can be included"
...
This reverts commit a995695cdf
.
__has_include("lvgl.h") is always true beacsue it's next to lv_conf_internal.h.
2021-04-19 20:22:46 +02:00
Gabor Kiss-Vamosi
a995695cdf
feat(conf) automatically enable LV_LVGL_H_INCLUDE_SIMPLE if lvgl.h can be included
2021-04-19 19:04:46 +02:00
Gabor Kiss-Vamosi
75f40e590c
fix(example) fix table_2 example
2021-04-19 15:59:38 +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
bbfcb2454e
feat(event) add event filter to lv_event_send
2021-04-19 11:15:28 +02:00
Gabor Kiss-Vamosi
ddea17afe2
feat(theme) add outline padding for the focused state in the default theme
2021-04-19 10:04:08 +02:00
Gabor Kiss-Vamosi
0a10d45c51
fix(scroll) fix refactoring issue in scrollbar size calculation
2021-04-19 10:03:21 +02:00
Gabor Kiss-Vamosi
1c53d26bcc
feat(event) add lv_obj_remove_event_dsc and remove user_data from lv_obj_remove_event_cb
2021-04-19 10:02:16 +02:00
Gabor Kiss-Vamosi
a9ed244bb1
feat(layout) add user_data to layout callbacks
...
It was required for compatibility with the MicroPython binding.
2021-04-19 09:44:03 +02:00
Gabor Kiss-Vamosi
14bc4e9f8f
Revert "feat(style) make transform_zoom use pixel or percentage value"
...
This reverts commit 5b4e9fc6f3
.
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 5b4e9fc6f3
.
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
03efd13e4f
fix build error
2021-04-18 01:08:12 +02:00
Gabor Kiss-Vamosi
511d9d8c50
fix(theme) update the tabview's theme
...
Allow setting background color directly on the tabview
2021-04-18 00:55:11 +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
88979ccff9
fix(obj) fix infinit loop in object repositioning
2021-04-17 20:46:41 +02:00
Gabor Kiss-Vamosi
e1355dbeee
feat(style) add transform_x/y
2021-04-17 17:33:57 +02:00
Gabor Kiss-Vamosi
a9d0de5998
refactor: remove some unused functions and prototypes
2021-04-15 23:36:06 +02:00
Gabor Kiss-Vamosi
aa800841bc
fix(gc root) add the layouts' list to GC roots
2021-04-15 19:13:41 +02:00
Gabor Kiss-Vamosi
5f8445966b
fix build error
2021-04-15 18:46:21 +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
e4345bd7f5
feat(disp) add full_refresh flag to the display driver
...
It replaces the previous concept of true double buffering when the whole screen was refreshed if the 2 draw buffers had the same size
Fixes : #2038
2021-04-14 16:26:13 +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
c090af0f26
fix(theme) do not add background to the line widget in the default theme
2021-04-14 14:27:36 +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
04f0ffc775
docs(event, timer) update to v8
2021-04-13 13:25:10 +02:00
Gabor Kiss-Vamosi
f0d41222f7
minor refactoring, commenting
2021-04-13 13:24:53 +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
73f4264320
add the md files from the docs repo to start updating them to v8
2021-04-12 18:19:04 +02:00
Gabor Kiss-Vamosi
c587fc4d2a
fix(obj) move lv_event_dsc_t into lv_obj.c from lv_obj.h
...
It keeps the list of global types shorter
2021-04-12 12:42:51 +02:00
Gabor Kiss-Vamosi
96bbee0229
fix(grid) use lv_coord_t value[] instead of lv_coord_t value * in prototypes
...
It helps the binding generators to better understand the meaning of the parameters
2021-04-12 12:36:10 +02:00