feat: camera window
This commit is contained in:
@@ -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 {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user