From f38ac2cc7dc21ba650447eb6a56601a7628d311e Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 24 Sep 2018 11:42:13 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 7a88c8a99..76d9a4173 100644 --- a/README.md +++ b/README.md @@ -2,34 +2,23 @@ ![LittlevGL cover](https://littlevgl.com/docs/themes/lv_theme_intro.png) -LittlevGL provides everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint. - -Homepage: https://littlevgl.com - -### Table Of Content -* [Key features](#key-features) -* [Porting](#porting) -* [Project set-up](#project-set-up) -* [PC simulator](#pc-simulator) -* [Related repositories](#related-repositories) -* [Screenshots](#screenshots) -* [Contributing](#contributing) -* [Donate](#donate) +**LittlevGL provides everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint.** +https://littlevgl.com ## Key features -* Powerful building blocks: buttons, charts, lists, sliders, images, etc. -* Advanced graphics with animations, anti-aliasing, opacity, smooth scrolling -* Various input devices: touch pad, mouse, keyboard, encoder, buttons, etc. -* Multi-language support with UTF-8 encoding -* Fully customizable graphical elements -* Hardware independent to use with any microcontroller or display -* Scalable to operate with little memory (50 kB Flash, 10 kB RAM) -* OS, External memory and GPU supported but not required -* Single frame buffer operation even with advances graphical effects -* Written in C for maximal compatibility -* Simulator to develop on PC without embedded hardware -* Tutorials, examples, themes for rapid development -* Documentation and API references online +* **Powerful building blocks** buttons, charts, lists, sliders, images, etc. +* **Advanced graphics** with animations, anti-aliasing, opacity, smooth scrolling +* **Various input devices** touch pad, mouse, keyboard, encoder, buttons, etc. +* **Multi-language support** with UTF-8 encoding +* **Fully customizable** graphical elements +* **Hardware independent** to use with any microcontroller or display +* **Scalable** to operate with little memory (50 kB Flash, 10 kB RAM) +* **OS, External memory and GPU** supported but not required +* **Single frame buffer** operation even with advances graphical effects +* **Written in C** for maximal compatibility +* **Simulator** to develop on PC without embedded hardware +* **Tutorials, examples, themes** for rapid development +* **Documentation** and API references online ## Porting In the simplest case you need 5 things: From 522d20d9e4f896300503b3cfe744dfff4aff4aa1 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 24 Sep 2018 11:42:32 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 76d9a4173..c784c2330 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![LittlevGL cover](https://littlevgl.com/docs/themes/lv_theme_intro.png) -**LittlevGL provides everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint.** +**LittlevGL provides everything you need to create a Graphical User Interface (GUI) on embedded systems with easy-to-use graphical elements, beautiful visual effects and low memory footprint.** https://littlevgl.com ## Key features From 23f72ac7747efcc5d637607cce8c817c684c87aa Mon Sep 17 00:00:00 2001 From: rudy yan Date: Sat, 29 Sep 2018 10:43:53 +0800 Subject: [PATCH 3/3] Update lv_ta_signal in lv_ta.c add code processing LV_SIGNAL_DEFOCUS and LV_SIGNAL_FOCUS signals. --- lv_objx/lv_ta.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lv_objx/lv_ta.c b/lv_objx/lv_ta.c index f3cca7828..35a7763d7 100644 --- a/lv_objx/lv_ta.c +++ b/lv_objx/lv_ta.c @@ -972,7 +972,18 @@ static lv_res_t lv_ta_signal(lv_obj_t * ta, lv_signal_t sign, void * param) } buf->type[i] = "lv_ta"; } - + else if (sign == LV_SIGNAL_DEFOCUS) + { + lv_cursor_type_t cur_type; + cur_type = lv_ta_get_cursor_type(ta); + lv_ta_set_cursor_type(ta, cur_type | LV_CURSOR_HIDDEN); + } + else if (sign == LV_SIGNAL_FOCUS) + { + lv_cursor_type_t cur_type; + cur_type = lv_ta_get_cursor_type(ta); + lv_ta_set_cursor_type(ta, cur_type & (~LV_CURSOR_HIDDEN)); + } return res; }