1786013766

This commit is contained in:
2026-08-06 12:56:06 +02:00
parent 3f0719e479
commit 67282c4a95
4 changed files with 56 additions and 83 deletions

View File

@@ -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);