3 "CONFIG_SCRIPT_LOG_LEVEL": "Verbose"
7 "type": "ConfirmationPopup",
8 "name": "confirmation-popup",
9 "parent-origin": [0.5, 0.55, 0.5],
10 "anchor-point": "CENTER",
11 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
12 "height-resize-policy": "USE_NATURAL_SIZE",
13 "size-mode-factor": [0.65, 1.0, 1.0],
14 "tail-visibility": false,
15 "tail-position": [0, 0, 0],
16 "display-change-animation-duration": 1.0,
17 "contextual-mode": "NON_CONTEXTUAL",
18 "animation-mode": "ZOOM",
19 "control-ok": "control-ok",
20 "control-cancel": "control-cancel",
21 "connect-signal-ok-selected": "clicked",
22 "connect-signal-cancel-selected": "clicked",
26 "text-color": [1, 1, 1, 1]
30 "text": "Content text",
31 "padding": [20, 20, 20, 0],
32 "text-color": [1, 1, 1, 1]
37 "width-resize-policy": "FILL_TO_PARENT",
38 "height-resize-policy": "FIXED",
39 "parent-origin": "CENTER",
40 "anchor-point": "CENTER",
45 "parent-origin": "CENTER_LEFT",
46 "anchor-point": "CENTER_LEFT",
47 "position": [20, 0, 0],
52 "name": "control-cancel",
53 "parent-origin": "CENTER_RIGHT",
54 "anchor-point": "CENTER_RIGHT",
55 "position": [-20, 0, 0],
56 "label-text": "Cancel"
62 "name": "control-signal-ok",
64 "actor": "selection-label",
66 "value": "User pressed: OK Button"
69 "name": "control-signal-ok",
71 "actor": "confirmation-popup",
72 "property": "display-state",
76 "name": "control-signal-cancel",
78 "actor": "selection-label",
80 "value": "User pressed: Cancel Button"
83 "name": "control-signal-cancel",
85 "actor": "confirmation-popup",
86 "property": "display-state",
90 "name": "touched-outside",
92 "actor": "confirmation-popup",
93 "property": "display-state",
97 "name": "touched-outside",
99 "actor": "selection-label",
101 "value": "No button pressed, backing touched"
106 "type": "ConfirmationPopup",
107 "name": "custom-animation-popup",
108 "parent-origin": [0.5, 0.55, 0.5],
109 "anchor-point": "CENTER",
110 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
111 "height-resize-policy": "USE_NATURAL_SIZE",
112 "size-mode-factor": [0.65, 1.0, 1.0],
113 "tail-visible": false,
114 "tail-position": [0, 0, 0],
115 "display-change-animation-duration": 1.0,
116 "contextual-mode": "NON_CONTEXTUAL",
117 "control-ok": "control-ok",
118 "control-cancel": "control-cancel",
119 "connect-signal-ok-selected": "clicked",
120 "connect-signal-cancel-selected": "clicked",
121 "animation-mode": "CUSTOM",
123 "actor": "custom-animation-popup",
124 "property": "position",
130 "alpha-function": "EASE_OUT",
137 "actor": "custom-animation-popup",
138 "property": "position",
144 "alpha-function": "EASE_IN",
152 "text": "Title text",
153 "text-color": [1, 1, 1, 1]
157 "text": "Content text",
158 "padding": [20, 20, 20, 0],
159 "text-color": [1, 1, 1, 1]
164 "width-resize-policy": "FILL_TO_PARENT",
165 "height-resize-policy": "FIXED",
166 "parent-origin": "CENTER",
167 "anchor-point": "CENTER",
170 "type": "PushButton",
171 "name": "control-ok",
172 "parent-origin": "CENTER_LEFT",
173 "anchor-point": "CENTER_LEFT",
174 "position": [20, 0, 0],
178 "type": "PushButton",
179 "name": "control-cancel",
180 "parent-origin": "CENTER_RIGHT",
181 "anchor-point": "CENTER_RIGHT",
182 "position": [-20, 0, 0],
183 "label-text": "Cancel"
189 "name": "control-signal-ok",
191 "actor": "selection-label",
193 "value": "User pressed: OK Button"
196 "name": "control-signal-ok",
198 "actor": "custom-animation-popup",
199 "property": "display-state",
203 "name": "control-signal-cancel",
205 "actor": "selection-label",
207 "value": "User pressed: Cancel Button"
210 "name": "control-signal-cancel",
212 "actor": "custom-animation-popup",
213 "property": "display-state",
217 "name": "touched-outside",
219 "actor": "custom-animation-popup",
220 "property": "display-state",
224 "name": "touched-outside",
226 "actor": "selection-label",
228 "value": "No button pressed, backing touched"
233 "type": "popup-toast",
235 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
236 "height-resize-policy": "USE_NATURAL_SIZE",
237 "size-mode-factor": [0.85, 0, 0],
240 "width-resize-policy": "FILL_TO_PARENT",
241 "height-resize-policy": "USE_NATURAL_SIZE",
242 "parent-origin": "CENTER",
243 "anchor-point": "CENTER",
244 "text": "This is a toast popup. \nIt will auto-hide itself.",
245 "text-color": [1, 1, 1, 1],
247 "horizontal-alignment": "CENTER",
248 "vertical-alignment": "CENTER",
249 "padding": [20.0, 20.0, 20.0, 20.0]
253 "type": "PushButton",
254 "name": "popup-trigger-button",
255 "parent-origin": [0.1, 0.1, 0.5],
256 "anchor-point": "TOP_LEFT",
257 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
258 "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
259 "size-mode-factor": [0.38, 0.14, 1.0],
260 "label-text": "Popup",
264 "actor": "confirmation-popup",
265 "property": "display-state",
270 "type": "PushButton",
271 "name": "animated-popup-trigger-button",
272 "parent-origin": [0.9, 0.1, 0.5],
273 "anchor-point": "TOP_RIGHT",
274 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
275 "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
276 "size-mode-factor": [0.38, 0.14, 1.0],
277 "label-text": "Animated",
281 "actor": "custom-animation-popup",
282 "property": "display-state",
287 "type": "PushButton",
288 "name": "toast-trigger-button",
289 "parent-origin": [0.5, 1.0, 0.5],
290 "anchor-point": "BOTTOM_CENTER",
291 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
292 "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
293 "size-mode-factor": [0.5, 0.14, 1.0],
294 "label-text": "Push for Toast",
299 "property": "display-state",
305 "name": "selection-label",
306 "parent-origin": [0.5, 0.22, 0.5],
307 "anchor-point": "TOP_CENTER",
308 "width-resize-policy": "SIZE_RELATIVE_TO_PARENT",
309 "height-resize-policy": "SIZE_RELATIVE_TO_PARENT",
310 "size-mode-factor": [0.9, 0.14, 1.0],
311 "text": "No selection made",
312 "horizontal-alignment": "CENTER",
313 "vertical-alignment": "CENTER"