3cd015565c89a84e294af7c94970f66fe6e2a2a8
[apps/core/preloaded/calendar.git] / data / edc / layout / inc.main.day.tb.edc
1 /*
2   *
3   *  Copyright 2012  Samsung Electronics Co., Ltd
4   *
5   *  Licensed under the Flora License, Version 1.0 (the "License");
6   *  you may not use this file except in compliance with the License.
7   *  You may obtain a copy of the License at
8   *
9   *       http://floralicense.org/license/
10   *
11   *  Unless required by applicable law or agreed to in writing, software
12   *  distributed under the License is distributed on an "AS IS" BASIS,
13   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   *  See the License for the specific language governing permissions and
15   *  limitations under the License.
16   */
17
18 group { name, "main/day/time";
19
20         parts {
21                 part { name, "base";
22                         type, RECT;
23                         description {
24                                 state, "default" 0.0;
25                                 color, 0 0 0 0;
26                         }
27                 }
28                 part { name, "sw";
29                         type, SWALLOW;
30                         clip_to, "clip";
31                         description {
32                                 state, "default" 0.0;
33                                 rel1.to, "base";
34                                 rel2.to, "base";
35                         }
36                 }
37                 part { name, "clip";
38                         type, RECT;
39                         description {
40                                 state, "default" 0.0;
41                                 rel1.to, "sw";
42                                 rel2.to, "sw";
43                         }
44                 }
45         }
46 }
47
48
49 group { name, "main/day/time/timeblock";
50
51         images {
52                 image, "calendar_selected.png" COMP;
53                 image, DAY_CURRENT_TIME COMP;
54                 image, NOSCHEDULE COMP;
55         }
56
57         parts {
58                 part { name, "base";
59                         type, RECT;
60                         repeat_events, 1;
61                         description {
62                                 state, "default" 0.0;
63                                 color, 0 0 0 0;
64                         }
65                 }
66                 part { name, "bg/ampm";
67                         type, RECT;
68                         mouse_events, 0;
69                         description {
70                                 state, "default" 0.0;
71                                 rel1.to, "base";
72                                 rel2.to, "base";
73                                 color, 0 0 0 0;
74                         }
75                         description {
76                                 state, "pm" 0.0;
77                                 inherit, "default" 0.0;
78                                 color, 0 0 0 10;
79                         }
80                 }
81                 part { name, "bg/sel";
82                         mouse_events, 0;
83                         scale, 1;
84                         description {
85                                 state, "default" 0.0;
86                                 rel1 {
87                                         relative, 1.0 0.0;
88                                         to_x, "text/base"; to_y, "base";
89                                 }
90                                 rel2.to, "base";
91                                 image {
92                                         normal, "calendar_selected.png";
93                                         border, 3 3 3 3;
94                                         border_scale, 1;
95                                 }
96                                 visible, 0;
97                         }
98                         description {
99                                 state, "selected" 0.0;
100                                 inherit, "default" 0.0;
101                                 visible, 1;
102                         }
103                 }
104                 part { name, "text/base";
105                         type, RECT;
106                         scale, 1;
107                         mouse_events, 0;
108                         description {
109                                 state, "default" 0.0;
110                                 min, 42 0;
111                                 fixed, 1 0;
112                                 rel1.to, "base";
113                                 rel2 { relative, 0.0 1.0; to, "base"; }
114                                 align, 0.0 0.0;
115                                 color, 0 0 0 0;
116                         }
117                 }
118                 part { name, "text";
119                         type, TEXT;
120                         scale, 1;
121                         mouse_events, 0;
122                         description {
123                                 state, "default" 0.0;
124                                 rel1 { relative, 0.0 0.0; to, "text/base"; }
125                                 rel2 { relative, 1.0 0.25; to, "text/base"; }
126                                 text {
127                                         font, "SLP:style=Regular";
128                                         size, 24;
129                                         align, 0.5 0.0;
130                                 }
131                                 color, 171 171 171 255;
132                         }
133                         description {
134                                 state, "hide" 0.0;
135                                 inherit, "default" 0.0;
136                                 visible, 0;
137                         }
138                 }
139                 part { name, "AM";
140                         type, TEXT;
141                         scale, 1;
142                         mouse_events, 0;
143                         description {
144                                 state, "default" 0.0;
145                                 rel1 { relative, 0.0 0.25; to, "text/base"; }
146                                 rel2 { relative, 1.0 0.6; to, "text/base"; }
147                                 visible, 0;
148                         }
149                         description {
150                                 state, "default" 0.1;
151                                 rel1 { relative, 0.0 0.25; to, "text/base"; }
152                                 rel2 { relative, 1.0 0.6; to, "text/base"; }
153                                 text {
154                                         font, "SLP:style=Regular";
155                                         size, 20;
156                                         align, 0.5 0.0;
157                                 }
158                                 color, 171 171 171 255;
159                                 visible, 1;
160                         }
161                 }
162                 part { name, "PM";
163                         type, TEXT;
164                         scale, 1;
165                         mouse_events, 0;
166                         description {
167                                 state, "default" 0.0;
168                                 rel1 { relative, 0.0 0.25; to, "text/base"; }
169                                 rel2 { relative, 1.0 0.6; to, "text/base"; }
170                                 visible, 0;
171                         }
172                         description {
173                                 state, "default" 0.1;
174                                 rel1 { relative, 0.0 0.25; to, "text/base"; }
175                                 rel2 { relative, 1.0 0.6; to, "text/base"; }
176                                 text {
177                                         font, "SLP:style=Regular";
178                                         size, 20;
179                                         align, 0.5 0.0;
180                                 }
181                                 color, 171 171 171 255;
182                                 visible, 1;
183                         }
184                 }
185                 part { name, "line/hori";
186                         type, RECT;
187                         mouse_events, 0;
188                         description {
189                                 state, "default" 0.0;
190                                 min, 0 1;
191                                 fixed, 0 1;
192                                 rel1 {
193                                         relative, 1.0 1.0; offset, 0 -1;
194                                         to_x, "text/base"; to_y, "base";
195                                 }
196                                 rel2.to, "base";
197                                 color, COLOR_OF_HORIZEN_LINE_FOR_TAB;
198                                 align, 0.5 0.0;
199                         }
200                 }
201                 part { name, "line/hori_mid";
202                         type, RECT;
203                         mouse_events, 0;
204                         description {
205                                 state, "default" 0.0;
206                                 min, 0 1;
207                                 fixed, 0 1;
208                                 rel1 {
209                                         relative, 1.0 0.5; offset, 0 -1;
210                                         to_x, "text/base"; to_y, "base";
211                                 }
212                                 rel2{
213                                         relative, 1.0 0.5;
214                                         to, "base";
215                                 }
216                                 color, COLOR_OF_MIDDLE_LINE_FOR_TAB;
217                                 align, 0.5 0.0;
218                         }
219                 }
220                 part { name, "line/vert";
221                         type, RECT;
222                         mouse_events, 0;
223                         description {
224                                 state, "default" 0.0;
225                                 min, 1 0;
226                                 fixed, 1 0;
227                                 rel1 { relative, 1.0 0.0; to, "text/base"; }
228                                 rel2 { relative, 1.0 1.0; to, "text/base"; }
229                                 color, COLOR_OF_VERT_LINE_FOR_TAB;
230                                 align, 1.0 0.5;
231                         }
232                 }
233                 part { name, "evtbase/top";
234                         type, RECT;
235                         mouse_events, 0;
236                         description {
237                                 state, "default" 0.0;
238                                 rel1 {
239                                         relative, 1.0 0.0;
240                                         to_x, "text/base"; to_y, "base";
241                                 }
242                                 rel2 { relative, 1.0 0.5; to, "base"; }
243                                 color, 0 0 0 0;
244                         }
245                 }
246                 part { name, "evtbase/bottom";
247                         type, RECT;
248                         mouse_events, 0;
249                         description {
250                                 state, "default" 0.0;
251                                 rel1 {
252                                         relative, 1.0 0.5;
253                                         to_x, "text/base"; to_y, "base";
254                                 }
255                                 rel2.to, "base";
256                                 color, 0 0 0 0;
257                         }
258                 }
259                 part { name, "bg/contracted";
260                         mouse_events, 0;
261                         scale, 1;
262                         description {
263                                 state, "default" 0.0;
264                                 min, 0 62;
265                                 fixed, 0 1;
266                                 rel1 {
267                                         relative, 1.0 0.0; offset, 0 10;
268                                         to_x, "text/base"; to_y, "base";
269                                 }
270                                 rel2 {
271                                         relative, 1.0 1.0;offset, 0 -12;
272                                         to_x, "base"; to_y, "base";
273                                 }
274                                 image {
275                                         normal, "P01_noschedule.png";
276                                         border, 3 3 3 3;
277                                         border_scale, 1;
278                                 }
279                                 align, 0.5 0.0;
280                                 visible, 0;
281                         }
282                         description {
283                                 state, "contracted" 0.0;
284                                 inherit, "default" 0.0;
285                                 visible, 1;
286                         }
287                 }
288                 part { name, "line/on_time";
289                         type, RECT;
290                         mouse_events, 0;
291                         description {
292                                 state, "default" 0.0;
293                                 min, 0 2;
294                                 fixed, 0 1;
295                                 rel1 {
296                                         relative, 1.0 0.5; offset, 0 -2;
297                                         to_x, "text/base"; to_y, "base";
298                                 }
299                                 rel2{
300                                         relative, 1.0 0.5;
301                                         to, "base";
302                                 }
303                                 color, COLOR_OF_ON_TIME_LINE_FOR_TAB;
304                                 align, 0.5 0.0;
305                                 visible, 0;
306                         }
307                         description {
308                                 state, "show" 0.0;
309                                 inherit, "default" 0.0;
310                                 visible, 1;
311                         }
312                 }
313                 part { name, "line/on_time/img";
314                         scale, 1;
315                         mouse_events, 0;
316                         description {
317                                 state, "default" 0.0;
318                                 min, 9 16;
319                                 fixed, 1 1;
320                                 rel1 {
321                                         relative, 1.0 0.5;
322                                         to_x, "text/base"; to_y, "base";
323                                 }
324                                 rel2{
325                                         relative, 1.0 0.5;
326                                         to_x, "text/base"; to_y, "base";
327                                 }
328                                 align, 1.0 0.5;
329                                 image.normal, "P01_day_current_time.png";
330                                 visible, 0;
331                         }
332                         description {
333                                 state, "show" 0.0;
334                                 inherit, "default" 0.0;
335                                 visible, 1;
336                         }
337                 }
338         }
339         programs {
340                 program { name, "tb/down";
341                         signal, "mouse,down,1";
342                         source, "base";
343                         action, SIGNAL_EMIT "dn" "edj";
344                 }
345                 program { name, "tb/up";
346                         signal, "mouse,up,1";
347                         source, "base";
348                         action, SIGNAL_EMIT "up" "edj";
349                 }
350                 program { name, "tb/select";
351                         signal, "select";
352                         source, "prog";
353                         action, STATE_SET "selected" 0.0;
354                         target, "bg/sel";
355                 }
356                 program { name, "tb/unselect";
357                         signal, "unselect";
358                         source, "prog";
359                         action, STATE_SET "default" 0.0;
360                         target, "bg/sel";
361                 }
362                 program { name, "tb/am";
363                         signal, "am";
364                         source, "prog";
365                         action, STATE_SET "default" 0.0;
366                         target, "bg/ampm";
367                 }
368                 program { name, "tb/pm";
369                         signal, "pm";
370                         source, "prog";
371                         action, STATE_SET "pm" 0.0;
372                         target, "bg/ampm";
373                 }
374                 program { name, "tb/text/show";
375                         signal, "show,text";
376                         source, "prog";
377                         action, STATE_SET "default" 0.0;
378                         target, "text";
379                 }
380                 program { name, "tb/text/hide";
381                         signal, "hide,text";
382                         source, "prog";
383                         action, STATE_SET "hide" 0.0;
384                         target, "text";
385                 }
386                 program { name, "tb/on_time/show";
387                         signal, "show,line";
388                         source, "prog";
389                         action, STATE_SET "show" 0.0;
390                         target, "line/on_time";
391                 }
392                 program { name, "tb/on_time/show/img";
393                         signal, "show,img";
394                         source, "prog";
395                         action, STATE_SET "show" 0.0;
396                         target, "line/on_time/img";
397                 }
398                 program { name, "tb/on_time/hide";
399                         signal, "hide,line";
400                         source, "prog";
401                         action, STATE_SET "default" 0.0;
402                         target, "line/on_time";
403                 }
404                 program { name, "tb/on_time/hide/img";
405                         signal, "hide,img";
406                         source, "prog";
407                         action, STATE_SET "default" 0.0;
408                         target, "line/on_time/img";
409                 }
410                 program { name, "tb/contracted";
411                         signal, "contracted";
412                         source, "prog";
413                         action, STATE_SET "contracted" 0.0;
414                         target, "bg/contracted";
415                 }
416                 program { name, "tb/uncontracted";
417                         signal, "uncontracted";
418                         source, "prog";
419                         action, STATE_SET "default" 0.0;
420                         target, "bg/contracted";
421                 }
422                 program { name, "show am";
423                         signal, "show,AM";
424                         source, "prog";
425                         action, STATE_SET "default" 0.1;
426                         target, "AM";
427                 }
428                 program { name, "hide am";
429                         signal, "hide,AM";
430                         source, "prog";
431                         action, STATE_SET "default" 0.0;
432                         target, "AM";
433                 }
434                 program { name, "show pm";
435                         signal, "show,PM";
436                         source, "prog";
437                         action, STATE_SET "default" 0.1;
438                         target, "PM";
439                 }
440                 program { name, "hide pm";
441                         signal, "hide,PM";
442                         source, "prog";
443                         action, STATE_SET "default" 0.0;
444                         target, "PM";
445                 }
446         }
447 }
448
449
450
451 group { name, "main/day/time/eventblock";
452
453         images {
454                 image, CALENDAR_EVENT_BG_1 COMP;
455                 image, CALENDAR_EVENT_BG_2 COMP;
456                 image, CALENDAR_EVENT_BG_3 COMP;
457                 image, CALENDAR_EVENT_BG_4 COMP;
458                 image, "P01_day_event_bg_02_strok.png" COMP;
459
460         }
461
462         styles {
463                 style { name, "event_textblock";
464                         base, "font=SLP:style=Regular font_size=24 color=#855A1DEF wrap=mixed ellipsis=1";
465                         tag,  "br" "\n";
466                         tag,  "ps" "ps";
467                         tag,  "hilight" "+ font=SLP:style=Regular";
468                         tag,  "b" "+ font=SLP:style=Regular";
469                         tag,  "tab" "\t";
470                 }
471                 style { name, "event_textblock_p";
472                         base, "font=SLP:style=Regular font_size=24 color=#237A99EF wrap=word";
473                         tag,  "br" "\n";
474                         tag,  "ps" "ps";
475                         tag,  "hilight" "+ font=SLP:style=Regular";
476                         tag,  "b" "+ font=SLP:style=Regular";
477                         tag,  "tab" "\t";
478                 }
479         }
480
481         parts {
482                 part { name, "base";
483                         type, RECT;
484                         scale, 1;
485                         mouse_events, 0;
486                         description {
487                                 state, "default" 0.0;
488                                 min, 0 79;
489                                 fixed, 0 1;
490                                 color, 0 0 0 0;
491                         }
492                 }
493                 part { name, "bg/top";
494                         type, RECT;
495                         scale, 1;
496                         mouse_events, 0;
497                         description {
498                                 state, "default" 0.0;
499                                 min, 0 7;
500                                 fixed, 0 1;
501                                 rel1.to, "base";
502                                 rel2 { relative, 1.0 0.0; to, "base"; }
503                                 color, 0 0 0 0;
504                                 align, 0.5 0.0;
505                         }
506                 }
507                 part { name, "bg/bottom";
508                         type, RECT;
509                         scale, 1;
510                         mouse_events, 0;
511                         description {
512                                 state, "default" 0.0;
513                                 min, 0 7;
514                                 fixed, 0 1;
515                                 rel1 { relative, 0.0 1.0; to, "base"; }
516                                 rel2.to, "base";
517                                 color, 0 0 0 0;
518                                 align, 0.5 1.0;
519                         }
520                 }
521                 part { name, "bg/left";
522                         type, RECT;
523                         scale, 1;
524                         mouse_events, 0;
525                         description {
526                                 state, "default" 0.0;
527                                 min, 5 0;
528                                 fixed, 1 0;
529                                 rel1.to, "base";
530                                 rel2 { relative, 0.0 1.0; to, "base"; }
531                                 color, 0 0 0 0;
532                                 align, 0.0 0.5;
533                         }
534                         description {
535                                 state, "longpressed" 0.0;
536                                 min, 10 0;
537                                 fixed, 1 0;
538                                 rel1.to, "base";
539                                 rel2 { relative, 0.0 1.0; to, "base"; }
540                                 color, 0 0 0 0;
541                                 align, 0.0 0.5;
542                         }
543                 }
544                 part { name, "bg/right";
545                         type, RECT;
546                         scale, 1;
547                         mouse_events, 0;
548                         description {
549                                 state, "default" 0.0;
550                                 min, 5 0;
551                                 fixed, 1 0;
552                                 rel1 { relative, 1.0 0.0; to, "base"; }
553                                 rel2.to, "base";
554                                 color, 0 0 0 0;
555                                 align, 1.0 0.5;
556                         }
557                         description {
558                                 state, "longpressed" 0.0;
559                                 min, 10 0;
560                                 fixed, 1 0;
561                                 rel1 { relative, 1.0 0.0; to, "base"; }
562                                 rel2.to, "base";
563                                 color, 0 0 0 0;
564                                 align, 0.0 0.5;
565                         }
566                 }
567                 part { name, "bg";
568                         type, RECT;
569                         scale, 1;
570                         mouse_events, 0;
571                         description {
572                                 state, "default" 0.0;
573                                 rel1 {
574                                         relative, 1.0 1.0;
575                                         to_x, "bg/left"; to_y, "bg/top";
576                                 }
577                                 rel2 {
578                                         relative, 0.0 0.0;
579                                         to_x, "bg/right"; to_y, "bg/bottom";
580                                 }
581                                 color, 0 0 0 0;
582                         }
583                 }
584                 part { name, "text/top";
585                         type, RECT;
586                         scale, 1;
587                         mouse_events, 0;
588                         description {
589                                 state, "default" 0.0;
590                                 min, 0 10;
591                                 fixed, 0 1;
592                                 rel1.to, "base";
593                                 rel2 { relative, 1.0 0.0; to, "base"; }
594                                 color, 0 0 0 0;
595                                 align, 0.5 0.0;
596                         }
597                 }
598                 part { name, "text/bottom";
599                         type, RECT;
600                         scale, 1;
601                         mouse_events, 0;
602                         description {
603                                 state, "default" 0.0;
604                                 min, 0 9;
605                                 fixed, 0 1;
606                                 rel1 { relative, 0.0 1.0; to, "base"; }
607                                 rel2.to, "base";
608                                 color, 0 0 0 0;
609                                 align, 0.5 1.0;
610                         }
611                 }
612                 part { name, "text/left";
613                         type, RECT;
614                         scale, 1;
615                         mouse_events, 0;
616                         description {
617                                 state, "default" 0.0;
618                                 min, 10 0;
619                                 fixed, 1 0;
620                                 rel1.to, "base";
621                                 rel2 { relative, 0.0 1.0; to, "base"; }
622                                 color, 0 0 0 0;
623                                 align, 0.0 0.5;
624                         }
625                 }
626                 part { name, "text/right";
627                         type, RECT;
628                         scale, 1;
629                         mouse_events, 0;
630                         description {
631                                 state, "default" 0.0;
632                                 min, 10 0;
633                                 fixed, 1 0;
634                                 rel1 { relative, 1.0 0.0; to, "base"; }
635                                 rel2.to, "base";
636                                 color, 0 0 0 0;
637                                 align, 1.0 0.5;
638                         }
639                 }
640
641                 part { name, "evt";
642                         type, RECT;
643                         repeat_events, 1;
644                         description {
645                                 state, "default" 0.0;
646                                 rel1 {
647                                                 relative, 1.0 1.0;
648                                                 to_x, "bg/left"; to_y, "bg/top";
649                                         }
650                                 rel2 {
651                                                 relative, 0.0 0.0;
652                                                 to_x, "bg/right"; to_y, "bg/bottom";
653                                         }
654                         }
655                         description {
656                                 state, "longpressed" 0.0;
657                                 rel1 {
658                                                 relative, 1.0 1.0;
659                                                 to_x, "bg/left"; to_y, "bg/top";
660                                         }
661                                 rel2 {
662                                                 relative, 0.0 0.0;
663                                                 to_x, "bg/right"; to_y, "bg/bottom";
664                                         }
665                                 visible, 0;
666                         }
667                 }
668                 part { name, "text";
669                         type, TEXTBLOCK;
670                         scale, 1;
671                         multiline, 0;
672                         mouse_events, 0;
673                         description {
674                                 state, "default" 0.0;
675                                 rel1 {
676                                         relative, 1.0 1.0;
677                                         to_x, "text/left"; to_y, "text/top";
678                                 }
679                                 rel2 {
680                                         relative, 0.0 0.0;
681                                         to_x, "text/right"; to_y, "text/bottom";
682                                 }
683                                 text.style, "event_textblock";
684                         }
685                         description {
686                                 state, "down" 0.0;
687                                 inherit, "default" 0.0;
688                                 text.style, "event_textblock_p";
689                         }
690                 }
691                 part { name, "bg_barder";
692                         scale, 1;
693                         mouse_events, 0;
694                         description {
695                                 state, "default" 0.0;
696                                 rel1 {
697                                                 relative, 0.0 0.0;
698                                                 to_x, "bg/left"; to_y, "bg/top";
699                                         }
700                                 rel2 {
701                                                 relative, 1.0 1.0;
702                                                 to_x, "bg/right"; to_y, "bg/bottom";
703                                         }
704                                 image {
705                                                 border_scale, 1;
706                                                 border, 15 15 15 15;
707                                                 normal, "P01_day_event_bg_02_strok.png";
708                                 }
709                                 visible, 0;
710                         }
711                         description {
712                                 state, "longpressed" 0.0;
713                                 inherit, "default" 0.0;
714                                 visible, 1;
715                         }
716                 }
717                 part { name, "bg/magnify/bottom";
718                         type, RECT;
719                         scale, 1;
720                         repeat_events, 1;
721                         description {
722                                 state, "default" 0.0;
723                                 min, 0 20;
724                                 fixed, 0 1;
725                                 rel1 {
726                                                 relative, 1.0 0.0;
727                                                 to_x, "bg/left"; to_y, "bg/bottom";
728                                         }
729                                 rel2 {
730                                                 relative, 0.0 0.0;
731                                                 to_x, "bg/right"; to_y, "bg/bottom";
732                                         }
733                                 color, 0 0 0 0;
734                                 align, 0.5 1.0;
735                         }
736                 }
737                 part { name, "bg/magnify/top";
738                         type, RECT;
739                         scale, 1;
740                         repeat_events, 1;
741                         description {
742                                 state, "default" 0.0;
743                                 min, 0 20;
744                                 fixed, 0 1;
745                                 rel1 {
746                                                 relative, 1.0 1.0;
747                                                 to_x, "bg/left"; to_y, "bg/top";
748                                         }
749                                 rel2 {
750                                                 relative, 0.0 1.0;
751                                                 to_x, "bg/right"; to_y, "bg/top";
752                                         }
753                                 color, 0 0 0 0;
754                                 align, 0.5 0.0;
755                         }
756                 }
757         }
758
759
760         programs {
761                 program { name, "bg/1";
762                         signal, "bg,color0";
763                         source, "prog";
764                         action, STATE_SET "default" 0.0;
765                         target, "bg";
766                 }
767                 program { name, "bg/2";
768                         signal, "bg,color1";
769                         source, "prog";
770                         action, STATE_SET "bg2" 0.0;
771                         target, "bg";
772                 }
773                 program { name, "bg/3";
774                         signal, "bg,color2";
775                         source, "prog";
776                         action, STATE_SET "bg3" 0.0;
777                         target, "bg";
778                 }
779                 program { name, "bg/4";
780                         signal, "bg,color3";
781                         source, "prog";
782                         action, STATE_SET "bg4" 0.0;
783                         target, "bg";
784                 }
785                 program { name, "evt/down";
786                         signal, "mouse,down,1";
787                         source, "evt";
788                         action, SIGNAL_EMIT "dn" "edj";
789                 }
790                 program { name, "evt/up";
791                         signal, "mouse,up,1";
792                         source, "evt";
793                         action, SIGNAL_EMIT "up" "edj";
794                 }
795                 program { name, "evt/sel";
796                         signal, "select";
797                         source, "prog";
798                         action, STATE_SET "down" 0.0;
799                         target, "text";
800                 }
801                 program { name, "evt/unsel";
802                         signal, "unselect";
803                         source, "prog";
804                         action, STATE_SET "default" 0.0;
805                         target, "text";
806                 }
807                 program { name, "longpress/on";
808                         signal, "longpress,on";
809                         source, "prog";
810                         action, STATE_SET "longpressed" 0.0;
811                         target, "bg/left";
812                         target, "bg/right";
813                         target, "bg_barder";
814                 }
815                 program { name, "longpress/border";
816                         signal, "longpress,border";
817                         source, "prog";
818                         action, STATE_SET "longpressed" 0.0;
819                         target, "bg/left";
820                         target, "bg/right";
821                         target, "bg_barder";
822                         target, "evt";
823                 }
824                 program { name, "longpress/off";
825                         signal, "longpress,off";
826                         source, "prog";
827                         action, STATE_SET "default" 0.0;
828                         target, "bg/left";
829                         target, "bg/right";
830                         target, "bg_barder";
831                 }
832                 program { name, "bg/magnify/bottom/down";
833                         signal, "mouse,down,1";
834                         source, "bg/magnify/bottom";
835                         action, SIGNAL_EMIT "mg,bottom,dn" "edj";
836                 }
837                 program { name, "bg/magnify/bottom/up";
838                         signal, "mouse,up,1";
839                         source, "bg/magnify/bottom";
840                         action, SIGNAL_EMIT "mg,bottom,up" "edj";
841                 }
842                 program { name, "bg/magnify/top/down";
843                         signal, "mouse,down,1";
844                         source, "bg/magnify/top";
845                         action, SIGNAL_EMIT "mg,top,dn" "edj";
846                 }
847                 program { name, "bg/magnify/top/up";
848                         signal, "mouse,up,1";
849                         source, "bg/magnify/top";
850                         action, SIGNAL_EMIT "mg,top,up" "edj";
851                 }
852         }
853 }