Added clock script to check animation time
[platform/core/uifw/dali-demo.git] / resources / scripts / clock.json
1 {
2   "stage": [{
3       "name": "seconds",
4       "type": "Control",
5       "actors": [],
6       "size": [10, 200, 1],
7       "position": [0, 0, -2],
8       "parentOrigin": [0.5, 0.5, 0.5],
9       "anchorPoint": [0.5, 1, 0.5],
10       "background": { "color": [0.71, 0, 0, 1] },
11       "selected": false,
12       "signals": [
13       {
14         "name": "onStage",
15         "action": "play",
16         "animation": "animate-seconds"
17       }]
18     }, {
19       "name": "minutes",
20       "type": "Control",
21       "actors": [],
22       "size": [11, 180, 1],
23       "position": [0, 0, -2],
24       "parentOrigin": [0.5, 0.5, 0.5],
25       "anchorPoint": [0.5, 1, 0.5],
26       "background": { "color": [0, 0.14200000000000013, 0.71, 0.7] },
27       "signals": [
28       {
29         "name": "onStage",
30         "action": "play",
31         "animation": "animate-minutes"
32       }]
33     }, {
34       "name": "hours",
35       "type": "Control",
36       "actors": [],
37       "size": [12, 120, 1],
38       "position": [0, 0, 0],
39       "parentOrigin": [0.5, 0.5, 0.5],
40       "anchorPoint": [0.5, 1, 0.5],
41       "background": { "color": [0.057450000000000064, 0.3, 0.0030000000000000027, 0.7] },
42       "signals": [
43       {
44         "name": "onStage",
45         "action": "play",
46         "animation": "animate-hours"
47       }]
48     }],
49   "paths": {},
50   "animations": {
51     "animate-seconds": {
52       "properties": [{
53           "actor": "seconds",
54           "property": "orientation",
55           "value": [0, 0, 360],
56           "alphaFunction": "LINEAR",
57           "timePeriod": {
58             "delay": 0,
59             "duration": 60.0
60           },
61           "gui-builder-timeline-color": "#f5aeb8",
62           "relative": true
63       }],
64       "loop": true
65     },
66     "animate-minutes": {
67       "properties": [{
68           "actor": "minutes",
69           "property": "orientation",
70           "value": [0, 0, 360],
71           "alphaFunction": "LINEAR",
72           "timePeriod": {
73             "delay": 0,
74             "duration": 3600.0
75           },
76           "gui-builder-timeline-color": "#aabcc4",
77           "relative": true
78       }],
79       "loop": true
80     },
81     "animate-hours": {
82       "properties": [{
83           "actor": "hours",
84           "property": "orientation",
85           "value": [0, 0, 360],
86           "alphaFunction": "LINEAR",
87           "timePeriod": {
88             "delay": 0,
89             "duration": 43200.0
90           },
91           "gui-builder-timeline-color": "#9e7f9e",
92           "relative": true
93       }],
94       "loop": true
95     }
96   },
97   "connections": [],
98   "shader-effects": {},
99   "gui-builder-device-height": 600,
100   "gui-builder-device-width": 400,
101   "gui-builder-json-version": "781"
102 }