Tizen release 1.0
[pkgs/p/phone-lock.git] / data / phone-lock-view-main-simple.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.simple";
22         images{
23                 image: "B07_button_ok_normal_left.png" COMP;
24         }
25
26         parts{
27                 part{
28                         name: "background";
29                         type: RECT;
30                         mouse_events: 1;
31                         description{
32                                 state: "default" 0.0;
33                                 color: 0 0 0 255;
34                         }
35                 }
36                 part{
37                         name: "swallow.bg";
38                         type: SWALLOW;
39                         scale: 1;
40                         mouse_events: 1;
41                         description{
42                                 state: "default" 0.0;
43                                 rel1{
44                                         to: "background";
45                                 }
46                                 rel2{
47                                         to: "background";
48                                 }
49                                 color: 255 255 255 255;
50                         }
51                 }
52                 part{
53                         name: "swallow.info.0";
54                         type: SWALLOW;
55                         scale: 1;
56                         mouse_events: 1;
57                         description{
58                                 state: "default" 0.0;
59                                 rel1 { relative: 20/MAIN_W  375/MAIN_H; to: "background";}
60                                 rel2 { relative: 510/MAIN_W 570/MAIN_H; to: "background";}
61                                 color: 0 0 0 0;
62                         }
63                 }
64                 part{
65                         name: "swallow.info.1";
66                         type: SWALLOW;
67                         scale: 1;
68                         mouse_events: 1;
69                         description{
70                                 state: "default" 0.0;
71                                 rel1 { relative: 230/MAIN_W 375/MAIN_H; to: "background";}
72                                 rel2 { relative: 705/MAIN_W 570/MAIN_H; to: "background";}
73                                 color: 0 0 0 0;
74                         }
75                 }
76                 part{
77                         name: "swallow.info.2";
78                         type: SWALLOW;
79                         scale: 1;
80                         mouse_events: 1;
81                         description{
82                                 state: "default" 0.0;
83                                 rel1 { relative:  20/MAIN_W 930/MAIN_H;  to: "background";}
84                                 rel2 { relative: 510/MAIN_W 1116/MAIN_H; to: "background";}
85                                 color: 0 0 0 0;
86                         }
87                 }
88                 part{
89                         name: "swallow.info.3";
90                         type: SWALLOW;
91                         scale: 1;
92                         mouse_events: 1;
93                         description{
94                                 state: "default" 0.0;
95                                 rel1 { relative: 230/MAIN_W 930/MAIN_H;         to: "background";}
96                                 rel2 { relative: 705/MAIN_W 1116/MAIN_H;        to: "background";}
97                                 color: 0 0 0 0;
98                         }
99                 }
100
101                 part{
102                         name: "swallow.title";
103                         type: SWALLOW;
104                         scale: 1;
105                         mouse_events: 1;
106                         description{
107                                 state: "default" 0.0;
108                                 align: 0.0 0.0;
109                                 fixed: 0 1;
110                                 rel1{
111                                         relative: 0.0 (139/MAIN_H);
112                                         to: "background";
113                                 }
114                                 rel2{
115                                         relative: 1.0 (199/MAIN_H);
116                                         to: "background";
117                                 }
118                         }
119                 }
120
121                 part{
122                         name: "swallow.input";
123                         type: SWALLOW;
124                         scale: 1;
125                         mouse_events: 1;
126                         description{
127                                 state: "default" 0.0;
128                                 rel1 { relative: 0 217/MAIN_H;  to: "background";}
129                                 rel2 { relative: 1 351/MAIN_H;  to: "background";}
130
131                         }
132                 }
133                 part{
134                         name: "swallow.event.bg";
135                         type: RECT;
136                         scale: 1;
137                         mouse_events: 1;
138                         description{
139                                 state: "default" 0.0;
140                                 align: 0.0 0.0;
141                                 fixed: 0 1;
142                                 rel1{
143                                         relative: 0.0 (1116/MAIN_H);
144                                         to: "background";
145                                 }
146                                 rel2{
147                                         relative: 1.0 (1230/MAIN_H);
148                                         to: "background";
149                                 }
150                                 color: 0 0 0 125;
151                         }
152                         description{
153                                 state: "up" 0.0;
154                                 inherit: "default" 0.0;
155                                 rel1{
156                                         relative: 0.0 (575/MAIN_H);
157                                         to: "background";
158                                 }
159                                 rel2{
160                                         relative: 1.0 (689/MAIN_H);
161                                         to: "background";
162                                 }
163                                 color: 0 0 0 125;
164                         }
165                 }
166
167                 part{
168                         name: "swallow.event.down";
169                         type: SWALLOW;
170                         scale: 1;
171                         mouse_events: 1;
172                         description{
173                                 state: "default" 0.0;
174                                 align: 0.0 0.0;
175                                 fixed: 0 1;
176                                 rel1{
177                                         relative: 0.0 (1116/MAIN_H);
178                                         to: "background";
179                                 }
180                                 rel2{
181                                         relative: 1.0 (1230/MAIN_H);
182                                         to: "background";
183                                 }
184                         }
185                 }
186                 part{
187                         name: "swallow.event.up";
188                         type: SWALLOW;
189                         scale: 1;
190                         mouse_events: 1;
191                         description{
192                                 state: "default" 0.0;
193                                 align: 0.0 0.0;
194                                 fixed: 0 1;
195                                 rel1{
196                                         relative: 0.0 (575/MAIN_H);
197                                         to: "background";
198                                 }
199                                 rel2{
200                                         relative: 1.0 (689/MAIN_H);
201                                         to: "background";
202                                 }
203                         }
204                 }
205         }
206
207         programs{
208                 program{
209                         name: "bg.event.up";
210                         signal: "bg.up";
211                         source: "swallow.event.bg";
212                         action: STATE_SET "up" 0.0;
213                         target: "swallow.event.bg";
214                 }
215                 program{
216                         name: "bg.event.down";
217                         signal: "bg.down";
218                         source: "swallow.event.bg";
219                         action: STATE_SET "default" 0.0;
220                         target: "swallow.event.bg";
221                 }
222
223         }
224 }