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.
24 lines
650 B
Text
24 lines
650 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 }
|
|
|
|
// Running the demo with this file will run it in both portrait and with a UI designed
|
|
// for the Slint software renderer backend.
|
|
export component AppWindow inherits Window {
|
|
preferred-height: 1024px;
|
|
preferred-width: 600px;
|
|
|
|
MainScreen {
|
|
door-component-loaded: false;
|
|
initial-door-state: open;
|
|
}
|
|
|
|
init => {
|
|
AppState.graphics-accelerator-available = false;
|
|
}
|
|
|
|
}
|