mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-27 13:54:11 +00:00

Adds: Kiosk mode. After 30 seconds demo will cycle through views. Landscape support. { API } to work with the new data tab in live-preview. SW Renderer support (use of PNG images over gradients, Rectangles, shadows, etc). Removes side-bar and theming. Refreshed look.
21 lines
504 B
Text
21 lines
504 B
Text
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
import { MainScreen } from "components/mainView/mainScreen.slint";
|
|
import { AppState } from "appState.slint";
|
|
import { Api } from "api.slint";
|
|
|
|
export { Api }
|
|
|
|
export component AppWindow inherits Window {
|
|
preferred-width: 960px;
|
|
preferred-height: 540px;
|
|
|
|
MainScreen {
|
|
door-component-loaded: false;
|
|
initial-door-state: open;
|
|
}
|
|
|
|
init => {
|
|
AppState.disable-kiosk-mode = true;
|
|
}
|
|
}
|