User relative path to imports in edc files.
[apps/core/preloaded/indicator-win.git] / res / resource / indicator_icon_theme.edc
1 /*
2  *  Indicator
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21 #include "../../inc/indicator_gui.h"
22 #include "indicator_common.edc"
23
24 collections {
25         base_scale: 2.6;
26
27         group {
28                 name: "elm/indicator/icon/base";
29                 parts {
30                         part {
31                                 name: "background";
32                                 description {
33                                         state: "default" 0.0;
34                                         visible : 1;
35                                 }
36                         }
37                         part {
38                                 name: "padding.left";
39                                 type: RECT;
40                                 mouse_events: 0;
41                                 scale: 1;
42                                 description {
43                                         state: "default" 0.0;
44                                         min: 0 0;
45                                         fixed: 1 0;
46                                         color: 255 0 0 255;
47                                         rel1.to: "background";
48                                         rel2 { relative: 0.0 1.0; to: "background"; }
49                                         align: 0.0 0.5;
50                                         visible: 0;
51                                 }
52                         }
53
54                         PART_SWALLOW_SET( "elm.swallow.icon", "padding.left", "padding.right" )
55
56                         part {
57                                 name: "padding.right";
58                                 type: RECT;
59                                 mouse_events: 0;
60                                 scale: 1;
61                                 description {
62                                         state: "default" 0.0;
63                                         min: 0 0;
64                                         fixed: 1 0;
65                                         color: 0 255 0 255;
66                                         rel1 { relative: 1.0 0.0; to: "background"; }
67                                         align: 1.0 0.5;
68                                         visible: 0;
69                                 }
70                         }
71
72 #ifdef _SUPPORT_SCREEN_READER
73                         part {
74                                 name: "elm.rect.icon.access";
75                                 type: RECT;
76                                 scale: 1;
77                                 description {
78                                         state: "default" 0.0;
79                                         rel1.to: "elm.swallow.icon";
80                                         rel2.to: "elm.swallow.icon";
81                                         color:0 0 0 0;
82                                         visible: 1;
83                                 }
84                         }
85 #endif
86                 }
87                 programs {
88                         PROGRAM_SET( "elm.swallow.icon", "elm.swallow.icon")
89                 }
90         }
91
92     group {
93                 name: "elm/indicator/icon/dozen_digit";
94                 parts {
95                         part {
96                                 name: "background";
97                                 type: RECT;
98                                 description {
99                                         state: "default" 0.0;
100                                         color : 0 0 255 255;
101                                         visible : 0;
102                                 }
103                         }
104                         part {
105                                 name: "padding.left";
106                                 type: RECT;
107                                 mouse_events: 0;
108                                 scale: 1;
109                                 description {
110                                         state: "default" 0.0;
111                                         min: 0 0;
112                                         fixed: 1 0;
113                                         rel1.to: "background";
114                                         rel2 { relative: 0.0 1.0; to: "background"; }
115                                         align: 0.0 0.5;
116                                         visible: 0;
117                                 }
118                         }
119
120                         PART_SWALLOW_SET( "elm.swallow.icon", "padding.left", "padding.right" )
121
122                         part {
123                                 name: "padding.right";
124                                 type: RECT;
125                                 mouse_events: 0;
126                                 scale: 1;
127                                 description {
128                                         state: "default" 0.0;
129                                         min: 1 20;
130                                         fixed: 1 0;
131                                         rel1 { relative: 1.0 0.0; to: "background"; }
132                                         rel2 { relative: 1.0 1.0; to: "background"; }
133                                         align: 1.0 0.5;
134                                         visible: 0;
135                                 }
136                         }
137
138 #ifdef _SUPPORT_SCREEN_READER
139                         part {
140                                 name: "elm.rect.icon.access";
141                                 type: RECT;
142                                 scale: 1;
143                                 description {
144                                         state: "default" 0.0;
145                                         rel1.to: "elm.swallow.icon";
146                                         rel2.to: "elm.swallow.icon";
147                                         color:0 0 0 0;
148                                         visible: 1;
149                                 }
150                         }
151 #endif
152                 }
153                 programs {
154                         PROGRAM_SET( "elm.swallow.icon", "elm.swallow.icon")
155                 }
156         }
157 }
158
159