From e511fe53c9542112e1cabbc46bbd675c362f33fb Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Wed, 18 Nov 2020 13:52:01 +0100 Subject: [PATCH 1/2] Update ROADMAP.md --- docs/ROADMAP.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index 3a5ccedd5..aa3b09099 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -32,24 +32,26 @@ Planned to September/October 2020 ## v8.1 - Add radio button widget -## v9 -- Simplify `group`s. Discussion is [here](https://forum.lvgl.io/t/lv-group-tabindex/2927/3). +## v8.x - Unit testing (gtest?). See [#1658](https://github.com/lvgl/lvgl/issues/1658) - Benchmarking (gem5?). See [#1660](https://github.com/lvgl/lvgl/issues/1660) + +## v9 +- Simplify `group`s. Discussion is [here](https://forum.lvgl.io/t/lv-group-tabindex/2927/3). - Consider direct binary font format support - Remove the copy paramter from create functions - Style selectors and style-based states See [#1832](https://github.com/lvgl/lvgl/issues/1832) +- Optimize line and cirle drawing and masking +- Reconsider color format management for run time color format setting, and custom color format usage. (Also [RGB888](https://github.com/lvgl/lvgl/issues/1722)) +- 9-patch support for `lv_imgbtn`. ## v10 - Remove property level states ## Ideas -- 9-patch support for `lv_imgbtn`. - lv_mem_alloc_aligned(size, align) - Text node. See [#1701](https://github.com/lvgl/lvgl/issues/1701#issuecomment-699479408) -- RGB888 support [#1722](https://github.com/lvgl/lvgl/issues/1722) -- Consider ARGB4444, ARGB1555 format - CPP binding. See [Forum](https://forum.lvgl.io/t/is-it-possible-to-officially-support-optional-cpp-api/2736) - Optmize font decompression - Switch to RGBA colors in styles From 522e975a4eaccd897dae6fa058b6795ea9fbb7c6 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 19 Nov 2020 11:49:00 +0100 Subject: [PATCH 2/2] fix(btnmatrix): fix seg. fault with arabic text processing --- src/lv_widgets/lv_btnmatrix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lv_widgets/lv_btnmatrix.c b/src/lv_widgets/lv_btnmatrix.c index 00926957b..8829b7107 100644 --- a/src/lv_widgets/lv_btnmatrix.c +++ b/src/lv_widgets/lv_btnmatrix.c @@ -15,6 +15,7 @@ #include "../lv_core/lv_refr.h" #include "../lv_themes/lv_theme.h" #include "../lv_misc/lv_txt.h" +#include "../lv_misc/lv_txt_ap.h" /********************* * DEFINES @@ -804,7 +805,7 @@ static lv_design_res_t lv_btnmatrix_design(lv_obj_t * btnm, const lv_area_t * cl /*Get the size of the Arabic text and process it*/ size_t len_ap = _lv_txt_ap_calc_bytes_cnt(txt); if(len_ap < txt_ap_size) { - _lv_txt_ap_proc(txt_ap, txt); + _lv_txt_ap_proc(txt, txt_ap); txt = txt_ap; } #endif