qmlfrontend/map-preview: add hog count display thingy (only displays "?" for now) qmlfrontend
authorsheepluva
Sun, 01 May 2016 21:09:45 +0200
branchqmlfrontend
changeset 11792 bcba7938ccb5
parent 11791 0aa4b3d02cba
child 11832 8c71c5a1172f
qmlfrontend/map-preview: add hog count display thingy (only displays "?" for now)
qmlFrontend/qml/qmlFrontend/GameConfig.qml
qmlFrontend/qml/qmlFrontend/HWButton.qml
qmlFrontend/qmlFrontend.qrc
qmlFrontend/res/hogCntBg.png
--- 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 {
--- 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"
             }
     }]
 }
--- 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 @@
         <file>qml/qmlFrontend/Multiplayer.qml</file>
         <file>res/iconTime.png</file>
         <file>res/prevBg.png</file>
+        <file>res/hogCntBg.png</file>
     </qresource>
 </RCC>
Binary file qmlFrontend/res/hogCntBg.png has changed