# HG changeset patch
# User sheepluva
# Date 1462129785 -7200
# Node ID bcba7938ccb50b93af2dae934dd3e934b9028b9d
# Parent 0aa4b3d02cba3e06789072c46d1fb2079904bdbe
qmlfrontend/map-preview: add hog count display thingy (only displays "?" for now)
diff -r 0aa4b3d02cba -r bcba7938ccb5 qmlFrontend/qml/qmlFrontend/GameConfig.qml
--- a/qmlFrontend/qml/qmlFrontend/GameConfig.qml Sun May 01 15:58:19 2016 +0200
+++ b/qmlFrontend/qml/qmlFrontend/GameConfig.qml Sun May 01 21:09:45 2016 +0200
@@ -57,6 +57,27 @@
cache: true
source: "qrc:/res/iconTime.png"
}
+
+ Image {
+ id: hogCountBackground
+ x: 216
+ y: 6
+ width: 41
+ height: 21
+ cache: true
+ source: "qrc:/res/hogCntBg.png"
+ }
+
+ Text {
+ id: hogCount
+ x: 230
+ y: 10
+ text: "?"
+ horizontalAlignment: Text.AlignHRight
+ font.family: "MS Shell Dlg"
+ font.pixelSize: 12
+ color: "#ffcc00"
+ }
}
HWComboBox {
diff -r 0aa4b3d02cba -r bcba7938ccb5 qmlFrontend/qml/qmlFrontend/HWButton.qml
--- a/qmlFrontend/qml/qmlFrontend/HWButton.qml Sun May 01 15:58:19 2016 +0200
+++ b/qmlFrontend/qml/qmlFrontend/HWButton.qml Sun May 01 21:09:45 2016 +0200
@@ -36,7 +36,7 @@
PropertyChanges {
target: hwbutton
- border.color: "#ea761d"
+ border.color: "#ffcc00"
}
}]
}
diff -r 0aa4b3d02cba -r bcba7938ccb5 qmlFrontend/qmlFrontend.qrc
--- a/qmlFrontend/qmlFrontend.qrc Sun May 01 15:58:19 2016 +0200
+++ b/qmlFrontend/qmlFrontend.qrc Sun May 01 21:09:45 2016 +0200
@@ -13,5 +13,6 @@
qml/qmlFrontend/Multiplayer.qml
res/iconTime.png
res/prevBg.png
+ res/hogCntBg.png
diff -r 0aa4b3d02cba -r bcba7938ccb5 qmlFrontend/res/hogCntBg.png
Binary file qmlFrontend/res/hogCntBg.png has changed