"blur": {
"duration": 1,
"properties": [{
- "actor": "super-blur",
- "property": "blur-strength",
+ "actor": "superBlur",
+ "property": "blurStrength",
"value": 1,
- "time-period": {
+ "timePeriod": {
"delay": 0,
"duration": 1
}
"clear": {
"duration": 1,
"properties": [{
- "actor": "super-blur",
- "property": "blur-strength",
+ "actor": "superBlur",
+ "property": "blurStrength",
"value": 0,
- "time-period": {
+ "timePeriod": {
"delay": 0,
"duration": 1
}
// SuperBlurView
{
"type": "SuperBlurView",
- "name": "super-blur",
- "parent-origin": "TOP_CENTER",
- "anchor-point": "TOP_CENTER",
- "position": [0, 10, 0],
- "size": [460, 600, 0],
+ "name": "superBlur",
+ "parentOrigin": "TOP_CENTER",
+ "anchorPoint": "TOP_CENTER",
+ "size": [800, 1280, 0],
"image": {
- "filename": "{DALI_IMAGE_DIR}background-4.jpg"
+ "filename": "{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"
- }
- },
+ "labelText": "Blur",
+ "siblingOrder": 1,
"signals": [{
"name": "pressed",
"action": "play",