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