Move the existing launcher into legacy/

git mv of everything (web/ android/ qt/ wasi/ android-wasm/ tests/ ci/ pixi.toml
README) so history follows; legacy/ keeps its own .gitignore and a new root
.gitignore starts for the MoonBit project.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
SpriteandClaude Sonnet 5.5 committed 2026-11-23 00:55:15 +00:00
1 parent 7d2bf5996f
commit 66e8e90da1
88 files changed
+138 -10

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
import QtQuick
// A rounded text button: "ghost" (clear until pressed) or "primary" (filled).
Rectangle {
id: root
property alias text: label.text
property bool primary: false
property real fontSize: 14
signal clicked()
implicitWidth: label.implicitWidth + 28
implicitHeight: 36
radius: height / 2
color: primary ? (area.pressed ? "#d4d4d8" : "white")
: (area.pressed ? Qt.rgba(1, 1, 1, .18) : "transparent")
Text {
id: label
anchors.centerIn: parent
color: root.primary ? "#111" : "white"
font.pixelSize: root.fontSize
font.weight: Font.Medium
}
MouseArea {
id: area
anchors.fill: parent
onClicked: root.clicked()
}
}