X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=resources%2Fscripts%2Fsuper-blur-view.json;h=d8b1de6e047502234cf0a72f806203ea4bff42ea;hb=38b87ec05860401c3dcbf20d047aa0b55ea5841a;hp=a273fc62a71a21ab36fba3e03566944ab1afed90;hpb=3429cdb9f1fc3864dff4505bf42012e2f09fb6f4;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/resources/scripts/super-blur-view.json b/resources/scripts/super-blur-view.json index a273fc6..d8b1de6 100644 --- a/resources/scripts/super-blur-view.json +++ b/resources/scripts/super-blur-view.json @@ -22,10 +22,10 @@ "blur": { "duration": 1, "properties": [{ - "actor": "super-blur", - "property": "blur-strength", + "actor": "superBlur", + "property": "blurStrength", "value": 1, - "time-period": { + "timePeriod": { "delay": 0, "duration": 1 } @@ -34,10 +34,10 @@ "clear": { "duration": 1, "properties": [{ - "actor": "super-blur", - "property": "blur-strength", + "actor": "superBlur", + "property": "blurStrength", "value": 0, - "time-period": { + "timePeriod": { "delay": 0, "duration": 1 } @@ -48,44 +48,23 @@ // SuperBlurView { "type": "SuperBlurView", - "name": "super-blur", - "parent-origin": "TOP_CENTER", - "anchor-point": "TOP_CENTER", - "position": [0, 10, 0], - "size": [460, 600, 0], - "image": { - "filename": "{DALI_IMAGE_DIR}background-4.jpg" - } + "name": "superBlur", + "parentOrigin": "TOP_CENTER", + "anchorPoint": "TOP_CENTER", + "size": [800, 1280, 0], + "imageUrl": "{DEMO_IMAGE_DIR}background-4.jpg" }, // Button to blur/clear { "type": "PushButton", - "name": "toggle-button", - "parent-origin": "BOTTOM_CENTER", - "anchor-point": "BOTTOM_CENTER", + "name": "toggleButton", + "parentOrigin": "BOTTOM_CENTER", + "anchorPoint": "BOTTOM_CENTER", "position": [0, 0, 0], "size": [200, 100, 0], - "label-actor": { - "type": "TextLabel", - "text": "Blur" - }, - "normal-state-actor": { - "type": "ImageActor", - "style": "STYLE_NINE_PATCH", - "border": [26, 24, 26, 23], - "image": { - "filename": "{DALI_IMAGE_DIR}button-background.png" - } - }, - "selected-state-actor": { - "type": "ImageActor", - "style": "STYLE_NINE_PATCH", - "border": [26, 24, 26, 23], - "image": { - "filename": "{DALI_IMAGE_DIR}button-background.png" - } - }, + "label": "Blur", + "siblingOrder": 1, "signals": [{ "name": "pressed", "action": "play",