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

49 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
f0988b8cf8 refactor(event): add _cb postfix to lv_obj_add_event() 2023-11-28 15:36:51 +01:00
Gabor Kiss-Vamosi
5304bf6044 chore: fix build error 2023-11-18 15:41:46 +01:00
Gabor Kiss-Vamosi
2f3e8d4066 feat(draw): add initial SDL renderer
It caches SW rendered bitmaps in textures.
The cache is also updated to support data and source separately.
E.g. source is a path to an image, and if that image changes all
related cache entries needs to found and invalidated.

Limitations of SDL rederer:
- not all draw task types are supported
- image transformation is not supported
- some textures (e.g. button matrix texts) are not detected as cached
- images are not cached
- images are supported only from path
2023-11-18 15:35:45 +01:00
gcopoix
5267c0b9f4
feat(drivers): add x11 driver (display/input) support (#4795)
Co-authored-by: Gregor Copoix <gregor.copoix@ithinx.io>
2023-11-15 14:08:03 +01:00
Viktor Szépe
cc6581ae03
ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Viktor Szépe
742682ae51
chore: fix execute permissions and shebangs (#4695) 2023-10-24 09:41:51 +02:00
Gabor Kiss-Vamosi
9ec5417dd3 refactor: scr -> screen, act->active, del->delete, remove in obj_clear_flag/state 2023-10-12 21:12:16 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
Gabor Kiss-Vamosi
828d34aa3b chore: revert debug code 2023-08-31 22:03:31 +02:00
Gabor Kiss-Vamosi
c3e2120616 feat(img): add img.header.stride
see https://github.com/lvgl/lvgl/pull/4414#issuecomment-1698538169
2023-08-31 19:54:36 +02:00
Gabor Kiss-Vamosi
9285f44539 chore: fix lv_example_img_1() 2023-07-31 18:50:45 +02:00
Gabor Kiss-Vamosi
45aa59a473
feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
Kevin Schlosser
e485dd8bb4
feat(docs): migrate from .md to .rst (#4129) 2023-04-27 14:42:02 +02:00
Gabor Kiss-Vamosi
124f9b0f9f arch(driver): new driver architecture with new color format support 2023-02-20 20:50:58 +01:00
Amir Gonnen
33d8ca779d
feat(examples) adjust micropython examples to use lv_png (#3639) 2022-08-29 17:12:37 -04:00
Amir Gonnen
7a23be73ab
fix(examples) adjust constant names in Micropython examples (#3532)
Due to spurious enums (https://github.com/lvgl/lv_binding_micropython/issues/199) wrong constant names were generated. Fix these constants.
2022-07-30 11:10:56 -04:00
Gabor Kiss-Vamosi
930115edbb revert example 2022-05-16 17:15:36 +02:00
Gabor Kiss-Vamosi
b773330234 fix conflicts 2022-05-16 17:15:36 +02:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config 2022-02-13 13:59:17 -05:00
ckielstra
a5058eafd0
style(examples) fix style issues in Python examples (#2880)
Removes all semicolons at line endings in the Python examples.
2021-12-05 08:41:17 -05:00
Gabor Kiss-Vamosi
d5ede0ebc6 fix(img) fix invalidation issue on transformations
fixes #2853
2021-11-30 20:35:12 +01:00
Gabor Kiss-Vamosi
8f6b1f8d6c
arch(draw) separate SW renderer to allow replacing it (#2803)
* decouple sw renderer

* simplify blend interface

* make tests pass

* udpate makefiles

* fix warning

* fix build errors

* run code formatter

* antialias fix
2021-11-26 12:44:10 +01:00
Amir Gonnen
1b6a39ca61
fix(examples) import 'u'-prefixed versions of modules (#2365)
import usys and utime instead of sys and time, as the latter are not available on all platforms
2021-07-10 19:24:16 -04:00
Amir Gonnen
4114dc30e8
fix(examples) fix MicroPython examples and run the examples with CI (#2339)
* Fixes to micropython examples

Added missing images and fonts under 'assets'. Since .bin is in gitignore, renamed fonts to .fnt

* Update build_micropython workflow

Build the unix port dev variant and run tests.

See: https://github.com/lvgl/lv_binding_micropython/issues/151
2021-07-01 14:37:57 +02:00
Themba Dube
6f37c4fc56 docs(examples) add MicroPython examples 2021-06-11 16:48:27 -04:00
Uli Raich
c60ed68e94
adding micropython examples (#2286)
* adding micropython examples

* adding micropython examples
2021-06-07 13:56:08 +02:00
Gabor Kiss-Vamosi
f5c70a06db docs(examples) fix some examples 2021-05-07 21:23: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
422c9e5bd6 feat(event) rework the prototype of lv_event_cb
It encapsulates all event related parameters into a single lv_event_t obejct.
2021-04-14 15:31:54 +02:00
Gabor Kiss-Vamosi
20803031e8 fix(test) fix tests 2021-04-08 13:07:48 +02:00
Gabor Kiss-Vamosi
663bcfd030 api(style) add lv_style_selector_t instead of lv_part_t and lv_state_t in style API 2021-03-31 19:57:14 +02:00
Gabor Kiss-Vamosi
a2f3022188 api(align) save align in style and handle x/y according to it 2021-03-25 16:14:17 +01:00
Gabor Kiss-Vamosi
53f3cc1827 api(style) remove content style proeprties 2021-03-25 13:36:50 +01:00
Gabor Kiss-Vamosi
bf2deded51 fix conflicts 2021-03-18 17:31:09 +01:00
Gabor Kiss-Vamosi
03f74ce186 feat(obj): merge draw clallback to events 2021-03-18 17:03:36 +01:00
Xiang Xiao
9254a7ea14 fix(comment): remove the space after /* and before */ 2021-03-18 11:51:36 +08:00
Gabor Kiss-Vamosi
cbfbcb47f9 feat(color): use colors from material design
Use function instead of color macros
2021-02-23 15:03:06 +01:00
Gabor Kiss-Vamosi
e9613526f8 fix(anim) fix anim_exec_cb casts 2021-02-22 20:27:46 +01:00
Gabor Kiss-Vamosi
757c18e430 refactor(anim) replace lv_anim_value_t with int32_t
see #2086
2021-02-22 19:01:40 +01:00
Gabor Kiss-Vamosi
9b6516617b fix(img example) use dedicated function for anim. callback 2021-02-22 11:23:24 +01:00
Gabor Kiss-Vamosi
8572cb10c6 fix(img) fix image drawing with padding 2021-02-19 18:42:20 +01:00
Gabor Kiss-Vamosi
ca4f11e9f4 add the prototypes of the examples 2021-02-19 18:19:32 +01:00
Gabor Kiss-Vamosi
02c19eacab fix warnings and make tests working 2021-02-14 22:07:38 +01:00
Gabor Kiss-Vamosi
bb08660cb6 minor fixes 2021-02-14 14:56:34 +01:00
Gabor Kiss-Vamosi
7bec13c2b9 update asserts 2021-02-08 09:53:03 +01:00