[mobile] Fix logic to launch menu-screen at 64bit binary
[apps/native/starter.git] / res / edje / mobile / lock_btn.edc
1 /*
2  * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 styles {
19         style {
20                 name: "unlock_text";
21                 base: "font=Tizen:style=Regular color=#FFFFFFFF color_class=ATO017 font_size=10 text_class=ATO017 style=shadow shadow_color=#000000bf align: 0.5 0.0 wrap=word";
22         }
23 }
24
25 #define TEXT_BUTTON_CLASS "ATO007"
26
27
28 collections {
29         group {
30                 name: "elm/button/base/emg_cal_btn";
31                 parts {
32                         part {
33                                 name: "elm.swallow.content";
34                                 type: RECT;
35                                 mouse_events: 1;
36                                 repeat_events: 1;
37                                 description {
38                                         state: "default" 0.0;
39                                         color: 0 0 0 0;
40                                         visible: 1;
41                                         rel1.relative: 0.0 0.0;
42                                         rel2.relative: 1.0 1.0;
43                                         align: 0.0 0.0;
44                                 }
45                         }
46                         part {
47                                 name: "elm.text";
48                                 type: TEXT;
49                                 effect: "SHADOW";
50                                 mouse_events: 1;
51                                 repeat_events: 1;
52                                 description {
53                                         state: "default" 0.0;
54                                         fixed: 1 1;
55                                         color: 255 255 255 255;
56                                         visible: 1;
57                                         rel1.relative: 0.0 0.0;
58                                         rel2.relative: 1.0 1.0;
59                                         text {
60                                                 align: 0.0 0.5;
61                                                 size: 28;
62                                                 text_class: TEXT_BUTTON_CLASS;
63                                         }
64                                 }
65                                 description {
66                                         state: "pressed" 0.0;
67                                         inherit: "default" 0.0;
68                                         color: 255 255 255 120;
69                                 }
70                         }
71                 }
72                 programs {
73                         program {
74                                 name: "mouse,clicked";
75                                 signal: "mouse,clicked,1";
76                                 source: "elm.swallow.content";
77                                 action: SIGNAL_EMIT "elm,action,click" "";
78                         }
79                         program {
80                                 name: "button,pressed";
81                                 signal: "mouse,down,1";
82                                 action: STATE_SET "pressed" 0.0;
83                                 source: "elm.swallow.content";
84                                 target: "elm.text";
85                         }
86                         program {
87                                 name: "button,unpressed";
88                                 signal: "mouse,up,1";
89                                 action: STATE_SET "default" 0.0;
90                                 source: "elm.swallow.content";
91                                 target: "elm.text";
92                         }
93                 }
94         }
95
96         group {
97                 name: "elm/button/base/tizen_account_btn";
98                 parts {
99                         part {
100                                 name: "elm.swallow.content";
101                                 type: RECT;
102                                 mouse_events: 1;
103                                 repeat_events: 1;
104                                 description {
105                                         state: "default" 0.0;
106                                         color: 0 0 0 0;
107                                         visible: 1;
108                                         rel1.relative: 0.0 0.0;
109                                         rel2.relative: 1.0 1.0;
110                                         align: 0.0 0.0;
111                                 }
112                         }
113                         part {
114                                 name: "elm.text";
115                                 type: TEXTBLOCK;
116                                 effect: "SHADOW";
117                                 mouse_events: 1;
118                                 repeat_events: 1;
119                                 description {
120                                         state: "default" 0.0;
121                                         fixed: 1 1;
122                                         color: 255 255 255 255;
123                                         visible: 1;
124                                         rel1.relative: 0.0 0.0;
125                                         rel2.relative: 1.0 1.0;
126                                         text {
127                                                 style: "unlock_text";
128                                         }
129                                 }
130                                 description {
131                                         state: "pressed" 0.0;
132                                         inherit: "default" 0.0;
133                                         color: 255 255 255 120;
134                                 }
135                         }
136                 }
137                 programs {
138                         program {
139                                 name: "mouse,clicked";
140                                 signal: "mouse,clicked,1";
141                                 source: "elm.swallow.content";
142                                 action: SIGNAL_EMIT "elm,action,click" "";
143                         }
144                         program {
145                                 name: "button,pressed";
146                                 signal: "mouse,down,1";
147                                 action: STATE_SET "pressed" 0.0;
148                                 source: "elm.swallow.content";
149                                 target: "elm.text";
150                         }
151                         program {
152                                 name: "button,unpressed";
153                                 signal: "mouse,up,1";
154                                 action: STATE_SET "default" 0.0;
155                                 source: "elm.swallow.content";
156                                 target: "elm.text";
157                         }
158                 }
159         }
160
161         group {
162                 name: "elm/button/base/right_button";
163                 parts {
164                         part {
165                                 name: "elm.swallow.content";
166                                 type: RECT;
167                                 mouse_events: 1;
168                                 repeat_events: 1;
169                                 description {
170                                         state: "default" 0.0;
171                                         color: 0 0 0 0;
172                                         visible: 1;
173                                         rel1.relative: 0.0 0.0;
174                                         rel2.relative: 1.0 1.0;
175                                         align: 1.0 0.0;
176                                 }
177                         }
178                         part {
179                                 name: "effect";
180                                 type: RECT;
181                                 mouse_events: 1;
182                                 repeat_events: 1;
183                                 description {
184                                         state: "default" 0.0;
185                                         visible: 0;
186                                 }
187                                 description {
188                                         state: "pressed" 0.0;
189                                         //color_class: AO018;
190                                         visible: 1;
191                                         rel1.to: "elm.text";
192                                         rel1.offset: -3 0;
193                                         rel2.to: "elm.text";
194                                         rel2.offset: 3 0;
195                                 }
196                         }
197                         part {
198                                 name: "elm.text";
199                                 type: TEXT;
200                                 effect: "SHADOW";
201                                 mouse_events: 1;
202                                 repeat_events: 1;
203                                 description {
204                                         state: "default" 0.0;
205                                         color: 255 255 255 255;
206                                         visible: 1;
207                                         rel1.relative: 1.0 0.0;
208                                         rel2.relative: 1.0 1.0;
209                                         align: 1.0 0.5;
210                                         text {
211                                                 align: 1.0 0.5;
212                                                 size: 28;
213                                                 //text_class: "ATO007";
214                                                 min: 1 0;
215                                                 ellipsis: -1;
216                                         }
217                                 }
218                         }
219                 }
220                 programs {
221                         program {
222                                 name: "mouse,clicked";
223                                 signal: "mouse,clicked,1";
224                                 source: "elm.swallow.content";
225                                 action: SIGNAL_EMIT "elm,action,click" "";
226                         }
227                         program {
228                                 name: "button,pressed";
229                                 signal: "mouse,down,1";
230                                 action: STATE_SET "pressed" 0.0;
231                                 source: "elm.swallow.content";
232                                 target: "effect";
233                         }
234                         program {
235                                 name: "button,unpressed";
236                                 signal: "mouse,up,1";
237                                 action: STATE_SET "default" 0.0;
238                                 source: "elm.swallow.content";
239                                 target: "effect";
240                         }
241                 }
242         }
243
244         group {
245                 name: "elm/button/base/left_button";
246                 parts {
247                         part {
248                                 name: "elm.swallow.content";
249                                 type: RECT;
250                                 mouse_events: 1;
251                                 repeat_events: 1;
252                                 description {
253                                         state: "default" 0.0;
254                                         color: 0 0 0 0;
255                                         visible: 1;
256                                         rel1.relative: 0.0 0.0;
257                                         rel2.relative: 1.0 1.0;
258                                         align: 0.0 0.0;
259                                 }
260                         }
261                         part {
262                                 name: "effect";
263                                 type: RECT;
264                                 mouse_events: 1;
265                                 repeat_events: 1;
266                                 description {
267                                         state: "default" 0.0;
268                                         visible: 0;
269                                 }
270                                 description {
271                                         state: "pressed" 0.0;
272                                         color_class: AO018;
273                                         visible: 1;
274                                         rel1.to: "elm.text";
275                                         rel1.offset: -3 -3;
276                                         rel2.to: "elm.text";
277                                         rel2.offset: 3 3;
278                                 }
279                         }
280                         part {
281                                 name: "elm.text";
282                                 type: TEXT;
283                                 effect: "SHADOW";
284                                 mouse_events: 1;
285                                 repeat_events: 1;
286                                 description {
287                                         state: "default" 0.0;
288                                         fixed: 1 1;
289                                         color: 255 255 255 255;
290                                         visible: 1;
291                                         rel1.relative: 0.0 0.0;
292                                         rel2.relative: 0.0 1.0;
293                                         align: 0.0 0.5;
294                                         text {
295                                                 align: 0.0 0.5;
296                                                 size: 28;
297                                                 //text_class: "ATO007";
298                                                 min: 1 0;
299                                                 ellipsis: -1;
300                                         }
301                                 }
302                         }
303                 }
304                 programs {
305                         program {
306                                 name: "mouse,clicked";
307                                 signal: "mouse,clicked,1";
308                                 source: "elm.text";
309                                 action: SIGNAL_EMIT "elm,action,click" "";
310                         }
311                         program {
312                                 name: "button,pressed";
313                                 signal: "mouse,down,1";
314                                 action: STATE_SET "pressed" 0.0;
315                                 source: "elm.text";
316                                 target: "effect";
317                         }
318                         program {
319                                 name: "button,unpressed";
320                                 signal: "mouse,up,1";
321                                 action: STATE_SET "default" 0.0;
322                                 source: "elm.text";
323                                 target: "effect";
324                         }
325                 }
326         }
327
328         group {
329                 name: "elm/button/base/center_button";
330                 parts {
331                         part {
332                                 name: "elm.swallow.content";
333                                 type: RECT;
334                                 mouse_events: 1;
335                                 repeat_events: 1;
336                                 description {
337                                         state: "default" 0.0;
338                                         color: 0 0 0 0;
339                                         visible: 1;
340                                         rel1.relative: 0.0 0.0;
341                                         rel2.relative: 1.0 1.0;
342                                         align: 0.0 0.0;
343                                 }
344                         }
345                         part {
346                                 name: "elm.text";
347                                 type: TEXT;
348                                 effect: "SHADOW";
349                                 mouse_events: 1;
350                                 repeat_events: 1;
351                                 description {
352                                         state: "default" 0.0;
353                                         fixed: 1 1;
354                                         color: 255 255 255 255;
355                                         visible: 1;
356                                         rel1.relative: 0.0 0.0;
357                                         rel2.relative: 1.0 1.0;
358                                         text {
359                                                 align: 0.5 0.5;
360                                                 size: 28;
361                                                 //text_class: "ATO007";
362                                         }
363                                 }
364                                 description {
365                                         state: "pressed" 0.0;
366                                         inherit: "default" 0.0;
367                                         color: 255 255 255 128;
368                                 }
369                         }
370                 }
371                 programs {
372                         program {
373                                 name: "mouse,clicked";
374                                 signal: "mouse,clicked,1";
375                                 source: "elm.swallow.content";
376                                 action: SIGNAL_EMIT "elm,action,click" "";
377                         }
378                         program {
379                                 name: "button,pressed";
380                                 signal: "mouse,down,1";
381                                 action: STATE_SET "pressed" 0.0;
382                                 source: "elm.swallow.content";
383                                 target: "elm.text";
384                         }
385                         program {
386                                 name: "button,unpressed";
387                                 signal: "mouse,up,1";
388                                 action: STATE_SET "default" 0.0;
389                                 source: "elm.swallow.content";
390                                 target: "elm.text";
391                         }
392                 }
393         }
394 }