/* SPDX-FileCopyrightText: 2021 Michail Vourlakos SPDX-License-Identifier: GPL-2.0-or-later */ import QtQuick 2.7 Item { id: level signal mousePressed(int x, int y, int button); signal mouseReleased(int x, int y, int button); property bool isBackground: true property bool isForeground: false property bool isDrawn: false readonly property Item requested: Item{ property int iconOffsetX: 0 property int iconOffsetY: 0 } property Item indicator: null onIsBackgroundChanged: { isForeground = !isBackground; } onIsForegroundChanged: { isBackground = !isForeground; } }