Commit Graph

5967 Commits

Author SHA1 Message Date
fvanroie
9122f844f6 fix(img): possible divide by 0 exception (lvgl#3988) (#3992)
Co-authored-by: fvanroie <cpt_jack@msn.com>
2023-02-15 20:58:08 +01:00
spanish-worker
5c0bb3f85a fix(tileview): build error with animations disabled (#3942)
Co-authored-by: spanish-worker <>
2023-01-24 09:07:23 +01:00
ckielstra
c539546f74 fix(style) fix typo in value line spacing calculation (#3171)
The code for calculating the extra space around a 'value style' property contained a copy/paste error where the 'letter space' instead of the 'line space' was used in the vertical required size calculations.
2022-03-15 21:16:41 -04:00
Dustin Holden
9d99f08e80 fix(btnmatrix): set btn_id_act on keypad press (#3140) 2022-03-01 19:42:17 +01:00
glory-man
3a39ed05a7 fix(refr): prevent area refresh if it's not on a visible screen (#3068) 2022-02-07 17:43:09 +01:00
Philippe Coval
ec4435426e build(cmake) add install support (#2698)
Signed-off-by: Philippe Coval <philippe.coval@huawei.com>
2021-10-19 09:30:57 -04:00
Gabor Kiss-Vamosi
a33fe6a2d6 fix(disp) be sure the pending scr load animation is finished in lv_scr_load_anim
fixes #2502
2021-09-07 21:55:53 +02:00
Damian Kurek
32ee6c5781 Remove main component dependency (#2527) 2021-09-06 10:38:56 +02:00
Gabor Kiss-Vamosi
a3234c8aa1 fix(refr) set disp_drv->draw_buf->flushing_last correctly with sw rotation 2021-08-27 14:52:01 +02:00
Gabor Kiss-Vamosi
ac1fa649ca fix typo 2021-08-10 16:02:22 +02:00
Gabor Kiss-Vamosi
8747a35123 fix warning 2021-08-10 13:56:03 +02:00
Gabor Kiss-Vamosi
3fce530c01 fix(canvas) invalidate the image on delete
fixes #2398
2021-08-09 11:23:22 +02:00
Gabor Kiss-Vamosi
719fa3ce0f fix(gauge) fix warning due to missing cast 2021-07-15 17:32:53 +02:00
Gabor Kiss-Vamosi
797212a3f3 fix(gauge) handle critical values larger than max value 2021-07-13 17:38:16 +02:00
Gabor Kiss-Vamosi
042e34cb88 fix(gauge)fix inaccuracy of gauge critical value
Fixes #2288
2021-06-17 11:01:42 +02:00
Gabor Kiss-Vamosi
60ddd13465 fix build error
fixes #2317
2021-06-16 12:45:08 +02:00
Gabor Kiss-Vamosi
e04a8d2961 fix(draw) underflow in subpixel font drawing
Fixes: #2273
2021-06-15 19:56:26 +02:00
Themba Dube
3bafa5a8a3 Bump version number in PlatformIO
Try to address https://github.com/lvgl/lvgl/issues/2046#issuecomment-851713326
2021-06-02 08:23:59 -04:00
Gabor Kiss-Vamosi
f710be661b fix(tabview) wix memory leak with left/right tab position
Fixes #2223
2021-05-29 21:51:20 +02:00
Gabor Kiss-Vamosi
b16e7f1076 fix(textarea) fix setting padding in one line mode
Fixes #2253
2021-05-19 14:47:19 +02:00
embeddedt
708272c37c fix(roller) use correct line height for selected area (#2251)
Co-authored-by: alec-2018 <40708750+alec-2018@users.noreply.github.com>
2021-05-11 10:08:29 -04:00
Gabor Kiss-Vamosi
f926ec56e9 Merge branch 'release/v7' of https://github.com/littlevgl/lvgl into release/v7 2021-05-10 09:50:46 +02:00
Gabor Kiss-Vamosi
d11d95bf8e fix(anim) minor fixes 2021-05-10 09:50:41 +02:00
Sean
e06fe1b82e Fix the bug that setting text font to rollers lv_roller_part_selected is invalid when animation is disabled. (#2238)
Co-authored-by: Cheng Tang <ctang@thoughtworks.com>
2021-05-06 19:23:54 +02:00
Matt Sieren
d39a34351c fix(kconfig) remove dependency for LV_COLOR_CHROMA_KEY_HEX (#2234)
Remove the depdenency on LV_COLOR_SCREEN_TRANSP which depends on
LV_COLOR_DEPTH_32 so chroma-keying is working with systems that operate
in a 16 bit color space or lower.
2021-05-04 20:44:14 -04:00
embeddedt
e08ecffca9 fix(style) remove redundant lv_style_copy declaration
Reported here: https://forum.lvgl.io/t/warning-from-compiler-xc32/5342
2021-04-25 18:06:06 -04:00
Gabor Kiss-Vamosi
3e7bc7294a Merge branch 'release/v7' of https://github.com/littlevgl/lvgl into release/v7 2021-04-24 19:44:44 +02:00
Gabor Kiss-Vamosi
77d6dbb691 fix(material theme) properly handle LV_THEME_MATERIAL_FLAG_NO_FOCUS 2021-04-24 19:44:38 +02:00
incity
506a21c6d9 fix bug : heap-use-after-free (#2207) 2021-04-22 16:08:17 +02:00
Roman Stanchak
28c43adc60 lv_theme_mono: fix runtime error with spinner widget using mono theme (#2202)
When using the spinner widget with the mono theme, a runtime error
occurs when the widget is styled:

Warn: Invalid style (local variable or not initialized?)
(lv_style.c #952 lv_debug_check_style())
Error: _lv_style_list_add_style         (lv_style.c #189
_lv_style_list_add_style())
Error: Invalid style (0x000055CF3A53A190)       (lv_debug.c #127
lv_debug_log_error())

This is apparently due to styles->tick_line not being initialized.

The spinner uses the arc's styles in the material theme, so the same
approach is applied here.
2021-04-19 19:36:23 +02:00
Gabor Kiss-Vamosi
0ce7795b7a fix(table) fix memory leak
See https://forum.lvgl.io/t/possible-memory-leak-in-table-widget/5254
2021-04-19 15:50:19 +02:00
Gabor Kiss-Vamosi
3025101786 fix(material theme) add default line style with 1 px width
fixes #2177
2021-04-08 13:30:34 +02:00
Gabor Kiss-Vamosi
94ad20bc94 fix(lv_obj_style_dec) update comment
fixes #2181
2021-04-06 20:37:26 +02:00
Gabor Kiss-Vamosi
9f1982bf5c Merge branch 'release/v7' of https://github.com/littlevgl/lvgl into release/v7 2021-04-06 11:52:51 +02:00
Gabor Kiss-Vamosi
02b80de5f3 fix(linemeter) don't make the first line active if cur_calue == min value 2021-04-06 11:52:40 +02:00
Gabor Kiss-Vamosi
ea04782acb Merge branch 'release/v7' of https://github.com/littlevgl/lvgl into release/v7 2021-04-06 11:13:06 +02:00
embeddedt
15976bdb9e fix(indev) provide raw old points to read_cb, not rotated points (#2180)
fixes #2184
2021-04-06 11:12:29 +02:00
embeddedt
acf42d3999 fix(indev) provide raw old points to read_cb, not rotated points (#2180) 2021-04-02 12:51:49 +02:00
Gabor Kiss-Vamosi
82b9779067 Merge branch 'release/v7' of https://github.com/littlevgl/lvgl into release/v7 2021-04-01 12:22:08 +02:00
Gabor Kiss-Vamosi
c08b0cdc79 fix(draw_rect) drawing right border
fixes #2159
2021-04-01 12:21:39 +02:00
embeddedt
08b3fe1f11 fix(btnmatrix): initialize align parameter (#2176) 2021-03-31 08:06:00 -04:00
Amir Gonnen
1748798aca feat(cmake) Allow building LVGL without kconfig (#2165)
Also add ../ to the search path, such that lv_conf.h could be found on parent directory

Related discussion: https://github.com/lvgl/lvgl/pull/1875#issuecomment-803179499
2021-03-24 18:54:03 -04:00
Gabor Kiss-Vamosi
e1ac174e16 Merge branch 'master' into release/v7 2021-03-16 16:33:07 +01:00
Gabor Kiss-Vamosi
ec9de515b3 Release v7.11.0 v7.11.0 2021-03-16 16:31:32 +01:00
Gabor Kiss-Vamosi
fa2c817681 Update lv_port_disp_template.c 2021-03-12 14:12:12 +01:00
Gabor Kiss-Vamosi
9a447883c1 fix(draw) consider style opa for outline too 2021-03-09 11:43:04 +01:00
Gabor Kiss-Vamosi
c908cc98b6 add lv_anim_del_all() 2021-03-09 10:31:17 +01:00
Petteri Aimonen
607e02e52a Cleanup LV_SIGNAL_GET_TYPE implementations (#2127)
Remove dead code in lv_label and lv_spinbox, there is already lv_obj_handle_get_type_signal() call higher up.
Change lv_led to use lv_obj_handle_get_type_signal() like other widgets do.
2021-03-08 15:01:59 +01:00
Kamranaghl
a4c33bb16e feat(label) decide text animation's direction based on base_dir (#2112) 2021-03-02 12:51:37 -05:00
Gabor Kiss-Vamosi
b8b66c6929 Update lv_label.h 2021-03-02 12:23:31 +01:00