2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 "CONFIG_SCRIPT_LOG_LEVEL": "Verbose"
25 "parent-origin": "TOP_CENTER",
26 "anchor-point": "TOP_CENTER",
27 "position": [0, 0, 0],
29 "normal-state-actor": {
32 "filename": "{DALI_IMAGE_DIR}blocks-brick-1.png"
35 "selected-state-actor": {
38 "filename": "{DALI_IMAGE_DIR}blocks-brick-2.png"
50 "parent-origin": "CENTER",
51 "anchor-point": "CENTER",
52 "position": [0, 0, 0],
59 "normal-state-actor": {
62 "filename": "{DALI_IMAGE_DIR}blocks-brick-1.png"
65 "selected-state-actor": {
68 "filename": "{DALI_IMAGE_DIR}blocks-brick-2.png"
71 "disabled-state-actor": {
74 "filename": "{DALI_IMAGE_DIR}blocks-brick-3.png"
82 "name": "toggle-button",
83 "parent-origin": "BOTTOM_CENTER",
84 "anchor-point": "BOTTOM_CENTER",
85 "position": [0, 0, 0],
92 "normal-state-actor": {
94 "style": "STYLE_NINE_PATCH",
95 "border": [26, 24, 26, 23],
97 "filename": "{DALI_IMAGE_DIR}blocks-brick-1.png"
100 "selected-state-actor": {
101 "type": "ImageActor",
102 "style": "STYLE_NINE_PATCH",
103 "border": [26, 24, 26, 23],
105 "filename": "{DALI_IMAGE_DIR}blocks-paddle.png"
111 "actor": "toggle-button",
112 "property": "label-actor",
115 "text": "Using a 9-patch image"