ec95eeaf148236c634d8c166bc018cb69d4545af
[apps/core/preloaded/taskmanager.git] / data / taskmgr.edc
1 /*
2  * org.tizen.taskmgr
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Flora License, Version 1.1 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://floralicense.org/license/
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 #define BTN_H 76
19 #define GENLIST_BG 246 245 237
20
21 collections {
22
23         group {
24                 name: "task_manager";
25                 images {
26                         image: "39_multitasking_btn_bg.png" COMP;
27                 }
28                 parts {
29                         part {
30                                 name: "bg";
31                                 type: RECT;
32                                 scale: 1;
33                                 mouse_events: 0;
34                                 description {
35                                         state: "default" 0.0;
36 //                                      color: GENLIST_BG 255;
37                                         color: 0 0 0 0;
38                                 }
39                         }
40
41                         part {
42                                 name: "list";
43                                 type: SWALLOW;
44                                 scale: 1;
45                                 description {
46                                         state: "default" 0.0;
47                                         rel1 { relative: 0.0 0.0; to: "bg"; }
48                                         rel2 { relative: 1.0 1.0; to: "bg"; }
49                                 }
50                                 description {
51                                         state: "hide" 0.0;
52                                         inherit: "default" 0.0;
53                                         visible: 0;
54                                 }
55                         }
56                 }
57         }
58
59         group {
60                 name: "icon";
61                 parts {
62                         part {
63                                 name: "bg";
64                                 type: RECT;
65                                 scale: 1;
66                                 mouse_events: 0;
67                                 description {
68                                         state: "default" 0.0;
69                                         color: 0 0 0 0;
70                                 }
71                         }
72
73                         part {
74                                 name: "icon_ly";
75                                 type: SWALLOW;
76                                 scale: 1;
77                                 description {
78                                         state: "default" 0.0;
79                                         rel1 { relative: 0.0 0.0; to: "bg"; }
80                                         rel2 { relative: 1.0 1.0; to: "bg"; }
81                                 }
82                         }
83                         part {
84                                 name: "icon";
85                                 type: SWALLOW;
86                                 scale: 1;
87                                 description {
88                                         state: "default" 0.0;
89                                         rel1 { to: "icon_ly"; }
90                                         rel2 { to: "icon_ly"; }
91                                 }
92                         }
93                 }
94         }
95         
96         group {
97                 name: "info";
98                 parts {
99                         part {
100                                 name: "bg";
101                                 type: RECT;
102                                 scale: 1;
103                                 mouse_events: 0;
104                                 description {
105                                         min: 240 105;
106                                         state: "default" 0.0;
107                                         color: 0 0 0 0;
108                                 }
109                         }
110                         part {
111                                 name: "padding/t";
112                                 type: RECT;
113                                 scale: 1;
114                                 description {
115                                         state: "default" 0.0;
116                                         min: 0 10;
117                                         fixed: 0 1;
118                                         align: 0.5 0.0;
119                                         color: 0 0 0 0;
120                                         rel1 { relative: 0.0 0.0; to: "bg"; }
121                                         rel2 { relative: 1.0 0.0; to: "bg"; }
122                                 }
123                         }
124                         part {
125                                 name: "padding/l";
126                                 type: RECT;
127                                 scale: 1;
128                                 description {
129                                         state: "default" 0.0;
130                                         min: 10 0;
131                                         fixed: 1 0;
132                                         align: 0.0 0.5;
133                                         color: 0 0 0 0;
134                                         rel1 { relative: 0.0 0.0; to: "bg"; }
135                                         rel2 { relative: 0.0 1.0; to: "bg"; }
136                                 }
137                         }
138                         part {
139                                 name: "padding/b";
140                                 type: RECT;
141                                 scale: 1;
142                                 description {
143                                         state: "default" 0.0;
144                                         min: 0 10;
145                                         fixed: 0 1;
146                                         align: 0.5 1.0;
147                                         color: 0 0 0 0;
148                                         rel1 { relative: 0.0 1.0; to: "bg"; }
149                                         rel2 { relative: 1.0 1.0; to: "bg"; }
150                                 }
151                         }
152                         part {
153                                 name: "padding/r";
154                                 type: RECT;
155                                 scale: 1;
156                                 description {
157                                         state: "default" 0.0;
158                                         min: 10 0;
159                                         fixed: 1 0;
160                                         align: 1.0 0.5;
161                                         color: 0 0 0 0;
162                                         rel1 { relative: 1.0 0.0; to: "bg"; }
163                                         rel2 { relative: 1.0 1.0; to: "bg"; }
164                                 }
165                         }
166                         
167                         part {
168                                 name: "swallow";
169                                 type: SWALLOW;
170                                 scale: 1;
171                                 description {
172                                         state: "default" 0.0;
173                                         min: 1 1;
174                                         rel1 { 
175                                                 relative: 1.0 1.0; 
176                                                 to_x: "padding/l";
177                                                 to_y: "padding/t";
178                                         }
179                                         rel2 { 
180                                                 relative: 0.0 0.0; 
181                                                 to_x: "padding/r";
182                                                 to_y: "padding/b";
183                                         }
184                                 }
185                         }
186                 }
187         }
188 }