1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

37 Commits

Author SHA1 Message Date
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00
Gabor Kiss-Vamosi
17691cc3ae fix warnings
related #4035
2023-03-16 17:49:05 +01:00
Gabor Kiss-Vamosi
c3194188c9 fix(color): fix warning
fixes #4035
2023-03-06 05:57:08 +01:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
domologic
8b6f71a8a7
feat(color): added option to overwrite lv_color_mix (#3998)
Co-authored-by: komelov <e.komelov@domologic.de>
2023-02-20 11:52:30 +01:00
ckielstra
c069cf18fb
chore(doc) fix spelling in source comments and add missing parameter descriptions (#3607) 2022-08-22 09:21:25 -04:00
Gabor Kiss-Vamosi
453ac21254 arch(color): define generic color formats and add draw_ctx->buffer_convert 2022-07-21 07:28:19 +02:00
Gabor Kiss-Vamosi
6104855491 fix(conf): fix a lot of new config realted issues 2022-07-19 17:21:19 +02:00
Gabor Kiss-Vamosi
42d9c07eeb fix(color): compensate rounding error during blending
fixes #3362
2022-05-18 23:08:12 +02:00
Gabor Kiss-Vamosi
523062b9ee fix(color): color mix rounding error
fixes: #3362
2022-05-18 07:57:48 +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
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
X-Ryl669
0564b93d0e
perf(color): add faster lv_color_hex function (#2864)
* Add faster lv_color_hex method to convert from ARGB32 to lv_color_t, bypassing lv_color_make and component extraction

* Update src/misc/lv_color.h

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-12-03 10:22:13 +01:00
Xiang Xiao
ddfdccac3c
fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable (#2766)
* fix(config): check macro equal one correctly

1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 14:40:08 +01:00
Xiang Xiao
dfb036e42c
fix(misc): correct the comment and code style (#2769)
and remove the redundant inclusion

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-08 11:28:52 +01:00
Xiang Xiao
a4978d0913
fix(color): minor fixes(#2767)
* fix(color): move LV_UDIV255 to lv_math.h

since lv_math.h is better place for the computation function

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(color): replace the inifite loop with LV_ASSERT

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 10:54:13 +01:00
eudoxos
58ea2787b4
expose LV_COLOR_DEPTH and LV_COLOR_16_SWAP in micropython (#2679) 2021-10-18 13:39:04 +02:00
Gabor Kiss-Vamosi
d67dd943ca format run code-formtter.sh
related to #2543
2021-09-13 14:06:26 +02:00
Gabor Kiss-Vamosi
f3342269f2 fix(color) fox color premult precision with 16 bit color depth 2021-09-02 13:41:30 +02:00
Kevin Thibedeau
4d74194e0d
fix(color) Bad cast in lv_color_mix() caused UB with 16bpp or less (#2509) 2021-08-30 16:46:41 +02:00
Gabor Kiss-Vamosi
5b3d3dc8b3 perf(draw) reimplement rectangle drawing algorithms
No functionalty has changed only make them more readable and faster.
2021-08-02 15:45:14 +02:00
Gabor Kiss-Vamosi
637b706ddc
perf(draw) reimplement circle drawing algorithms (#2374)
* perf(draw) reimplement circle drawing algorithms

Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements

* docs describe how to use masks

* fix(draw) add missing GC root usage
2021-07-27 19:16:00 +02:00
Themba Dube
157534cdbf fix(color) remove extraneous cast for 8-bit color
This brings it in line with the corresponding macros for other BPP values.

This issue was found via CI added in the following commit.
2021-07-15 17:11:53 -04:00
embeddedt
d79ca388ef
fix(color) remove extraneous _LV_COLOR_MAKE_TYPE_HELPER (#2372)
This updates it to match the other `LV_COLOR_MAKEXX` (where XX is the color depth) lines.
2021-07-15 17:57:30 +02:00
Gabor Kiss-Vamosi
1cb57494df revert attempts to make struct private
feat/priate-struct was create as snapshot before this commit
2021-05-30 15:15:43 +02:00
Gabor Kiss-Vamosi
4554f5d9c3 fix try a different approach to make structs private 2021-05-29 09:32:19 +02:00
Gabor Kiss-Vamosi
d527ca019a Revert "fix how the private struct are handled in function pointer typedefs"
This reverts commit b1bcff6f8f1f23d7e07b7cf20b0c1e0f1746df87.
2021-05-29 09:11:41 +02:00
Gabor Kiss-Vamosi
b1bcff6f8f fix how the private struct are handled in function pointer typedefs
Do no use '_' for compatibility with Micropython binding.
2021-05-29 07:26:24 +02:00
Gabor Kiss-Vamosi
e29c96e975 fix export missing constants and defines to make them available in Micropython binding. 2021-05-13 16:04:32 +02:00
Gabor Kiss-Vamosi
638682de4a fix(tlsf) add missing include 2021-04-24 17:43:33 +02:00
Gabor Kiss-Vamosi
d377552a9c fix(color) fix warning due to misplaced semicolon 2021-04-24 16:48:58 +02:00
Amir Gonnen
3dfc59435d
refactor(color) small fixes (#2211) 2021-04-24 16:34:09 +02:00
Gabor Kiss-Vamosi
070df61eb2 refactor(color) refactor the palette API 2021-04-23 12:46:14 +02:00
Gabor Kiss-Vamosi
bbfcb2454e feat(event) add event filter to lv_event_send 2021-04-19 11:15:28 +02:00
Gabor Kiss-Vamosi
d83fa19703 minor fixes 2021-03-19 18:03:08 +01:00
Xiang Xiao
9254a7ea14 fix(comment): remove the space after /* and before */ 2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
0cc1e99ddf remove the lv_ prefix from the directories in the src folder 2021-03-16 20:36:27 +01:00