11431
|
1 |
import QtQuick 2.0
|
|
2 |
import Hedgewars.Engine 1.0
|
|
3 |
|
|
4 |
Item {
|
|
5 |
GameConfig {
|
|
6 |
anchors.left: parent.left
|
|
7 |
anchors.top: parent.top
|
|
8 |
anchors.right: parent.right
|
|
9 |
anchors.bottom: btnRunGame.top
|
|
10 |
}
|
|
11 |
|
|
12 |
HWButton {
|
|
13 |
id: btnBack
|
|
14 |
width: 40
|
|
15 |
height: 40
|
|
16 |
anchors.bottom: parent.bottom
|
|
17 |
anchors.left: parent.left
|
|
18 |
|
|
19 |
onClicked: pages.currentPage = "LocalGame"
|
|
20 |
}
|
|
21 |
|
|
22 |
HWButton {
|
|
23 |
id: btnRunGame
|
|
24 |
width: 40
|
|
25 |
height: 40
|
|
26 |
anchors.bottom: parent.bottom
|
|
27 |
anchors.right: parent.right
|
|
28 |
|
|
29 |
onClicked: HWEngine.runLocalGame()
|
|
30 |
}
|
|
31 |
}
|
|
32 |
|