feat: camera window

This commit is contained in:
2026-11-08 02:13:07 +01:00
parent 1cddc20bb6
commit 13698336dd
4 changed files with 180 additions and 7 deletions

View File

@@ -1,10 +1,15 @@
import { Button, VerticalBox } from "std-widgets.slint";
export component AppWindow inherits Window {
in property <image> video-frame <=> image.source;
VerticalBox {
Text {
text: "Welcome to winf-photobooth";
}
x: root.safe-area-insets.left;
y: root.safe-area-insets.top;
width: root.width - root.safe-area-insets.left - root.safe-area-insets.right;
height: root.height - root.safe-area-insets.top - root.safe-area-insets.bottom;
image := Image {}
}
}