Gabor Kiss-Vamosi
b9adb0a048
example: fix MicroPython examples
2022-07-21 22:21:43 +02:00
Gabor Kiss-Vamosi
e42f01a38a
fix(make): update lvgl.mk and remove unnecessary mk files
2022-07-20 12:10:00 +02:00
Xiang Xiao
9ed5b3fe06
Sync up Kconfig with lv_config_template.h ( #3508 )
...
* fix(config): remove LV_COLOR_16_SWAP related stuff
follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(config): remove LV_COLOR_SCREEN_TRANSP related stuff
follow commit 5369d7d473446a8953f2ea37b9116da918d3c8d2
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-20 11:29:34 +02:00
Gabor Kiss-Vamosi
9add9acadb
refactor(style): add width and height paramaters to style_size
2022-07-19 15:47:00 +02:00
Gabor Kiss-Vamosi
5369d7d473
arch(conf, api) refactor lv_conf and some API ( #3501 )
...
Kconfig and MicroPython config is not updated yet.
* start to refactor lv_conf.h
* further mem refactoring
* create lv_mem_builtin.c/h
* update lv_conf_internal.h
* add lv_strlen and lv_strncpy
* rename LV_DRAW_COMPLEX to LV_USE_DRAW_MASK
* update lv_conf_template
* minor fix
2022-07-19 13:31:42 +02:00
Gabor Kiss-Vamosi
023279f126
chore: fix warning
2022-07-18 17:51:46 +02:00
Gabor Kiss-Vamosi
e2771db8ce
example(keyboard): add an example to show how to set a new map
...
fixes #3490
2022-07-18 17:50:35 +02:00
Xiang Xiao
7eff407fea
chore(format): order the header file and function prototype ( #3492 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 15:29:04 +02:00
100ask
10e0b7a1ad
feat(ime_pinyin): add API to support 9-key input mode ( #3447 )
...
* feat(ime_pinyin): add API to support 9-key input mode
* some optimizations for lv_ime_pinyin
* Update lv_example_ime_pinyin_2.c
* Update src/extra/others/ime/lv_ime_pinyin.h
Co-authored-by: YobeZhou <smilezyb@163.com>
Co-authored-by: Yobe Zhou <33565334+YobeZhou@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-07-06 09:04:53 +02:00
Mariotaku
a1326dc31a
fix(fragment): memory leak of fragments #3438 ( #3442 )
2022-07-04 12:48:27 +02:00
Gabriel Wang
922108dbbe
chore: cmsis pack monthly update ( #3435 )
...
* update lv_gpu_arm2d to support LV_IMG_CF_RGB565A8
* feat(porting) minor update
* feat(cmsis-pack): monthly update for June
* Update LVGL.pidx
* fix(draw): solve memory leaking issue
* Update lv_draw_sw_layer.c
* Update LVGL.lvgl.1.0.5.pack
* Update LVGL.lvgl.1.0.5.pack
2022-07-01 20:20:48 +02:00
100ask
6ff164f87d
example(ime_pinyin): improved lv_example_ime_pinyin_1 ( #3428 )
2022-06-29 09:58:34 +02:00
Yobe Zhou
92f1f9c0cc
feat(ime_pinyin): add API to use Pinyin IME(Chinese input) ( #3408 )
...
* feat(pinyin_ime): add API to use Pinyin IME(Chinese input)
1.Low resource usage
2.Support custom thesaurus
3.Support custom styles (Candidate panel, keyboard)
4.Support simple spelling
* fix(ime_pinyin): fix several problems of ime_pinyin
1. Change lv_pinyin_ime to lv_ime_pinyin
2. Add lv_pinyin_ime_set_keyboard interface
3. Add lv_ime_pinyin configuration in Kconfig, src/lv_conf_internal.h
* refactor(ime_pinyin): improve coding specification
* feat(ime_pinyin): add simple Pinyin IME example
* docs(ime_pinyin): Add ime_pinyin documentation
* Delete settings.json
* Update dictionary based on simsun
* Delete lv_font_source_han_sans_normal_16.c
* Update lv_example_ime_pinyin_1.c
* Update ime_pinyin.md
add Chinese translation document
* Update lv_ime_pinyin.c
* Update lv_ime_pinyin.c
* Update lv_ime_pinyin.h
* Update lv_ime_pinyin.c
* Update lv_example_ime_pinyin_1.c
* Update lv_conf_internal.h
* Update lv_ime_pinyin.c
* Update lv_ime_pinyin.c
Co-authored-by: 100askTeam <team100ask@outlook.com>
2022-06-24 14:38:24 +02:00
Gabor Kiss-Vamosi
6b2eac1dd7
example(btnmatrix): update lv_example_btnmatrix_2 to expicitly check which part is drawn
...
related to https://forum.lvgl.io/t/style-messagebox-buttons-causes-outline-around-all-buttons-in-the-button-matrix/9170
2022-06-23 13:26:31 +02:00
KyleParker-Gongyuan
8d8aaed0e3
fix(examples) correct comment in slider example ( #3419 )
...
The label is above the slider in this example, not below it.
2022-06-21 08:50:55 -04:00
Gabriel Wang
ca9aff6119
cmsis pack monthy update for June ( #3413 )
...
* fix(benchmark): remove duplicated output in report log
* doc(benchmark): update the method for performance analysis
* feat(cmsis-pack): v1.0.5-alpha1
* fix(template): use consistent resolution information
* Update LVGL.lvgl.1.0.5-alpha1.pack
2022-06-14 13:03:50 +02:00
Lazar Chervenkov
03c43d95ad
example(imgfont): fix lvgl.h include path ( #3405 )
...
When LV_LVGL_H_INCLUDE_SIMPLE is not defined, the path to the lvgl.h gives a compilation error. I fixed the path
2022-06-08 11:08:54 +02:00
Gabriel Wang
c9fa4ef0fc
feat(porting): add flushing control to the template ( #3384 )
...
* feat(porting): add flushing control to the template
* Update examples/porting/lv_port_disp_template.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* Update examples/porting/lv_port_disp_template.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* Update examples/porting/lv_port_disp_template.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* Update lv_port_disp_template.h
* use consistent comment
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-06-03 15:08:08 +02:00
Gabor Kiss-Vamosi
7bb09e3580
example(span): avoid ambiguous meaing
...
fixes: https://github.com/lvgl/lvgl/pull/2227#issuecomment-1131193923
2022-05-19 13:01:28 +02:00
embeddedt
71d535defd
fix(examples) use type-safe function for retrieving event param
...
Fixes #3364
2022-05-18 13:58:35 -04:00
Gabor Kiss-Vamosi
930115edbb
revert example
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
b773330234
fix conflicts
2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
ac2e2f132e
perf(layer): cache the layer_type
...
fixes #3334
2022-05-07 22:01:28 +02:00
Gabor Kiss-Vamosi
a76bb70a79
feat(arc): add lv_arc_align_obj_to_angle and lv_arc_rotate_obj_to_angle
2022-04-27 14:24:45 +02:00
Gabor Kiss-Vamosi
318146a2c2
feat(draw): support transforming widgets and improfe sw transform
...
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
Gabor Kiss-Vamosi
1b219654db
chore: code formatting and fix warnings
2022-04-06 22:18:30 +02:00
Gabor Kiss-Vamosi
79a29d749d
feat(msg): add publisher-subscriber messaging
2022-04-06 22:12:24 +02:00
Xiang Xiao
2e80590b3f
chore(make): add lv_ prefix to examples/examples.mk and src/extra/extra.mk ( #3187 )
...
follow other make file convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:27:08 +01:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files ( #3188 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
guoweilkd
7713327d61
feat(font): add imgfont - can be used to add emojis to label/span ( #3160 )
...
* feature(font): draw img in label/span
* add to tests
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-17 10:18:14 +01:00
ckielstra
f79e2838cb
chore(doc): spelling ( #3172 )
...
* Spelling: 'an unicode' -> 'a unicode'
* fix(changelog) spelling
* Remove double spaces
* Spelling
2022-03-16 10:19:19 +01:00
HX2003
44f6f75238
chore(gridnav): fix broken links for gridnav ( #3159 )
2022-03-11 10:57:06 +01:00
Carlos Diaz
0a5c5465d2
chore(docs): fix trailing whitespaces in files ( #3133 )
2022-03-01 13:52:45 +01:00
Andres O. Vela
340d45cfa9
feat(label): added animation style property to apply it to circular scrolling animation of label widget ( #3128 )
...
* feat(label): added animation style property to apply it to circular scrolling animation of label widget
Added an animation style property to be used as animation template for different use cases in different widgets.
This commit implements using this property to set the start and repeat delay of the circular scrolling animation of the label widget.
Closes #3097
* fix(label): changed animation style property's var_type to `const lv_anim_t *`
* example(label): added example showing how to customize circular scrolling animation
* chore(label): ran code-format.py and added missing function prototype to lv_example_widgets.h
2022-02-25 11:54:27 +01:00
GoT
efb9c5cc52
chore(fs): wrong parameters doc for fs_write in lv_port_fs_template.c ( #3109 )
...
* Wrong parameters doc for fs_write
Wrong parameters doc for fs_write in lv_port_fs_template.c
* Fix wrong code block for fsdrv files and lv_fs.h
2022-02-21 16:14:06 +01:00
Gabor Kiss-Vamosi
4a766c516d
example(slider): make lv_example_slider_3 work with dark theme too
...
fixes : #3094
2022-02-16 14:04:05 +01:00
embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config
2022-02-13 13:59:17 -05:00
Mariotaku
e7736f2c32
feat(fragment): add fragment manager (a UI Controller concept) ( #2940 )
...
* adding lv_obj_controller
* adding examples for lv_obj_controller
* added some docs
* formatted code
* updated controller docs
* updated controller docs
* updated sample controller field
* changed lv_controller_manager_parent to lv_controller_manager_get_parent
* updated unmanaged controller creation/deletion
* renamed lv_controller_manager_t
* rename: controller -> fragment
* formatted code
* Update examples/others/fragment/lv_example_fragment.h
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* Update src/extra/others/fragment/lv_fragment.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* Update src/extra/others/fragment/lv_fragment.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* Update src/extra/others/fragment/lv_fragment.c
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
* code cleanup
* fragment creation rework
* (wip) fragment manager
* (wip) fragment manager
* refactoring fragment
* lifecycle fixes
* updated fragment event callback
* exposed states of fragment
* added some docs
* updated lv_fragment_managed_states_t name
* updated docs
* updated docs
* updated lv_fragment_manager_dispatch_event docs
* removed msgbox fragment
* updated fragment docs
* updated fragment docs
* updated docs
* updating examples
* fixed example
* reformatted code
* fixed obj_created set timing
* simplified fragment
* improved fragment view del assertion
* fixed a typo
* fixed event_cb check in lv_obj_remove_event_cb_with_user_data
* fixing fragment obj assertion
* regenerated config
* fixed fragment examples
* fixed fragment examples
* added missing examples
* updated docs
* fragment api cleanup
* rename fragment struct names
* added missing param doc
* enabled test for 32bit build
* feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting (#3063 )
* feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting
* feat: update helper function and doc
* doc(porting): update function names
* revise to the original os.md
* fix: fix typo
* fix: mitigate warnings
* chore: fix code formatting
* fix(fsdrv): replacing sprintf with lv_snprintf for safety (#3079 )
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(conf) mismatched macro judgment
* feat(fsdrv) replacing sprintf with lv_snprintf for safety
* feat(fsdrv) update stdio and win32
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
* fix warnings
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
Co-authored-by: _VIFEXTech <1290176185@qq.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-02-11 12:43:08 +01:00
Amir Gonnen
c7a414bfc6
fix(micropython) update examples for new API ( #3059 )
...
Related: https://github.com/lvgl/lv_binding_micropython/issues/202
2022-01-29 12:39:11 -05:00
Gabriel Wang
f6ebb9a5a7
fix(porting): add missing function prototypes ( #3054 )
2022-01-28 11:58:41 -05:00
Adrian Schnyder
abba1c351a
feat(fs): add caching option for lv_fs-read ( #2979 )
...
BREAKING CHANGE:
The `LV_FS_...` related configs needs to be updated.
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 20:52:37 +01:00
X-Ryl669
923defd6b6
fix(gradient): general cleanup and fix for alignment issues ( #3036 )
...
* Try to fix ASAN behavior
* improve alignments
* fix buffer overflow and various other fixes
* minor fixes
* formatting
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 15:47:47 +01:00
Gabor Kiss-Vamosi
62fc7123f1
feat(gridnav): add lv_gridnav ( #2911 )
...
* add first implememtation
* Update src/extra/others/gridnav/lv_gridnav.c
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
* minor fix
* add example and minor fixes
* add more examples
* add more examples
* code formatting
* add LV_GRIDNAC_CTRL_SCROLL_FIRST
* code formatting
* add example for list
* add docs
* Misc: improvements to gridnav docs (#2994 )
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: Ken Carpenter <62639971+FoundationKen@users.noreply.github.com>
2022-01-20 10:29:40 +01:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes ( #3008 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
Gabriel Wang
da0b891a28
fix(porting): fix typo and an unmatched prototype ( #2998 )
2022-01-12 15:18:09 +01:00
X-Ryl669
6617385f8a
feat(draw): add gradient dithering support ( #2872 )
...
* Add dithering to gradients
* Add support for 8x8 matrix for ordered dithering
* Fix CI errors
* Try error diffusion on vertical gradient too
* Vertical error diffusion dithering
* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).
* Reduce the binary size of the code by sharing the dithering table when appropriate.
* Fix CI
* Fix CI
* Review corrections
* Fix union mapping
* Revert bg_color changes
* Fix for keeping bg_color in the API.
* Fix after review
* Add support for setting multiple stops per gradient in the style API
* Let's make an example
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-11 12:38:30 +01:00
Gabor Kiss-Vamosi
2d8476438b
chore(example): fix image path in lv_example_btnmatrix_2.py
2022-01-05 13:46:11 +01:00
Gabor Kiss-Vamosi
0a1d7d9ef2
chore(example): fix image path in lv_example_snapshot_1.py
2022-01-05 13:38:46 +01:00
Gabor Kiss-Vamosi
6701d36afe
fix: remove symlinks to be accepted as an Ardunio library
...
See c60ed68e94 (r62838038)
2022-01-05 10:08:10 +01:00
Mariotaku
9bbf661dd4
perf(sdl): optimize the use of SDL_RenderSetClipRect ( #2941 )
...
* reduce SDL_RenderSetClipRect as much as possible
* added some comments
* removing draw_sw usage
* fixed import
* implemented polygon drawing
* supports subimage for sdl texture based images
* fixed formatting
* removed unused code
* cleanup
* cleanup
* formatted code
2022-01-05 10:01:18 +01:00