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