1
/* GCompris - DropTile.qml
3
* Copyright (C) 2016 RAHUL YADAV <rahulyadav170923@gmail.com>
6
* Pascal Georges <pascal.georges1@free.fr> (GTK+ version)
7
* RAHUL YADAV <rahulyadav170923@gmail.com> (Qt Quick port)
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 3 of the License, or
12
* (at your option) any later version.
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, see <https://www.gnu.org/licenses/>.
25
import "guesscount.js" as Activity
30
property var droppedItem
37
color: type == "operators" ? "#80F16F6F" : "#8075D21B" // red or green
39
border.color: type == "operators" ? "#FFF16F6F" : "#FF75D21B" // red or green
43
when: dragTarget.containsDrag
47
border.color: "#80FFFFFF"