Merge "Change visual animation code" into devel/master
[platform/core/uifw/dali-demo.git] / resources / style / progress-bar-example-theme.json
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 {
19   "styles":
20   {
21     "ProgressBar":
22     {
23       "trackVisual":{
24         "url":"{APPLICATION_RESOURCE_PATH}/images/new-progress-bar-track.9.png"
25       },
26       "progressVisual":{
27         "url":"{APPLICATION_RESOURCE_PATH}/images/new-progress-bar-progress.9.png"
28       },
29       "secondaryProgressVisual":{
30         "url":"{APPLICATION_RESOURCE_PATH}/images/new-progress-bar-secondary-progress.9.png"
31       }
32     },
33     "CircularProgressBar":
34     {
35       "trackVisual":{
36         "visualType":"ARC",
37         "mixColor":[1.0, 0.898, 0.769, 1.0],
38         "thickness":8.0
39       },
40       "progressVisual":{
41         "visualType":"ARC",
42         "mixColor":[0.965, 0.494, 0.49, 1.0],
43         "thickness":8.0
44       },
45       "secondaryProgressVisual":{
46         "visualType":"ARC",
47         "mixColor":[1.0, 0.757, 0.655, 1.0],
48         "thickness":8.0
49       },
50       "indeterminateVisual":{
51         "visualType":"ARC",
52         "mixColor":[0.49, 0.478, 0.635, 1.0],
53         "thickness":8.0,
54         "startAngle":267.0,
55         "sweepAngle":75.0
56       }
57     }
58   }
59 }