Commit Graph

6530 Commits

Author SHA1 Message Date
Themba Dube
331fea0ae4 fix(docs) install doxygen for GitHub Actions 2021-04-23 17:47:20 -04:00
Themba Dube
6df6cb0ec0 feat(docs) add first iteration of compile script 2021-04-23 17:45:34 -04:00
Gabor Kiss-Vamosi
ace2e6af68 fix(theme) remove setting width and height in basic theme styles 2021-04-23 15:23:06 +02:00
Gabor Kiss-Vamosi
46a21485a5 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-23 14:20:08 +02:00
Gabor Kiss-Vamosi
8ed806ce5c fix(layout) fix missing layout recalculation on screen 2021-04-23 14:06:50 +02:00
Alfie
67323ef733
fix(group) rare crash caused by null pointer (#2210)
Co-authored-by: Alfie Zhao <alfie.zhao@fluidmt.com>
2021-04-23 13:58:49 +02:00
Gabor Kiss-Vamosi
a9bedcf335 minor fixes 2021-04-23 11:34:59 +02:00
Gabor Kiss-Vamosi
eaed66057b refactor(style) rename LV_STYLE_PROP_ALL to LV_STYLE_PROP_ANY 2021-04-23 10:35:36 +02:00
Gabor Kiss-Vamosi
21489eddc8 docs(object) update to v8 2021-04-22 17:47:41 +02:00
Gabor Kiss-Vamosi
d7735a486b fix(msgbox) fix the alignment of the items 2021-04-22 17:47:41 +02:00
Gabor Kiss-Vamosi
e29bfc5dc5 minor fixes 2021-04-22 15:36:40 +02:00
Gabor Kiss-Vamosi
e8f84271ee fix(theme) fix textarea cursor style in lv_theme_basic 2021-04-22 15:36:09 +02:00
Gabor Kiss-Vamosi
d9c7fd14f1 feat(font) add LV_SYMBOL_BARS (hamburder menu icon) 2021-04-22 15:34:54 +02:00
Themba Dube
980c18fa51 fix(canvas) allocate a fake driver on the stack
As of v8 drivers are no longer stored inside lv_disp_t, so a driver
needs to be allocated as well.

Fixes #2204
2021-04-21 13:09:55 -04: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
36a699fbe4 minor fix 2021-04-21 12:34:44 +02:00
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