1786013766
This commit is contained in:
10
src/main.rs
10
src/main.rs
@@ -3,10 +3,14 @@ mod trekstor;
|
||||
|
||||
use crate::trekstor::Trekstor;
|
||||
|
||||
fn main() {
|
||||
let mut trekstor = Trekstor::new(30);
|
||||
slint::include_modules!();
|
||||
|
||||
trekstor.update();
|
||||
fn main() -> Result<(), slint::PlatformError> {
|
||||
slint::platform::set_platform(Box::new(Trekstor::new())).expect("set platform");
|
||||
|
||||
let ui = AppWindow::new()?;
|
||||
|
||||
ui.run()
|
||||
|
||||
// let red = (255, 0, 0, 255);
|
||||
// let green = (0, 255, 0, 255);
|
||||
|
||||
Reference in New Issue
Block a user