Commit Graph

6493 Commits

Author SHA1 Message Date
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
Gabor Kiss-Vamosi
a6d3eff4db fix(draw_outline) do not change the outline_width based on the outline_pad
fixes: #2171
2021-04-12 12:15:31 +02:00
Gabor Kiss-Vamosi
5dc7356f99 fix(font) add warning if a compress font it used but LV_USE_FONT_COMPRESSED is not enabled 2021-04-12 12:14:15 +02:00
Gabor Kiss-Vamosi
cbb699fe88 fix(grid) prevent setting negative size if no place for FR tracks 2021-04-09 15:42:54 +02:00
Gabor Kiss-Vamosi
c42412f83f fix(obj_class) add missing user_data to lv_obj_class_t 2021-04-09 10:36:15 +02:00
Gabor Kiss-Vamosi
853dc0508f feat(obj_tree) add lv_obj_tree_walk 2021-04-08 13:58:48 +02:00
Gabor Kiss-Vamosi
20803031e8 fix(test) fix tests 2021-04-08 13:07:48 +02:00
Gabor Kiss-Vamosi
8e9dbf6d12 fix(lvgl.h) do not include lv_examples.h to keep the API cleaner 2021-04-08 13:02:54 +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
Carlos Diaz
1ad767b152 fix(kconfig) update Kconfig to match LVGLv8 options (#2170)
* Kconfig: Remove LV_HOR_RES_MAX and LV_VER_RES_MAX options

* Kconfig: Remove LV_USE_ANIMATION

* Kconfig: Remove LV_USE_GROUP

* Kconfig: Remove LV_USE_FILESYSTEM

* Kconfig: Add LV_USE_MEM_MONITOR

* Kconfig: Add LV_USE_REFR_MONITOR

* Kconfig: Add Layouts menu, missing descriptions

* Kconfig: Update themes menu

* Kconfig: Create and update Color settings menu

* Kconfig: Update Memory settings menu

* Kconfig: Create and update HAL Settings menu

* Kconfig: Remove LV_ANTIALIAS option

* Kconfig: Create and update Drawing menu

Remove unused options

* Kconfig: Create and update GPU menu

* Kconfig: Create and update Logging menu

* Kconfig: Create and update Asserts menu

* Kconfig: Create and update Others menu

* Kconfig: Create and update Compiler settings menu

* Kconfig: Remove Image decoder and cache menu

* Kconfig: Update Hal settings menu

* Kconfig: Adds LV_USE_FONT_COMPRESSED option

* Kconfig: Update Widget usage menu

* Kconfig: Create and update Extra components menu

* Kconfig: Remove string-function options

It will cause compilation failure when they're used as strings.

* Kconfig: Add description to LV_USE_FLEX and LV_USE_GRID

* Kconfig: Update default font usage

* lv_conf_kconfig: Remove Color selection section

* lv_conf_kconfig: Update Default font section

* lv_conf_kconfig: Remove ext click area section

* lv_conf_kconfig: Remove linemeter precise section

* lv_conf_kconfig: Remove sprintf disable float section

* lv_conf_kconfig: Remove theme selection section

* lv_conf_kconfig: Remove spinner def anim section

* Kconfig: Fix typo

* Kconfig: Fix chroma key value setting

* Kconfig: Update header version
2021-04-06 20:48:57 +02:00
Gabor Kiss-Vamosi
b73c41b310 fix(roller) fix drawing the label twice 2021-04-06 18:24:01 +02:00
Gabor Kiss-Vamosi
b69fc73805 feat(style) handle percentage value of min/max width/height 2021-04-06 18:24:01 +02:00
Gabor Kiss-Vamosi
92e85d1b9e fix(scroll) fix scroll minor scrolling issues 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
2a07880db2 fix(lv_conf_template.h) remove lv_user_data_t as it's not used 2021-04-06 13:14:19 +02:00
Gabor Kiss-Vamosi
d2e0e6c56b Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-06 11:55:04 +02:00
Gabor Kiss-Vamosi
171b40a3d2 fix(obj) add back the accidentally removed user_data to lv_obj_t 2021-04-06 11:54:53 +02:00
Jon Thacker
c6e68dc503
fix(comment) keep newline between comments (#2186)
To maintain uniformity of comment formatting, but primarily to work around a deficiency in the rust library bindgen (0.58 and earlier), comments should be separated by a newline.
2021-04-05 12:28:38 -04:00
embeddedt
d2baa9c3e2 fix(indev) provide raw old points to read_cb, not rotated points (#2180)
cherry-picked from acf42d39
2021-04-02 12:57:36 +02:00
Gabor Kiss-Vamosi
194f893bd7 feat(flex) add min/max-width/height handling to flex 2021-04-02 12:48:14 +02:00