Commit graph

76 commits

Author SHA1 Message Date
Jay Jackson faa3a19215 bump versions 2022-05-17 22:52:57 +02:00
Jay Jackson ade4ae5a2d fix clippy warnings 2022-05-17 22:52:57 +02:00
Jay Jackson 37950d6e2e windows support 2022-05-17 22:52:57 +02:00
Sam Jones 763b78e45d Implement Clone for Style 2022-03-22 15:17:17 +01:00
Rafael Caricio 56cb470dc8 Remove lazy_static dependency 2021-05-26 20:55:38 +02:00
Rafael Caricio 043bb52881 Add LVGL Rust Global Allocator feature 2021-05-26 20:55:38 +02:00
Rafael Caricio 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
Rafael Caricio 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
Rafael Caricio d699101afe Format code 2021-03-07 18:32:27 +01:00
Rafael Caricio f60d8d999b Upgrade LVGL vendored to v7.10.1 2021-03-07 18:32:27 +01:00
Rafael Caricio ab8b8ae05f
Remove usage of deprecated method 2021-03-07 18:03:45 +01:00
Rafael Caricio 9b9ea48920 Add some initial formating to docs page 2021-03-07 16:34:11 +01:00
Rafael Caricio 8fe36f6102 Expose RGB values from Color 2020-08-27 11:40:08 +02:00
Rafael Caricio adee5994dc Simplify code 2020-06-19 15:48:44 +02:00
Rafael Caricio 60c3fc7ed7 Fix comment misconception 2020-06-19 15:48:44 +02:00
Rafael Caricio 6a9bd2d87f Fix UB, the value in MaybeUninit was being dropped 2020-06-19 15:48:44 +02:00
Rafael Caricio e3fd8d5736 LVGL handles zero sized 2020-06-19 15:48:44 +02:00
Rafael Caricio 3e7e056da6 Some additional checks on using LVGL heap memory allocator 2020-06-19 15:48:44 +02:00
Rafael Caricio e70ba3a752 Incorporate clippy suggestions 2020-06-19 15:48:44 +02:00
Rafael Caricio 38d7a0e974 Clean up 2020-06-19 15:48:44 +02:00
Rafael Caricio 46562f23cf Revert display buffer allocation to use LVGL backed Box 2020-06-19 15:48:44 +02:00
Rafael Caricio 8b2879f93b Remove alloc dependency 2020-06-19 15:48:44 +02:00
Rafael Caricio 657640d206 First step in removing dependency on alloc crate 2020-06-19 15:48:44 +02:00
Rafael Caricio 74ae3a8b5b Use bindgen output to generate code 2020-06-14 11:10:29 +02:00
Rafael Caricio 67cbca4942 Generate methods with str as argument 2020-06-13 20:31:24 +02:00
Rafael Caricio de9b6512a7 Generate all widgets 2020-06-13 20:31:24 +02:00
Rafael Caricio d970deaa9d Use lvgl-codegen 2020-06-13 20:31:24 +02:00
Rafael Caricio f0ec94cbf9 Use generated widgets 2020-06-13 20:31:24 +02:00
Rafael Caricio 55f206e2cd Fix allocation 2020-06-13 20:31:24 +02:00
Rafael Caricio 311c8c6cc9 Last version with clang dep 2020-06-13 20:31:24 +02:00
Rafael Caricio 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
Rafael Caricio 25efb6da91 Simplify object creation 2020-06-05 23:22:21 +02:00
Rafael Caricio 88d7d426ca Keep consistent naming with LVGL 2020-06-05 22:47:13 +02:00
Rafael Caricio 469fdf2508 Remove code duplication 2020-06-05 22:36:15 +02:00
Rafael Caricio 5015711141 Add Gauge widget 2020-06-04 23:09:54 +02:00
Rafael Caricio 66d98430d8 Use Opacity type 2020-06-04 21:29:21 +02:00
Rafael Caricio 3788b4c66b Fix examples 2020-06-04 20:47:40 +02:00
Rafael Caricio 461da8814c Move object related types to its own module 2020-06-04 20:47:40 +02:00
Rafael Caricio e8757f74de Move align conversion to Into<u8> trait impl 2020-06-04 20:47:40 +02:00
Rafael Caricio 52e31496c6 Update Bar example 2020-06-04 20:47:40 +02:00
Rafael Caricio c494d8fac0 Generate code for styles properties 2020-06-04 20:47:40 +02:00
Rafael Caricio 63e33d052f Remove some UB 2020-06-02 19:59:41 +02:00
Rafael Caricio 11695e20c1 Rename ObjectX to GenericObject 2020-06-02 19:21:44 +02:00
Rafael Caricio 9ec78a70cb Add info about what is implemented to the README 2020-06-02 09:39:02 +02:00
Rafael Caricio 532cf3cf1b Support more styling options 2020-06-01 22:45:33 +02:00
Rafael Caricio 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
Rafael Caricio b8a559a6cf Make it possible to send events 2020-05-31 19:24:45 +02:00
Rafael Caricio 0349f1c77a Make it possible to define event callbacks 2020-05-31 18:48:17 +02:00