qmlFrontend/qml/qmlFrontend/LocalGame.qml
author sheepluva
Sun, 01 May 2016 21:09:45 +0200
branchqmlfrontend
changeset 11787 bcba7938ccb5
parent 11426 ab6a6d9ebfc0
permissions -rw-r--r--
qmlfrontend/map-preview: add hog count display thingy (only displays "?" for now)

import QtQuick 2.0
import Hedgewars.Engine 1.0

Rectangle {
    HWButton {
        id: btnQuickGame
        x: 8
        y: 66
        width: 150
        height: 150

        onClicked: HWEngine.runQuickGame()
    }

    HWButton {
        id: btnMultiplayer
        x: 192
        y: 66
        width: 150
        height: 150

        onClicked: pages.currentPage = "Multiplayer"
    }

    HWButton {
        id: btnBack
        width: 40
        height: 40
        anchors.bottom: parent.bottom
        anchors.left: parent.left

        onClicked: pages.currentPage = "First"
    }
}