Commit graph

101 commits

Author SHA1 Message Date
311c8c6cc9 Last version with clang dep 2020-06-13 20:31:24 +02:00
36bae837f8 Let users deal with Errors 2020-06-07 20:50:45 +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
469fdf2508 Remove code duplication 2020-06-05 22:36:15 +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
461da8814c Move object related types to its own module 2020-06-04 20:47:40 +02:00
e8757f74de Move align conversion to Into<u8> trait impl 2020-06-04 20:47:40 +02:00
52e31496c6 Update Bar example 2020-06-04 20:47:40 +02:00
c494d8fac0 Generate code for styles properties 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
9ec78a70cb Add info about what is implemented to the README 2020-06-02 09:39:02 +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
2dd59d212d Clarify the display flush procedure 2020-05-31 13:28:02 +02:00
a72622e1c8 Set style can be part of the trait definition 2020-05-31 12:39:47 +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
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
5fd2152bea Release 0.2.1 2020-05-31 00:07:49 +02:00
e6140c55c8 Improve refresh performance 2020-05-31 00:06:28 +02:00
9f1be5b1f4 Faster rendering of UI using iter 2020-05-30 21:12:23 +02:00
ae71ea9f9b Version 0.2.0 2020-05-30 17:19:30 +02:00
47ec536a10 Support running on embedded 2020-05-30 16:31:01 +02:00
40b431c1c7 Update code snippet picture in readme 2020-05-30 09:32:27 +02:00
893f0054c8
API re-design (#9)
* New API test using std/alloc objects

* Use RefCell to create multiple mut refs

* UI saves display obj, makes possible for global call to active display

* Reflect restrictions of LvGL

* No need for manual nul byte

* Fix typo
2020-05-30 00:25:27 +02:00
63a160d54e Make it not tied to a color scheme 2020-05-27 22:37:22 +02:00
6d7d00759b Use Rgb565 as default 2020-04-21 10:52:21 +02:00
7578e6c20c
Integrate embeddedgraphics (#2)
* Attempt to print to device

* Send device as data

* Specific color mode

* Example using lvgl mixed with embedded graphics
2020-04-19 15:40:03 +02:00
bd91097ecd Improvements in the bindings 2020-04-18 19:20:38 +02:00
3aed1c3075 Update smartwatch example 2020-04-17 09:48:27 +02:00
1cea84fb87 Make styles clonable 2020-04-15 09:50:25 +02:00
481b9ba7bc Change style using high level structures 2020-04-14 21:33:34 +02:00
cd0e9e7f5f Turn to watchface demo 2020-04-13 20:52:06 +02:00
c5282439d9 Use macros to reduce boilerplate code 2020-04-13 16:42:05 +02:00
5b82ae6266 Remove dyn dispatch 2020-04-13 16:20:45 +02:00
79c7b23bed Use traits to abstract behaviour 2020-04-13 16:15:50 +02:00
f8f84002c6 Positioning related methods 2020-04-13 01:49:23 +02:00
df8b8b4277 Improved demo 2020-04-13 00:25:51 +02:00
5474917c5a Configurable lv_conf.h file 2020-04-12 20:37:26 +02:00
82a0b4b2ef Remove direct dependencies 2020-04-12 13:57:17 +02:00
8455e28a82 Initial Rust-y API 2020-04-12 12:19:28 +02:00
e5c73143d0 Make bindings no_std compatible 2020-04-11 20:35:33 +02:00
d71b8097a4 Compile lvgl using cargo 2020-04-10 19:12:10 +02:00