e7f7b96ba4c49385c3c82e959b0fc5cdb77fb259
[profile/ivi/taskmanager.git] / data / taskmgr.edc
1  /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   *
4   * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 #define BTN_H 76
18 #define GENLIST_BG 246 245 237
19
20 collections {
21
22         group {
23                 name: "task_manager";
24                 images {
25                         image: "39_multitasking_btn_bg.png" COMP;
26                 }
27                 parts {
28                         part {
29                                 name: "bg";
30                                 type: RECT;
31                                 scale: 1;
32                                 mouse_events: 0;
33                                 description {
34                                         state: "default" 0.0;
35 //                                      color: GENLIST_BG 255;
36                                         color: 0 0 0 0;
37                                 }
38                         }
39
40                         part {
41                                 name: "list";
42                                 type: SWALLOW;
43                                 scale: 1;
44                                 description {
45                                         state: "default" 0.0;
46                                         rel1 { relative: 0.0 0.0; to: "bg"; }
47                                         rel2 { relative: 1.0 1.0; to: "bg"; }
48                                 }
49                                 description {
50                                         state: "hide" 0.0;
51                                         inherit: "default" 0.0;
52                                         visible: 0;
53                                 }
54                         }
55                 }
56         }
57
58         group {
59                 name: "icon";
60                 parts {
61                         part {
62                                 name: "bg";
63                                 type: RECT;
64                                 scale: 1;
65                                 mouse_events: 0;
66                                 description {
67                                         state: "default" 0.0;
68                                         color: 0 0 0 0;
69                                 }
70                         }
71
72                         part {
73                                 name: "icon_ly";
74                                 type: SWALLOW;
75                                 scale: 1;
76                                 description {
77                                         state: "default" 0.0;
78                                         rel1 { relative: 0.0 0.0; to: "bg"; }
79                                         rel2 { relative: 1.0 1.0; to: "bg"; }
80                                 }
81                         }
82                         part {
83                                 name: "icon";
84                                 type: SWALLOW;
85                                 scale: 1;
86                                 description {
87                                         state: "default" 0.0;
88                                         rel1 { to: "icon_ly"; }
89                                         rel2 { to: "icon_ly"; }
90                                 }
91                         }
92                 }
93         }
94
95         group {
96                 name: "info";
97                 parts {
98                         part {
99                                 name: "bg";
100                                 type: RECT;
101                                 scale: 1;
102                                 mouse_events: 0;
103                                 description {
104                                         min: 240 105;
105                                         state: "default" 0.0;
106                                         color: 0 0 0 0;
107                                 }
108                         }
109                         part {
110                                 name: "padding/t";
111                                 type: RECT;
112                                 scale: 1;
113                                 description {
114                                         state: "default" 0.0;
115                                         min: 0 10;
116                                         fixed: 0 1;
117                                         align: 0.5 0.0;
118                                         color: 0 0 0 0;
119                                         rel1 { relative: 0.0 0.0; to: "bg"; }
120                                         rel2 { relative: 1.0 0.0; to: "bg"; }
121                                 }
122                         }
123                         part {
124                                 name: "padding/l";
125                                 type: RECT;
126                                 scale: 1;
127                                 description {
128                                         state: "default" 0.0;
129                                         min: 10 0;
130                                         fixed: 1 0;
131                                         align: 0.0 0.5;
132                                         color: 0 0 0 0;
133                                         rel1 { relative: 0.0 0.0; to: "bg"; }
134                                         rel2 { relative: 0.0 1.0; to: "bg"; }
135                                 }
136                         }
137                         part {
138                                 name: "padding/b";
139                                 type: RECT;
140                                 scale: 1;
141                                 description {
142                                         state: "default" 0.0;
143                                         min: 0 10;
144                                         fixed: 0 1;
145                                         align: 0.5 1.0;
146                                         color: 0 0 0 0;
147                                         rel1 { relative: 0.0 1.0; to: "bg"; }
148                                         rel2 { relative: 1.0 1.0; to: "bg"; }
149                                 }
150                         }
151                         part {
152                                 name: "padding/r";
153                                 type: RECT;
154                                 scale: 1;
155                                 description {
156                                         state: "default" 0.0;
157                                         min: 10 0;
158                                         fixed: 1 0;
159                                         align: 1.0 0.5;
160                                         color: 0 0 0 0;
161                                         rel1 { relative: 1.0 0.0; to: "bg"; }
162                                         rel2 { relative: 1.0 1.0; to: "bg"; }
163                                 }
164                         }
165
166                         part {
167                                 name: "swallow";
168                                 type: SWALLOW;
169                                 scale: 1;
170                                 description {
171                                         state: "default" 0.0;
172                                         min: 1 1;
173                                         rel1 {
174                                                 relative: 1.0 1.0;
175                                                 to_x: "padding/l";
176                                                 to_y: "padding/t";
177                                         }
178                                         rel2 {
179                                                 relative: 0.0 0.0;
180                                                 to_x: "padding/r";
181                                                 to_y: "padding/b";
182                                         }
183                                 }
184                         }
185                 }
186         }
187 }