3 import com.nokia.meego 1.1
8 property int mode: Camera.ImageMode
9 property Camera cam: null
10 property Item dimmer: null
11 property alias animationRunning: animation.running
19 controller.mode = mode;
22 NumberAnimation { target: dimmer; property: "opacity"; from: 0; to: 1; duration: 250; alwaysRunToEnd: true }
24 ScriptAction { script: animation.setMode(); }
25 PauseAnimation { duration: 100 }
28 NumberAnimation { target: dimmer; property: "opacity"; from: 1; to: 0; duration: 250; alwaysRunToEnd: true }
31 function set(newMode) {
32 if (mode == newMode) {
38 animation.mode = newMode;