DALi Version 2.0.27
[platform/core/uifw/dali-demo.git] / resources / scripts / slider.json
index 8d4a4a7..d02bcae 100644 (file)
 {
   "stage": [{
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 144, 0],
     "size": [480, 72, 1],
-    "lower-bound": 0,
-    "upper-bound": 1,
-    "show-popup": true,
-    "show-value": true,
-    "value-precision": 2,
+    "lowerBound": 0,
+    "upperBound": 1,
+    "showPopup": true,
+    "showValue": true,
+    "valuePrecision": 2,
     "value": 0.0
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 224, 0],
     "size": [300, 72, 1],
-    "lower-bound": 1,
-    "upper-bound": 10,
-    "show-popup": false,
-    "show-value": true,
-    "value-precision": 0,
+    "lowerBound": 1,
+    "upperBound": 10,
+    "showPopup": false,
+    "showValue": true,
+    "valuePrecision": 0,
     "value": 5.0
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 304, 0],
     "size": [300, 72, 1],
-    "lower-bound": 0,
-    "upper-bound": 5,
-    "show-popup": false,
-    "show-value": false,
+    "lowerBound": 0,
+    "upperBound": 5,
+    "showPopup": false,
+    "showValue": false,
     "value": 0.0,
-    "mark-tolerance": 0.1,
+    "markTolerance": 0.1,
     "marks": [0, 1, 2, 3, 4, 5]
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 384, 0],
     "size": [480, 72, 1],
-    "lower-bound": 0,
-    "upper-bound": 5,
-    "show-popup": false,
-    "show-value": false,
+    "lowerBound": 0,
+    "upperBound": 5,
+    "showPopup": false,
+    "showValue": false,
     "value": 0.0,
-    "mark-tolerance": 0.1,
-    "snap-to-marks": true,
+    "markTolerance": 0.1,
+    "snapToMarks": true,
     "marks": [0, 1, 2, 3, 4, 5]
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 464, 0],
     "size": [480, 72, 1],
-    "lower-bound": 5,
-    "upper-bound": 100,
-    "show-popup": true,
-    "show-value": true,
-    "value-precision": 0,
+    "lowerBound": 5,
+    "upperBound": 100,
+    "showPopup": true,
+    "showValue": true,
+    "valuePrecision": 0,
     "value": 50.0,
-    "popup-text-color": [1, 0, 0, 1],
-    "hit-region": [0, 48],
-    "backing-region": [0, 10],
-    "handle-region": [48, 48]
+    "trackVisual": {
+      "size": [0, 10]
+    },
+    "handleVisual": {
+      "size": [48, 48]
+    }
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 544, 0],
     "size": [480, 72, 1],
-    "lower-bound": 10,
-    "upper-bound": 100,
-    "show-popup": true,
-    "show-value": true,
-    "value-prescision": 0,
+    "lowerBound": 10,
+    "upperBound": 100,
+    "showPopup": true,
+    "showValue": true,
+    "valuePrescision": 0,
     "value": 100.0,
-    "hit-region": [0, 48],
-    "backing-region": [0, 10],
-    "handle-region": [48, 48],
-    "backing-image-name": "{DALI_IMAGE_DIR}circle_point_32x32.png",
-    "handle-image-name": "{DALI_IMAGE_DIR}circle_point_shadow_32x32.png",
-    "progress-image-name": "{DALI_IMAGE_DIR}circle_point.png",
-    "backing-scale9-border": [16, 0, 16, 0],
-    "progress-scale9-border": [16, 0, 16, 0]
+    "trackVisual": {
+      "url": "{DEMO_IMAGE_DIR}button-up-14.9.png",
+      "size": [0, 30]
+    },
+    "handleVisual": {
+      "url": "{DEMO_IMAGE_DIR}blocks-ball.png",
+      "size": [48, 48]
+    },
+    "progressVisual": {
+      "url": "{DEMO_IMAGE_DIR}button-down.9.png"
+    }
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 624, 0],
     "size": [480, 72, 1],
-    "lower-bound": 10,
-    "upper-bound": 100,
-    "show-popup": true,
-    "show-value": true,
-    "value-precision": 0,
+    "lowerBound": 10,
+    "upperBound": 100,
+    "showPopup": true,
+    "showValue": true,
+    "valuePrecision": 0,
     "value": 50.0,
-    "hit-region": [0, 48],
-    "backing-region": [0, 10],
-    "handle-region": [48, 48],
-    "enabled": false
+    "trackVisual": {
+      "size": [0, 10]
+    },
+    "handleVisual": {
+      "size": [48, 48]
+    }
   }, {
     "type": "Slider",
-    "parent-origin": "TOP_CENTER",
+    "parentOrigin": "TOP_CENTER",
     "position": [0, 704, 0],
     "size": [480, 72, 1],
-    "lower-bound": 10,
-    "upper-bound": 100,
-    "show-popup": true,
-    "show-value": true,
-    "value-precision": 0,
+    "lowerBound": 10,
+    "upperBound": 100,
+    "showPopup": true,
+    "showValue": true,
+    "valuePrecision": 0,
     "value": 50.0,
-    "hit-region": [0, 48],
-    "backing-region": [0, 10],
-    "handle-region": [48, 48],
-    "enabled": false,
-    "disable-color": [1, 0, 0, 1]
+    "trackVisual": {
+      "size": [0, 10]
+    },
+    "handleVisual": {
+      "size": [48, 48]
+    },
+    "disabledColor": [1, 0, 0, 1]
   }]
 }