1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00

6424 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
61c977e2ae test style caching 2020-12-24 00:24:49 +01:00
github-actions[bot]
aca9512213
Merge cee779a56dde00107bb1dc1154fcc0c0f2b7f8e8 into dev 2020-12-23 21:00:32 +00:00
Hamid Reza Mehrabian
cee779a56d
Fix #1959: wrong glyph data 2020-12-23 16:00:02 -05:00
Amir Gonnen
f532be9051
lvgl.h: Add lv_version functions (#1973)
These static inline functions return the values of the VERSION macros, making them available for Micropython

See also https://github.com/lvgl/lv_examples/pull/85#issuecomment-749506978
2020-12-23 09:25:06 -05:00
github-actions[bot]
53fd7ec37b
Merge 07b6d93de4e6afaa743f8146812bccae2d4041c5 into dev 2020-12-22 09:44:57 +00:00
Andrey
07b6d93de4
lv_chart: Fix division by zero issue when all points are equal (#1962)
* Fix division by zero issue when all points are equal

As the title says, when all the points are equal, it attempts division by zero, and in some cases it can result in funny behavior.
Slightly kludgy fix, but not a significant performance impact.

* Actually fix the division by zero issue both ways

Previous commit was slightly broken and only worked one way

* Fix range setting instead of drawing

* Missing y_tmp
2020-12-22 10:44:17 +01:00
Gabor Kiss-Vamosi
31372d6972 add chart to v8 with zoom and scroll support (not finished) 2020-12-21 20:16:59 +01:00
github-actions[bot]
ffdabfd16d
Merge 091174069dddeb62cee11bc9f2299424944d03c6 into dev 2020-12-21 17:55:20 +00:00
Gabor Kiss-Vamosi
091174069d fix(textarea): cursor position after hiding character in password mode 2020-12-21 18:54:47 +01:00
github-actions[bot]
6d063ba3aa
Merge 43ed3eb1f498b7300ffb5741e6834877a26c059a into dev 2020-12-21 15:14:13 +00:00
Riccardo
43ed3eb1f4
lv_txt: support extended ascii codes in lv_txt_unicode_to_iso8859_1() (#1963) 2020-12-21 16:13:42 +01:00
Gabor Kiss-Vamosi
aed63d9cbd optimize size of the style 2020-12-21 14:19:35 +01:00
Gabor Kiss-Vamosi
093a6652cf integarte label and checkbox 2020-12-21 10:56:25 +01:00
github-actions[bot]
1661d5ede8
Merge c4d978fa6f544a06e45db2df7cc84a777ce866e0 into dev 2020-12-20 14:37:02 +00:00
Gabor Kiss-Vamosi
c4d978fa6f fix(textarea): buffer overflow in password mode with UTF-8 characters
fixes #1960
2020-12-20 15:36:28 +01:00
github-actions[bot]
5236ad0f9b
Merge 0ca874bc49fef8d4627af22fd162f3fb2428f26b into dev 2020-12-20 14:20:22 +00:00
Gabor Kiss-Vamosi
0ca874bc49 Merge branch 'master' of https://github.com/littlevgl/lvgl 2020-12-20 15:19:33 +01:00
Gabor Kiss-Vamosi
3d22dc5722 dropdown: fix typo causing build error 2020-12-20 13:39:00 +01:00
github-actions[bot]
89555372e8
Merge 62d21734d9101ec285074b7cc0de9739b0c7cd46 into dev 2020-12-20 12:35:15 +00:00
Mattia Maldini
62d21734d9
Improved ESP-IDF integration (#1961)
* Removed LV_CONF_SKIP definition from CMake to avoid redefinition warnings; added more Kconfig options

* Bumped up version and removed unnecessary default values

* Added user data configuration to KConfig

* Moved user data options to "Feature Usage" menu
2020-12-20 13:34:48 +01:00
github-actions[bot]
7f15d06a2e
Merge cd69be12d1441c51afb1b40f05cb62eaefd1bbfe into dev 2020-12-20 12:33:03 +00:00
Gabor Kiss-Vamosi
cd69be12d1
Update pull_request_template.md 2020-12-20 13:32:37 +01:00
github-actions[bot]
5e2dee26cd
Merge 1b83855c72fc9fbf8f4046cbdb22d4db48725d0f into dev 2020-12-20 12:32:11 +00:00
Gabor Kiss-Vamosi
1b83855c72
Create pull_request_template.md 2020-12-20 13:31:44 +01:00
Ashraf Kamel
2ea03e3745
add arabic keyboard (#1964)
* add arabic keyboard

* add arabic keyboard
2020-12-20 13:25:25 +01:00
github-actions[bot]
5a88573fdb
Merge 243145d8c93b20cce0354921061763ccb53ec4b7 into dev 2020-12-20 12:21:41 +00:00
Gabor Kiss-Vamosi
243145d8c9 add arabic processin to to window title and lv_dropdown_add_option 2020-12-20 13:21:06 +01:00
github-actions[bot]
c8ff9f1d5c
Merge cb021a425ad17447ceaeec2c22f9d5bb1f507272 into dev 2020-12-20 10:00:11 +00:00
Gabor Kiss-Vamosi
cb021a425a calendar: fix build error 2020-12-20 10:59:42 +01:00
github-actions[bot]
cb3ab5daa7
Merge b0fecc6bb27fdff0579c6f7b5cf72c7e0c3ea97d into dev 2020-12-20 09:57:10 +00:00
Gabor Kiss-Vamosi
b0fecc6bb2 update CHANGELOG 2020-12-20 10:56:30 +01:00
Gabor Kiss-Vamosi
4e177e01ea Merge branch 'master' of https://github.com/littlevgl/lvgl 2020-12-20 10:55:25 +01:00
Gabor Kiss-Vamosi
2bf91dbbb5 calendar: make get_day_of_week() public 2020-12-20 10:55:20 +01:00
Gabor Kiss-Vamosi
aac672e88b fix(draw): free buffer used for arabic processing 2020-12-20 10:54:40 +01:00
Gabor Kiss-Vamosi
93d7bd4cf5 release script: update version in Kconfig 2020-12-20 10:53:06 +01:00
Gabor Kiss-Vamosi
181692605a make style transition more flexible 2020-12-20 10:46:41 +01:00
Gabor Kiss-Vamosi
4fe3821719 add color filter style property 2020-12-19 06:51:14 +01:00
Gabor Kiss-Vamosi
01a6bacbd7 start to update themes 2020-12-18 15:41:22 +01:00
Gabor Kiss-Vamosi
be060a0dc7 handle style change check on state change 2020-12-16 20:15:27 +01:00
Gabor Kiss-Vamosi
a2bf576f7c make styles classes, add transitions again, add LV_STATE_SCROLLED 2020-12-16 19:25:42 +01:00
Gabor Kiss-Vamosi
74d19b109c experiements with improving styles 2020-12-16 10:22:13 +01:00
Gabor Kiss-Vamosi
67369eed22 Update dev version 2020-12-15 20:13:53 +01:00
Gabor Kiss-Vamosi
57c2201386 Merge branch 'master' into dev 2020-12-15 19:59:27 +01:00
Gabor Kiss-Vamosi
9e72cb0000 Release v7.8.1 v7.8.1 2020-12-15 19:59:27 +01:00
Gabor Kiss-Vamosi
6d964609e5 add btn and arc to classes 2020-12-14 10:56:59 +01:00
Gabor Kiss-Vamosi
ec124559f6 add lv_obj, lv_bar, lv_slider to work with classes 2020-12-11 18:04:23 +01:00
github-actions[bot]
0ea6bcd40c
Merge 9b579f3fadc4e3ec2c4c8c433442670888652e45 into dev 2020-12-11 15:42:50 +00:00
Gabor Kiss-Vamosi
9b579f3fad fix(test): use sys/time.h only if built in test mode 2020-12-11 16:42:15 +01:00
Gabor Kiss-Vamosi
417e32b4df fix: add missing lv_txt_ap.h include to some C files 2020-12-11 16:40:52 +01:00
Rhaoma
0a7f6a6331
Add option to align title text in window (#1953)
* Add option to align title text in window 

I found that i really needed a basic way to align the title text in a window, and therefore i did a bit of tinkering and came up with this solution. Mind you that I'm very new to this so it might not be the most optimal way. I have tested a bit and it pretty looked promising,
I have of course written the alignments as I felt was most suitable, but I shouldn't be the judge of that.
Current alignment:

LV_TXT_FLAG_CENTER makes the text align in the center of the header but ensures it can’t overextend into to header button area;

LV_TXT_FLAG_RIGHT makes the text align at the right side, but takes the right side header buttons into account

LV_TXT_FLAG_FIT & LV_TXT_FLAG_EXPAND I wasn’t too sure about what to do so as of now it just aligns them as normal

LV_TXT_FLAG_NONE Is equal to no flag set by the user and therefore I have just set it to the default coords, like normal. The text then align at the left side.

* Update lv_win.h

* Added functions

Added function to set and get alignment of the header title as requested

* Added functions

Added setter and getter functions for the header title alignment as requested
2020-12-11 16:37:20 +01:00