Add qml/Main.qml
This commit is contained in:
parent
d918406cf5
commit
5a3c298225
34
qml/Main.qml
Normal file
34
qml/Main.qml
Normal file
@ -0,0 +1,34 @@
|
||||
import QtQuick
|
||||
import QtQuick.Window
|
||||
import QtQuick.Controls
|
||||
import XMB 1.0
|
||||
|
||||
Window {
|
||||
id: win
|
||||
width: 1280
|
||||
height: 720
|
||||
visible: true
|
||||
color: "#0b1020"
|
||||
title: "XMB Frontend"
|
||||
|
||||
// Fullscreen optional per CLI; QML bleibt kompatibel mit Gamescope.
|
||||
// win.visibility = Window.FullScreen
|
||||
|
||||
BootLoader {
|
||||
id: boot
|
||||
anchors.fill: parent
|
||||
onFinished: stack.currentIndex = 1
|
||||
}
|
||||
|
||||
StackLayout {
|
||||
id: stack
|
||||
anchors.fill: parent
|
||||
currentIndex: 0
|
||||
|
||||
Item { } // Boot placeholder
|
||||
|
||||
XmbRoot {
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user