Commit graph

165 commits

Author SHA1 Message Date
ac27d49c06
Make use of embedded_graphics optional 2021-06-06 16:17:29 +02:00
085495ebc4
Allow users to define a display refresh callback closure 2021-06-06 11:59:06 +02:00
bc7c06cc8c
Update default features to empty 2021-06-06 10:55:42 +02:00
de568593ef
Make DrawBuffer customizable using const generics 2021-06-04 22:29:29 +02:00
00e2004822
Allow to create statically allocated DrawBuffer 2021-06-04 21:39:29 +02:00
6ba1fcdaff
Make disp buffer and driver statically allocated 2021-06-03 18:48:24 +02:00
65286d950a
Update examples 2021-06-02 15:31:46 +02:00
bb249dcde1
Add required features 2021-06-02 01:32:45 +02:00
a6b55e2478
Add basic API functions 2021-06-02 01:32:25 +02:00
05d93409dc
Use ref 2021-06-02 01:31:48 +02:00
e99a2267de
Update demo app to use new api 2021-06-02 01:31:05 +02:00
c9180d6c83
Fix shared display 2021-06-02 01:30:39 +02:00
e6d231cafa
Possibility to register a shared native display 2021-06-01 22:08:37 +02:00
2326c1fbc5
Simplified API for display initialization 2021-05-31 00:34:12 +02:00
802504ff9d
Use old approach, write directly to DrawTarget 2021-05-30 00:51:25 +02:00
95c7f00e20
Revising the public API for better flexibility 2021-05-29 20:03:36 +02:00
56cb470dc8 Remove lazy_static dependency 2021-05-26 20:55:38 +02:00
043bb52881 Add LVGL Rust Global Allocator feature 2021-05-26 20:55:38 +02:00
a5ffa62013 lv_mem_monitor_t is not allocated by lv_mem_monitor function, we need to pass pointer to a valid memory address 2021-05-24 23:17:33 +02:00
348963b80d Upgrade to lvgl v7.10.1
- Clean up demo
- Remove warning from rustc
- Improve test of custom Box implementation
- Upgrade dep versions
2021-05-24 23:17:33 +02:00
Sam Jones
3791b211b8 Fix lvgl-sys not respecting DEP_LV_CONFIG_PATH 2021-05-19 14:24:01 +02:00
d699101afe Format code 2021-03-07 18:32:27 +01:00
f60d8d999b Upgrade LVGL vendored to v7.10.1 2021-03-07 18:32:27 +01:00
ab8b8ae05f
Remove usage of deprecated method 2021-03-07 18:03:45 +01:00
9b9ea48920 Add some initial formating to docs page 2021-03-07 16:34:11 +01:00
7f5bec7366 Release 0.5.2 2021-03-07 00:34:19 +01:00
3f226e94a4 Release 0.5.1 2021-03-06 23:39:31 +01:00
bcd771df47 Disable lvgl original comments in bindings
We disable the comments generation here because some comments
cause the `cargo test` command to fail. Some of the original
comments have invalid tokens like `TYPEDEFS` causing issues.
We should recommend users to look the original comments in the
original lvgl in their C API docs.
2021-03-06 21:50:39 +01:00
da8bae1f55 Fix build in Docs.rs 2021-03-06 21:50:39 +01:00
Jai A
d3a2a9eff3 Fix compile error 2021-02-15 18:58:36 +01:00
Ralf Weinbrecher
65b68e0f7c Update README: Added a hint to install sdl2 before running the demos on macOS 2020-11-17 19:48:56 +01:00
81cb1bee4c Compile to WASM using emscripten 2020-09-22 20:54:47 +02:00
8fe36f6102 Expose RGB values from Color 2020-08-27 11:40:08 +02:00
d442ab99cc Release 0.4.0 2020-06-19 18:55:30 +02:00
f4618fd635 Simplify examples, don't use threads 2020-06-19 15:48:44 +02:00
385fc6b764 Remove threads from bar example 2020-06-19 15:48:44 +02:00
0761e36c76 Run apt-get update in CI 2020-06-19 15:48:44 +02:00
ef94e5d5d4 Install SDL2 2020-06-19 15:48:44 +02:00
a1aec89456 Checkout submodules in GH actions 2020-06-19 15:48:44 +02:00
98ae8e0ced Update readme to remove alloc reference 2020-06-19 15:48:44 +02:00
52fafecdde Remove unused dependencies 2020-06-19 15:48:44 +02:00
64527c3f2a Fix examples 2020-06-19 15:48:44 +02:00
adee5994dc Simplify code 2020-06-19 15:48:44 +02:00
60c3fc7ed7 Fix comment misconception 2020-06-19 15:48:44 +02:00
6a9bd2d87f Fix UB, the value in MaybeUninit was being dropped 2020-06-19 15:48:44 +02:00
e3fd8d5736 LVGL handles zero sized 2020-06-19 15:48:44 +02:00
3e7e056da6 Some additional checks on using LVGL heap memory allocator 2020-06-19 15:48:44 +02:00
e70ba3a752 Incorporate clippy suggestions 2020-06-19 15:48:44 +02:00
38d7a0e974 Clean up 2020-06-19 15:48:44 +02:00
46562f23cf Revert display buffer allocation to use LVGL backed Box 2020-06-19 15:48:44 +02:00