User relative path to imports in edc files.
[apps/core/preloaded/indicator-win.git] / res / resource / indicator_icon_nonfixed_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: DEFAULT_ICON_PADDING 0;
45                                         fixed: 1 0;
46                                         rel1.to: "background";
47                                         rel2 { relative: 0.0 1.0; to: "background"; }
48                                         color : 0 255 0 255;
49                                         align: 0.0 0.5;
50                                         visible: 0;
51                                 }
52                         }
53
54                         part {
55                                 name: "padding.right";
56                                 type: RECT;
57                                 mouse_events: 0;
58                                 scale: 1;
59                                 description {
60                                         state: "default" 0.0;
61                                         min: 0 0;
62                                         fixed: 1 0;
63                                         rel1 { relative: 1.0 0.0; to: "background"; }
64                                         color : 0 0 255 255;
65                                         align: 1.0 0.5;
66                                         visible: 0;
67                                 }
68                         }
69                         PART_SWALLOW_SET( "elm.swallow.icon", "padding.left", "padding.right" )
70
71 #ifdef _SUPPORT_SCREEN_READER
72                         part {
73                                 name: "elm.rect.icon.access";
74                                 type: RECT;
75                                 scale: 1;
76                                 description {
77                                         state: "default" 0.0;
78                                         rel1.to: "elm.swallow.icon";
79                                         rel2.to: "elm.swallow.icon";
80                                         color:0 0 0 0;
81                                         visible: 1;
82                                 }
83                         }
84 #endif
85                 }
86                 programs {
87                         PROGRAM_SET( "elm.swallow.icon", "elm.swallow.icon")
88                 }
89         }
90 }
91
92