13 lines
316 B
Rust
13 lines
316 B
Rust
|
slint::slint! {
|
||
|
import { MemoryTile } from "./components/memory_tile.slint";
|
||
|
|
||
|
export component MainWindow inherits Window {
|
||
|
MemoryTile {
|
||
|
icon: @image-url("../icons/bus.png");
|
||
|
clicked => {
|
||
|
self.open_curtain = !self.open_curtain;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|