Commit graph

73 commits

Author SHA1 Message Date
f9ef4badb8
Update app example 2021-06-06 16:27:23 +02:00
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
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
65286d950a
Update examples 2021-06-02 15:31:46 +02:00
e99a2267de
Update demo app to use new api 2021-06-02 01:31:05 +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
043bb52881 Add LVGL Rust Global Allocator feature 2021-05-26 20:55:38 +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
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
64527c3f2a Fix examples 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
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
8b2879f93b Remove alloc dependency 2020-06-19 15:48:44 +02:00
657640d206 First step in removing dependency on alloc crate 2020-06-19 15:48:44 +02:00
3c8f892c19 Fix examples 2020-06-14 16:16:59 +02:00
0e256957ba Fix UB 2020-06-13 20:31:24 +02:00
b0113fc747 Update readme 2020-06-13 20:31:24 +02:00
de9b6512a7 Generate all widgets 2020-06-13 20:31:24 +02:00
335261ed6e Fix examples 2020-06-07 20:50:45 +02:00
36bae837f8 Let users deal with Errors 2020-06-07 20:50:45 +02:00
Jakub Clark
80d976ac1f Remove unused directory 2020-06-06 09:27:53 +02:00
Jakub Clark
546781f1f6 Add arc widget 2020-06-06 09:27:53 +02:00
25efb6da91 Simplify object creation 2020-06-05 23:22:21 +02:00
88d7d426ca Keep consistent naming with LVGL 2020-06-05 22:47:13 +02:00
5015711141 Add Gauge widget 2020-06-04 23:09:54 +02:00
66d98430d8 Use Opacity type 2020-06-04 21:29:21 +02:00
3788b4c66b Fix examples 2020-06-04 20:47:40 +02:00
52e31496c6 Update Bar example 2020-06-04 20:47:40 +02:00
93a7fd4316 Enable use by lvgl-rs of v7.0.1 of LVGL 2020-06-04 20:47:40 +02:00
59c567ae1c LVGL 7.0.1 basic setup 2020-06-04 20:47:40 +02:00
63e33d052f Remove some UB 2020-06-02 19:59:41 +02:00
11695e20c1 Rename ObjectX to GenericObject 2020-06-02 19:21:44 +02:00
532cf3cf1b Support more styling options 2020-06-01 22:45:33 +02:00
3faec0e2b1 Panics if C code freed the raw widget pointer 2020-06-01 19:54:35 +02:00
Kuba Clark
fcdf803ab7
Possible to set style for bar components (#14) 2020-05-31 20:52:05 +02:00
b8a559a6cf Make it possible to send events 2020-05-31 19:24:45 +02:00
0349f1c77a Make it possible to define event callbacks 2020-05-31 18:48:17 +02:00
b132edc6fc Move widgets to designated modules 2020-05-31 12:22:18 +02:00
cb8a78137d Possible to set values in the bar widget with animations 2020-05-31 12:07:24 +02:00
e0e3924789 Small improvements in bar example 2020-05-31 09:30:26 +02:00
Kuba Clark
2fae95bdfb
Bar widget (#12)
* Implement simple bar widget

* Make it easier to create new examples

* Add bar example

* Add README to examples

* Remove unnecessary imports
2020-05-31 09:12:37 +02:00