qmlFrontend/qml/qmlFrontend/Multiplayer.qml
author unc0rr
Fri, 05 Jan 2018 21:43:33 +0100
branchqmlfrontend
changeset 12882 c9418f57fcbc
parent 11431 ab6a6d9ebfc0
permissions -rw-r--r--
Comment out functions that don't need to be called for engine in frontend window

import QtQuick 2.0
import Hedgewars.Engine 1.0

Item {
    GameConfig {
        anchors.left: parent.left
        anchors.top: parent.top
        anchors.right: parent.right
        anchors.bottom: btnRunGame.top
    }

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

        onClicked: pages.currentPage = "LocalGame"
    }

    HWButton {
        id: btnRunGame
        width: 40
        height: 40
        anchors.bottom: parent.bottom
        anchors.right: parent.right

        onClicked: HWEngine.runLocalGame()
    }
}