summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius ┼átikonas <[email protected]>2017-06-25 21:47:02 +0100
committerAndrius ┼átikonas <[email protected]>2017-06-25 21:47:02 +0100
commit8e63c1e2e26cd19fcc9a257761c7a2ca4833bf86 (patch)
tree2edf8f39569b52e443f3dd230b5b64b0b37f2e63
parent8fb4a3808d98c352bb16627f01dffad22eb59b40 (diff)
Restore board labels in QML.
-rw-r--r--mainwindow.h1
-rw-r--r--qml/Board.qml7
2 files changed, 7 insertions, 1 deletions
diff --git a/mainwindow.h b/mainwindow.h
index 76d4ab0..05e3ff7 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -98,6 +98,5 @@ private:
enum { common = 1, black, white };
QLabel *m_statusBarLabel[4];
-
};
#endif
diff --git a/qml/Board.qml b/qml/Board.qml
index 98b8dbc..84cf724 100644
--- a/qml/Board.qml
+++ b/qml/Board.qml
@@ -101,6 +101,13 @@ Item {
cells.itemAt(row * Globals.COLUMN_COUNT + column).chipPreAnimationTime = value
}
+ CanvasItem {
+ id: boardLabels
+ anchors.fill: parent
+ visible: isShowingLabels
+ spriteKey: "board_numbers"
+ }
+
Item {
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter