Commit graph

158 commits

Author SHA1 Message Date
Rafael Caricio a72622e1c8 Set style can be part of the trait definition 2020-05-31 12:39:47 +02:00
Rafael Caricio b132edc6fc Move widgets to designated modules 2020-05-31 12:22:18 +02:00
Rafael Caricio cb8a78137d Possible to set values in the bar widget with animations 2020-05-31 12:07:24 +02:00
Rafael Caricio 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
Rafael Caricio 81d924e854
Create CODE_OF_CONDUCT.md 2020-05-31 00:13:57 +02:00
Rafael Caricio 5fd2152bea Release 0.2.1 2020-05-31 00:07:49 +02:00
Rafael Caricio e6140c55c8 Improve refresh performance 2020-05-31 00:06:28 +02:00
Rafael Caricio 9f1be5b1f4 Faster rendering of UI using iter 2020-05-30 21:12:23 +02:00
Rafael Caricio 05d04e79ee Update with build instructions and limitations 2020-05-30 20:24:35 +02:00
Rafael Caricio ae71ea9f9b Version 0.2.0 2020-05-30 17:19:30 +02:00
Rafael Caricio 1b2c5da5e7 Don't commit auto-generated code 2020-05-30 16:45:58 +02:00
Rafael Caricio 47ec536a10 Support running on embedded 2020-05-30 16:31:01 +02:00
Rafael Caricio af43dc2cf1 Sync code with image 2020-05-30 09:42:42 +02:00
Rafael Caricio e9469a825b Update images and links in README 2020-05-30 09:37:40 +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
Justin Moon 0129442513
Explain that example runs in a simulator (#4)
* Add README to 'demo' example

* Explain that demo runs in simulator
2020-05-15 12:54:31 +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 1cea84fb87 Make styles clonable 2020-04-15 09:50:25 +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 c5282439d9 Use macros to reduce boilerplate code 2020-04-13 16:42:05 +02:00
Rafael Caricio 5b82ae6266 Remove dyn dispatch 2020-04-13 16:20:45 +02:00
Rafael Caricio 79c7b23bed Use traits to abstract behaviour 2020-04-13 16:15:50 +02:00
Rafael Caricio f8f84002c6 Positioning related methods 2020-04-13 01:49:23 +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 0f0a87f3a4 Ignore target dir 2020-04-12 20:43:42 +02:00
Rafael Caricio 5474917c5a Configurable lv_conf.h file 2020-04-12 20:37:26 +02:00
Rafael Caricio 82a0b4b2ef Remove direct dependencies 2020-04-12 13:57:17 +02:00
Rafael Caricio e68275a7c8 Fix packaging with vendor location 2020-04-12 13:41:36 +02:00
Rafael Caricio 8da0d9ee80 Homepage link 2020-04-12 12:40:42 +02:00
Rafael Caricio 4aa46afeef Fix image in README 2020-04-12 12:34:03 +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 b7bf19d059
Update README.md 2020-04-12 10:10:04 +02:00
Rafael Caricio 98ad1ef01b
Update README.md 2020-04-12 10:08:55 +02:00
Rafael Caricio c31a5b3646
Update README.md 2020-04-12 10:08:16 +02:00
Rafael Caricio 819779e9ef
Update README.md 2020-04-12 10:03:02 +02:00
Rafael Caricio ec0cb80ea1 Update README based on original 2020-04-12 09:58:01 +02:00
Rafael Caricio 32789020a6 Remove unused imports 2020-04-11 21:21:45 +02:00
Rafael Caricio e5c73143d0 Make bindings no_std compatible 2020-04-11 20:35:33 +02:00
Rafael Caricio 633b076e38 Example draws widgets 2020-04-11 19:39:20 +02:00