Gabor Kiss-Vamosi
4197b2fd6e
feat(scrollbar): add more control over scrollbar paddings
2022-01-24 20:11:43 +01:00
Gabor Kiss-Vamosi
d2316447c5
fix(theme): fix theme initialization issue introduced in 6e0072479
2021-12-20 15:37:19 +01:00
geert-KLA-BE
6e00724797
fix: lv_deinit/lv_init crash or hang ( #2910 )
...
* Fix themes that are not correctly initialized after lv_deinit
* Fix performance & memory monitoring not correctly initialized after lv_deinit & lv_init
* Apply code formatting fixes
* Fix build errors
* Fix build errors
* Fix formatting
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-12-20 14:05:06 +01:00
HX2003
ad947d3085
feat(widgets): add menu widget ( #2603 )
...
* add menu widget
* Update lv_example_widgets.h
* fix errors
* Update lv_menu.c
* try to fix errors
* micropython
* Fix colons
* Simplify and optimise
* Refactor
* Update lv_example_menu_3.c
* Update lv_example_menu_3.c
* Add simple micropython examples
* Improvements
* Automatically set clickable flags
* Custom header example
* Include example
* Refactor again
* Fix error
* Fix error
* Add back micropython example
* Hide back btn by default
* Add config
* Fix spacing
* Fix spacing
* Docs
* Update lv_theme_default.c
* Remove shaded text
* Improve clarity
* Create index.rst
* Update custom header example
* Change lv_menu_set_mode_sidebar to lv_menu_set_sidebar_page
* Fix unused variable
* Added ability to set title to page
* Flex
* Simplify sidebar check
* Rename mode and update header btn
* Run lv_conf_internal_gen.py
* Run code-format.sh
* Add contributors
* Micropython example 3
* Micropython example 4
* Improve docs
2021-11-29 11:33:34 +01:00
Gabor Kiss-Vamosi
075831a54c
fix(draw) border_draw crash is special case
2021-11-11 17:31:52 +01:00
Gabor Kiss-Vamosi
2e08f80361
feat(calendar): add the header directly into the calendar widget
...
In v8.0 the header was a detached object which made it difficult to move the header and the calendar
together. Besides there were no way to notifi the header of the calendar's shown date has changed.
BREAKING CHANGE: API of cleander headers, the appearence of the calendars
related to #2573 "
2021-10-25 18:39:18 +02:00
Xiang Xiao
4baaa6fe07
fix(kconfig) sync Kconfig with the latest lv_conf_template.h ( #2662 )
...
* fix(conf): correct LV_USE_EXTERNAL_RENDERER and LV_USE_GPU_SDL related setting
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(Kconfig): typo error in the font and theme related setting
and correct the default value and sequence
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(Kconfig): Add the missing misc config
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(Kconfig): sync widget and theme in Kconfig with lv_conf_template.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(Kconfig): add the option for 3rd party library and examples
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-10-15 11:34:16 +02:00
Gabor Kiss-Vamosi
273a0eb32f
fix(textarea) various cursor darwing fixes
2021-10-12 16:36:52 +02:00
Francesco Valla
fc4fdb1e2c
fix(disp) set default theme also for non-default displays ( #2596 )
...
* feat(theme) add getter function for default theme
* fix(disp) set default theme also for non-default displays
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-09-29 11:24:13 +02:00
Mariotaku
258a9ae03b
feat(msgbox) add a content area for custom content ( #2561 )
...
* added lv_dialog
* fixed include path
* formatted code
* make dialog backdrop themeable
* added missing backdrop init
* moved features in lv_dialog to lv_msgbox
* simplified msgbox style
2021-09-20 20:49:36 +02:00
Gabor Kiss-Vamosi
d67dd943ca
format run code-formtter.sh
...
related to #2543
2021-09-13 14:06:26 +02:00
Karijn Wessing
780e0efe2c
feat(obj) add lv_obj_move_to_index(obj, index), renamed lv_obj_get_child_id(obj) to lv_obj_get_index(obj) ( #2514 )
...
* - renamed lv_obj_get_id(obj) to lv_obj_get_index(obj).
- added lv_obj_move_to_index(obj, index).
* automatic review comment fixed
* removed unused variable
* review issue
* restored deprecated function in header, otherwise Build Micropython with LVGL submodule / build (pull_request) failes
* moved deprecated lv_obj_get_child_id() back to lv_obj_tree.h, otherwise Micropython will not build
* inline function did not work
* made deprecated function 'static inline'
* and now also inline
* move static inline function to lv_api_map.h again
* removed lv_obj_move_up/down
* changed log to warning for deprecated function
* redefined lv_obj_move_foreground(obj) and lv_obj_move_background(obj) as inline functions now calling lv_obj_move_to_index(obj, index).
- lv_obj_swap(obj1, obj2) added. (#2461 )
2021-09-05 20:47:55 +02:00
ckielstra
5249a34d5d
docs more spelling fixes ( #2499 )
2021-08-27 12:15:39 +02:00
Gabor Kiss-Vamosi
c5342e9324
fix(theme) use opacity on button's shadow in the default theme
...
fixes #2464
2021-08-19 11:23:44 +02:00
Gabor Kiss-Vamosi
493ace352f
fix(win) enable clip_corner and border_post by default
...
fixes #2430
2021-08-18 14:09:35 +02:00
embeddedt
8ae894ebd4
feat(switch) add smooth animation when changing state ( #2442 )
...
* feat(switch) add smooth animation when changing state
* refactor(switch) improve code quality for animation feature
* refactor(switch) flatten animation structure into widget
Co-authored-by: HX2003 <HX2003@users.noreply.github.com >
2021-08-17 12:33:55 +02:00
Gabor Kiss-Vamosi
2504b7e436
fix(theme) improve button focus of keyboard
...
fixes https://github.com/lvgl/lvgl/issues/2359#issuecomment-880704341
2021-07-16 12:26:06 +02:00
Gabor Kiss-Vamosi
3fb8baf503
fix(widgets) use lv_obj_class for all the widgets
...
Related to #2346
2021-07-06 13:52:12 +02:00
Gabor Kiss-Vamosi
0be582b391
fix(theme) show disabled state on buttons of btnmatrix, msgbox and kayboard
2021-06-09 14:03:52 +02:00
Gabor Kiss-Vamosi
0c0dc8ea30
fix(theme) fix the switch style in the default theme
...
LVGL didn't see that the styles were changed in checked state therefore the switch wasn't invalidated.
2021-06-07 21:17:00 +02:00
Gabor Kiss-Vamosi
4780beae01
fix(obj) fix invalidation of objects on state change
2021-05-28 14:10:12 +02:00
Gabor Kiss-Vamosi
e3fb5d2840
fix minor example issues
2021-05-27 16:06:17 +02:00
Gabor Kiss-Vamosi
a0eb46b042
feat(theme) add mono theme
2021-05-26 12:23:23 +02:00
Gabor Kiss-Vamosi
b634a63963
fix(textarea, spinbox) fix cursor position and size
2021-05-19 15:29:28 +02:00
Gabor Kiss-Vamosi
796ca68f2a
fix(disp) change lv_dpx_disp and lv_dpx_obj to lv_disp_dpx and lv_obj_dpx forr Micropython compatibility
2021-05-15 00:16:28 +02:00
Gabor Kiss-Vamosi
b56e60acef
feat(disp) add lv_dpx_disp and lv_dpx_obj
2021-05-14 23:51:33 +02:00
Gabor Kiss-Vamosi
a2a65d48a5
fix(msgbox) fix size settings
2021-05-13 17:27:09 +02:00
Gabor Kiss-Vamosi
08a1b04fdf
feat(style) add user_data paramter to lv_style_transition_dsc_init
2021-05-12 12:57:12 +02:00
Gabor Kiss-Vamosi
125aec59ec
fix(tabview) make focusing more visible
2021-05-11 17:23:54 +02:00
Gabor Kiss-Vamosi
6cb28da8e9
perf(coord. refr.): imrove the speed of layout, size and position recalculation
...
Reduce the number of refreshes.
2021-05-05 15:53:54 +02:00
Gabor Kiss-Vamosi
3bbe46f74f
minor fixes
2021-05-03 17:34:45 +02:00
Gabor Kiss-Vamosi
9b067784ee
fix(obj) fix adding LV_STATE_FOCUS_KEY
2021-05-03 12:47:22 +02:00
Gabor Kiss-Vamosi
e1e45b1de3
fix(btnmatrix) improve focusing if used in groups
2021-05-03 11:14:25 +02:00
Gabor Kiss-Vamosi
5a385a14b4
fix(theme) improve the style of the keybpard in the default theme
2021-04-29 10:15:20 +02:00
Gabor Kiss-Vamosi
4f46336a54
fix(theme) simplify the default theme
2021-04-28 10:11:26 +02:00
embeddedt
978fc9993d
feat(theme_default) improvements to dark mode ( #2215 )
...
* feat(theme_default) improvements to dark mode
* fix(theme_default) adjust scrollbar opacity in dark mode so it's visually similar to light mode
* fix(theme_default) improve contrast in dark mode
2021-04-27 14:09:50 +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
078b15da55
feat(theme) add experimental dark mode to the default theme
2021-04-20 21:36:24 +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
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
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
e1355dbeee
feat(style) add transform_x/y
2021-04-17 17:33:57 +02:00
Gabor Kiss-Vamosi
9787d38781
feat(style) add transform_x/y
2021-04-15 18:31:50 +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