qmlfrontend/main.qml
author unC0Rr
Wed, 28 Aug 2024 13:41:51 +0200
changeset 16020 9be943326d9c
parent 16012 caba603f461f
permissions -rw-r--r--
Store all snowflakes in a separate array, achieving performance increase of about 10% for the whole engine on winter maps
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16012
caba603f461f Allow to move camera by dragging mouse cursor over game field
unC0Rr
parents: 14143
diff changeset
     1
import QtQuick
caba603f461f Allow to move camera by dragging mouse cursor over game field
unC0Rr
parents: 14143
diff changeset
     2
import QtQuick.Controls
caba603f461f Allow to move camera by dragging mouse cursor over game field
unC0Rr
parents: 14143
diff changeset
     3
import QtQuick.Layouts
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
ApplicationWindow {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     6
  visible: true
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
  width: 640
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     8
  height: 480
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     9
  title: qsTr("Hello World")
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    10
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    11
  SwipeView {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    12
    id: swipeView
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    13
    anchors.fill: parent
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    14
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
    Page1 {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    16
    }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    17
  }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    18
}