Tizen release 1.0
[pkgs/p/phone-lock.git] / data / phone-lock-view-main.edc
1 /*
2  * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved 
3  *
4  * This file is part of <phone-lock>
5  * Written by <Seungtaek Chung> <seungtaek.chung@samsung.com>, <Mi-Ju Lee> <miju52.lee@samsung.com>, <Xi Zhichan> <zhichan.xi@samsung.com>
6  *
7  * PROPRIETARY/CONFIDENTIAL
8  *
9  * This software is the confidential and proprietary information of SAMSUNG ELECTRONICS ("Confidential Information").
10  * You shall not disclose such Confidential Information and shall use it only in accordance
11  * with the terms of the license agreement you entered into with SAMSUNG ELECTRONICS.
12  * SAMSUNG make no representations or warranties about the suitability of the software,
13  * either express or implied, including but not limited to the implied warranties of merchantability,
14  * fitness for a particular purpose, or non-infringement.
15  * SAMSUNG shall not be liable for any damages suffered by licensee as a result of using,
16  * modifying or distributing this software or its derivatives.
17  *
18  */
19
20 group{
21         name: "phlock.view.main";
22
23         parts{
24                 part{
25                         name: "background";
26                         type: RECT;
27                         mouse_events: 1;
28                         description{
29                                 state: "default" 0.0;
30                                 color: 0 0 0 255;
31                         }
32                 }
33                 part{
34                         name: "swallow.bg";
35                         type: SWALLOW;
36                         scale: 1;
37                         mouse_events: 1;
38                         description{
39                                 state: "default" 0.0;
40                                 rel1{
41                                         to: "background";
42                                 }
43                                 rel2{
44                                         to: "background";
45                                 }
46                                 color: 255 255 255 255;
47                         }
48                 }
49                 part{
50                         name: "swallow.info.0";
51                         type: SWALLOW;
52                         scale: 1;
53                         mouse_events: 1;
54                         description{
55                                 state: "default" 0.0;
56                                 rel1 { relative: 20/MAIN_W  375/MAIN_H; to: "background";}
57                                 rel2 { relative: 510/MAIN_W 570/MAIN_H; to: "background";}
58                                 color: 0 0 0 0;
59                         }
60                 }
61                 part{
62                         name: "swallow.info.1";
63                         type: SWALLOW;
64                         scale: 1;
65                         mouse_events: 1;
66                         description{
67                                 state: "default" 0.0;
68                                 rel1 { relative: 230/MAIN_W 375/MAIN_H; to: "background";}
69                                 rel2 { relative: 705/MAIN_W 570/MAIN_H; to: "background";}
70                                 color: 0 0 0 0;
71                         }
72                 }
73                 part{
74                         name: "swallow.info.2";
75                         type: SWALLOW;
76                         scale: 1;
77                         mouse_events: 1;
78                         description{
79                                 state: "default" 0.0;
80                                 rel1 { relative:  20/MAIN_W 930/MAIN_H;  to: "background";}
81                                 rel2 { relative: 510/MAIN_W 1116/MAIN_H; to: "background";}
82                                 color: 0 0 0 0;
83                         }
84                 }
85                 part{
86                         name: "swallow.info.3";
87                         type: SWALLOW;
88                         scale: 1;
89                         mouse_events: 1;
90                         description{
91                                 state: "default" 0.0;
92                                 rel1 { relative: 230/MAIN_W 930/MAIN_H;         to: "background";}
93                                 rel2 { relative: 705/MAIN_W 1116/MAIN_H;        to: "background";}
94                                 color: 0 0 0 0;
95                         }
96                 }
97
98                 part{
99                         name: "swallow.title";
100                         type: SWALLOW;
101                         scale: 1;
102                         mouse_events: 1;
103                         description{
104                                 state: "default" 0.0;
105                                 align: 0.0 0.0;
106                                 fixed: 0 1;
107                                 rel1{
108                                         relative: 0.0 (139/MAIN_H);
109                                         to: "background";
110                                 }
111                                 rel2{
112                                         relative: 1.0 (199/MAIN_H);
113                                         to: "background";
114                                 }
115                         }
116                 }
117
118                 part{
119                         name: "swallow.input";
120                         type: SWALLOW;
121                         scale: 1;
122                         mouse_events: 1;
123                         description{
124                                 state: "default" 0.0;
125                                 rel1 { relative: 0 217/MAIN_H;  to: "background";}
126                                 rel2 { relative: 1 351/MAIN_H;  to: "background";}
127
128                         }
129                 }
130                 part{
131                         name: "swallow.event.bg";
132                         type: RECT;
133                         scale: 1;
134                         mouse_events: 1;
135                         description{
136                                 state: "default" 0.0;
137                                 align: 0.0 0.0;
138                                 fixed: 0 1;
139                                 rel1{
140                                         relative: 0.0 (1116/MAIN_H);
141                                         to: "background";
142                                 }
143                                 rel2{
144                                         relative: 1.0 (1230/MAIN_H);
145                                         to: "background";
146                                 }
147                                 color: 0 0 0 125;
148                         }
149                         description{
150                                 state: "up" 0.0;
151                                 inherit: "default" 0.0;
152                                 rel1{
153                                         relative: 0.0 (575/MAIN_H);
154                                         to: "background";
155                                 }
156                                 rel2{
157                                         relative: 1.0 (689/MAIN_H);
158                                         to: "background";
159                                 }
160                                 color: 0 0 0 125;
161                         }
162                 }
163
164                 part{
165                         name: "swallow.event.down";
166                         type: SWALLOW;
167                         scale: 1;
168                         mouse_events: 1;
169                         description{
170                                 state: "default" 0.0;
171                                 align: 0.0 0.0;
172                                 fixed: 0 1;
173                                 rel1{
174                                         relative: 0.0 (1116/MAIN_H);
175                                         to: "background";
176                                 }
177                                 rel2{
178                                         relative: 1.0 (1230/MAIN_H);
179                                         to: "background";
180                                 }
181                         }
182                 }
183                 part{
184                         name: "swallow.event.up";
185                         type: SWALLOW;
186                         scale: 1;
187                         mouse_events: 1;
188                         description{
189                                 state: "default" 0.0;
190                                 align: 0.0 0.0;
191                                 fixed: 0 1;
192                                 rel1{
193                                         relative: 0.0 (575/MAIN_H);
194                                         to: "background";
195                                 }
196                                 rel2{
197                                         relative: 1.0 (689/MAIN_H);
198                                         to: "background";
199                                 }
200                         }
201                 }
202         }
203
204         programs{
205                 program{
206                         name: "bg.event.up";
207                         signal: "bg.up";
208                         source: "swallow.event.bg";
209                         action: STATE_SET "up" 0.0;
210                         target: "swallow.event.bg";
211                 }
212                 program{
213                         name: "bg.event.down";
214                         signal: "bg.down";
215                         source: "swallow.event.bg";
216                         action: STATE_SET "default" 0.0;
217                         target: "swallow.event.bg";
218                 }
219
220         }
221 }