oboy/src/qt/BackgroundMap.qml

20 lines
382 B
QML
Raw Normal View History

2016-04-18 23:06:17 +02:00
import QtQuick 2.4
import QtQuick.Window 2.0
Window {
title: "Background maps"
// A background map is 32 x 32 tiles.
// Each tile is 8 x 8 pixels.
2016-08-10 00:05:10 +02:00
width: 32 * (16 + 1) + 1
height: 32 * (16 + 1) + 1
2016-04-18 23:06:17 +02:00
maximumWidth: width
minimumWidth: width
maximumHeight: height
minimumHeight: height
BackgroundMapForm {
anchors.fill: parent
}
}