From 5a3c298225ae98cc168878c446f81e9ee4e60d6a Mon Sep 17 00:00:00 2001 From: milonekrone Date: Wed, 14 Jan 2026 16:02:23 +0100 Subject: [PATCH] Add qml/Main.qml --- qml/Main.qml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 qml/Main.qml diff --git a/qml/Main.qml b/qml/Main.qml new file mode 100644 index 0000000..36b832c --- /dev/null +++ b/qml/Main.qml @@ -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 + } + } +}