Commit graph

21 commits

Author SHA1 Message Date
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
Rafael Caricio e6140c55c8 Improve refresh performance 2020-05-31 00:06:28 +02:00
Rafael Caricio 40b431c1c7 Update code snippet picture in readme 2020-05-30 09:32:27 +02:00
Rafael Caricio 87398af042 Use no_std in sys 2020-05-30 07:40:13 +02:00
Rafael Caricio 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
Rafael Caricio 63a160d54e Make it not tied to a color scheme 2020-05-27 22:37:22 +02:00
Rafael Caricio 6d7d00759b Use Rgb565 as default 2020-04-21 10:52:21 +02:00
Rafael Caricio 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
Rafael Caricio 7bf1ac0cae Update display label in demo app 2020-04-18 23:11:52 +02:00
Rafael Caricio bd91097ecd Improvements in the bindings 2020-04-18 19:20:38 +02:00
Rafael Caricio 3aed1c3075 Update smartwatch example 2020-04-17 09:48:27 +02:00
Rafael Caricio 481b9ba7bc Change style using high level structures 2020-04-14 21:33:34 +02:00
Rafael Caricio cd0e9e7f5f Turn to watchface demo 2020-04-13 20:52:06 +02:00
Rafael Caricio df8b8b4277 Improved demo 2020-04-13 00:25:51 +02:00
Rafael Caricio 4b3814d6e9 Null terminated string in demo 2020-04-12 21:18:07 +02:00
Rafael Caricio 5474917c5a Configurable lv_conf.h file 2020-04-12 20:37:26 +02:00
Rafael Caricio b073ea0b34 Demo image in README 2020-04-12 12:32:18 +02:00
Rafael Caricio 8455e28a82 Initial Rust-y API 2020-04-12 12:19:28 +02:00
Rafael Caricio 32789020a6 Remove unused imports 2020-04-11 21:21:45 +02:00
Rafael Caricio 633b076e38 Example draws widgets 2020-04-11 19:39:20 +02:00
Rafael Caricio df0ff1f8eb Completely unsafe example using SDL2 2020-04-11 13:06:16 +02:00