Commit 6f6476a6 authored by Bruno Coudoin's avatar Bruno Coudoin
Browse files

findit, minor graphic improvement

parent a8199f72
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
*/ */
import QtQuick 2.1 import QtQuick 2.1
import QtGraphicalEffects 1.0
import GCompris 1.0 import GCompris 1.0
import "../../core" import "../../core"
...@@ -77,7 +78,7 @@ ActivityBase { ...@@ -77,7 +78,7 @@ ActivityBase {
delegate: ColorItem { delegate: ColorItem {
audioVoices: activity.audioVoices audioVoices: activity.audioVoices
source: model.image source: model.image
audioSrc: model.audio audioSrc: model.audio ? model.audio : ""
question: model.text question: model.text
sourceSize.height: itemHeight sourceSize.height: itemHeight
sourceSize.width: itemWidth sourceSize.width: itemWidth
...@@ -92,8 +93,8 @@ ActivityBase { ...@@ -92,8 +93,8 @@ ActivityBase {
font.pointSize: 24 font.pointSize: 24
font.weight: Font.DemiBold font.weight: Font.DemiBold
style: Text.Outline style: Text.Outline
styleColor: "white" styleColor: "black"
color: "black" color: "white"
function initQuestion() { function initQuestion() {
text = Activity.getCurrentTextQuestion() text = Activity.getCurrentTextQuestion()
...@@ -107,6 +108,18 @@ ActivityBase { ...@@ -107,6 +108,18 @@ ActivityBase {
Behavior on opacity { PropertyAnimation { duration: 500 } } Behavior on opacity { PropertyAnimation { duration: 500 } }
} }
DropShadow {
anchors.fill: questionItem
cached: true
horizontalOffset: 3
verticalOffset: 3
radius: 8.0
samples: 16
color: "#80000000"
source: questionItem
}
DialogHelp { DialogHelp {
id: dialogHelp id: dialogHelp
onClose: home() onClose: home()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment