|
|
|
@ -126,9 +126,11 @@ ApplicationWindow {
|
|
|
|
|
onClicked: parent.forceActiveFocus()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FontLoader { id: localFont; source: "qrc:///fonts/DroidSansFallback.ttf" }
|
|
|
|
|
|
|
|
|
|
Text {
|
|
|
|
|
id: gameName
|
|
|
|
|
font.family: "Sans-serif"
|
|
|
|
|
font.family: localFont.name
|
|
|
|
|
font.pixelSize: 55
|
|
|
|
|
font.bold: true
|
|
|
|
|
text: "2048"
|
|
|
|
@ -151,7 +153,7 @@ ApplicationWindow {
|
|
|
|
|
text: (index == 0) ? qsTr("SCORE") : qsTr("BEST")
|
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
|
y: 7
|
|
|
|
|
font.family: "Sans-serif"
|
|
|
|
|
font.family: localFont.name
|
|
|
|
|
font.pixelSize: 13
|
|
|
|
|
color: helper.myColors.fglight
|
|
|
|
|
}
|
|
|
|
@ -159,7 +161,7 @@ ApplicationWindow {
|
|
|
|
|
text: scoreText
|
|
|
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
|
y: 25
|
|
|
|
|
font.family: "Sans-serif"
|
|
|
|
|
font.family: localFont.name
|
|
|
|
|
font.pixelSize: 25
|
|
|
|
|
font.bold: true
|
|
|
|
|
color: "white"
|
|
|
|
@ -169,7 +171,7 @@ ApplicationWindow {
|
|
|
|
|
|
|
|
|
|
Text {
|
|
|
|
|
id: addScoreText
|
|
|
|
|
font.family: "Sans-serif"
|
|
|
|
|
font.family: localFont.name
|
|
|
|
|
font.pixelSize: 25
|
|
|
|
|
font.bold: true
|
|
|
|
|
color: Qt.rgba(119/255, 110/255, 101/255, 0.9);
|
|
|
|
@ -210,7 +212,7 @@ ApplicationWindow {
|
|
|
|
|
height: 40
|
|
|
|
|
text: qsTr("Join the numbers and get to the <b>2048 tile</b>!")
|
|
|
|
|
color: helper.myColors.fgdark
|
|
|
|
|
font.family: "Sans-serif"
|
|
|
|
|
font.family: localFont.name
|
|
|
|
|
font.pixelSize: 16
|
|
|
|
|
verticalAlignment: Text.AlignVCenter
|
|
|
|
|
}
|
|
|
|
@ -229,7 +231,7 @@ ApplicationWindow {
|
|
|
|
|
anchors.centerIn: parent
|
|
|
|
|
text: qsTr("New Game")
|
|
|
|
|
color: helper.myColors.fgbutton
|
|
|
|
|
font.family: "Sans-serif"
|
|
|
|
|
font.family: localFont.name
|
|
|
|
|
font.pixelSize: 18
|
|
|
|
|
font.bold: true
|
|
|
|
|
}
|
|
|
|
|