Fixed problem layout is broken, when screen resolution set to WVGA
[apps/home/quickpanel.git] / data / quickpanel_notibox.edc
1 //#define DEBUG
2 //#define DEBUG_TEXT
3
4 #define MAKE_PART_SHOW_PROGRAM(PARTNAME)\
5                 program{\
6                         name: PARTNAME".object.show";\
7                         signal: "object.show";\
8                         source: PARTNAME;\
9                         action: STATE_SET "show" 0.0;\
10                         target: PARTNAME;\
11                 }\
12
13 #define MAKE_PART_SHOW_TEXT_PROGRAM(PARTNAME)\
14                 program{\
15                         name: PARTNAME".text.show";\
16                         signal: "object.show";\
17                         source: PARTNAME;\
18                         action: STATE_SET "show" 0.0;\
19                         target: PARTNAME;\
20                 }\
21                 program{\
22                         name: PARTNAME".text.show.efect";\
23                         signal: "object.show.effect";\
24                         source: PARTNAME;\
25                         action: STATE_SET "show.effect" 0.0;\
26                         target: PARTNAME;\
27                 }\
28
29 images {
30         image: "quick_icon_bg_01.png" COMP;
31         image: "quick_btn_close_press.png" COMP;
32         image: "quick_btn_close_dim.png" COMP;
33         image: "quick_btn_close_nor.png" COMP;
34         image: "quick_image_dimmed_port.png" COMP;
35         image: "quick_image_dimmed_land.png" COMP;
36         image: "quick_icon_bg_small.png" COMP;
37         image: "icon_press.png" COMP;
38 }
39
40 #define BOX_FONT_SHADOW_COLOR 0 0 0 191
41 #define BOX_FONT_OUTLINE_COLOR 0 0 0 191
42 #define BOX_FONT_NO_SHADOW_COLOR 0 0 0 0
43 #define BOX_FONT_NO_OUTLINE_COLOR 0 0 0 0
44
45 #define BOX_CONTENTS_FONT "Tizen:style=Medium"
46 #define BOX_CONTENTS_FONT_SIZE 32
47 #define BOX_CONTENTS_FONT_COLOR 248 246 239 255
48
49 #define BOX_INFO_FONT "Tizen:style=Regular"
50 #define BOX_INFO_FONT_SIZE 28
51 #define BOX_INFO_FONT_COLOR 248 246 239 127
52
53 #define BOX_INFO_SHORT_FONT "Tizen:style=Medium"
54 #define BOX_INFO_SHORT_FONT_SIZE 28
55 #define BOX_INFO_SHORT_FONT_COLOR 248 246 239 127
56
57 #define BOX_INFO_SUB_FONT "Tizen:style=Regular"
58 #define BOX_INFO_SUB_FONT_SIZE 20
59 #define BOX_INFO_SUB_FONT_COLOR 248 246 239 127
60
61 #define BOX_INFO_COUNT_FONT "Tizen:style=Medium"
62 #define BOX_INFO_COUNT_FONT_SIZE 46
63 #define BOX_INFO_COUNT_FONT_COLOR 248 246 239 255
64
65 #define TEXT_CLASS_TIZEN "tizen"
66 #define TEXT_EFFECT "OUTLINE_SHADOW"
67
68 styles {
69         style {
70                 name: "notibox_title";
71                 base: "font=Tizen:style=Regular text_class=tizen font_size=38 color=#F8F6EF ellipsis=1.0 wrap=mixed";
72         }
73
74         style {
75                 name: "notibox_title_effect";
76                 base: "font=Tizen:style=Regular text_class=tizen font_size=38 color=#F8F6EF ellipsis=1.0 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
77         }
78
79         style {
80                 name: "notibox_contents";
81                 base: "font=Tizen:style=Medium text_class=tizen font_size=32 color=#F8F6EF ellipsis=1.0 linegap=-6 wrap=mixed";
82         }
83
84         style {
85                 name: "notibox_contents_effect";
86                 base: "font=Tizen:style=Medium text_class=tizen font_size=32 color=#F8F6EF ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
87         }
88
89         style {
90                 name: "notibox_info";
91                 base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed";
92         }
93
94         style {
95                 name: "notibox_info_effect";
96                 base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
97         }
98
99         style {
100                 name: "notibox_info_short";
101                 base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed";
102         }
103
104         style {
105                 name: "notibox_info_short_effect";
106                 base: "font=Tizen:style=Regular text_class=tizen font_size=28 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
107         }
108
109         style {
110                 name: "notibox_info_sub";
111                 base: "font=Tizen:style=Regular text_class=tizen font_size=20 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed";
112         }
113
114         style {
115                 name: "notibox_info_sub_effect";
116                 base: "font=Tizen:style=Regular text_class=tizen font_size=20 color=#F8F6EF7F ellipsis=1.0 linegap=-6 wrap=mixed style=outline_shadow outline_color=#000000BF shadow_color=#000000BF";
117         }
118 }
119
120 group {
121         name: "quickpanel/notibox/single_multi";
122
123         script {
124                 public g_is_close_button_disabled;
125                 public g_is_show_dim_bg;
126
127                 public init_variables() {
128                         set_int(g_is_close_button_disabled, 0);
129                         set_int(g_is_show_dim_bg, 0);
130                 }
131         }
132
133         parts {
134                 part {
135                         name: "background";
136                         type: RECT;
137                         scale: 1;
138                         description {
139                                 state: "default" 0.0;
140                                 fixed: 0 0;
141                                 color: BOX_COLOR_BG;
142                                 align: 0.0 0.0;
143                         }
144                         description {
145                                 state: "portrait" 0.0;
146                                 inherit: "default" 0.0;
147                         }
148                         description {
149                                 state: "landscape" 0.0;
150                                 inherit: "default" 0.0;
151                         }
152                 }
153
154                 //section layout for margin
155
156                 part {
157                         name: "margin.left";
158                         type: RECT;
159                         scale: 1;
160                         description {
161                                 state: "default" 0.0;
162                                 min: BOX_MARGIN_L_TEXT_H 0;
163                                 fixed: 1 0;
164                                 rel1 {
165                                         relative: 0.0 0.0;
166                                 }
167                                 rel2 {
168                                         relative: 0.0 1.0;
169                                 }
170                                 align: 0.0 0.0;
171 #ifdef DEBUG
172                                 color: 0 0 255 255;
173 #else
174                                 visible:0;
175 #endif
176                         }
177                 }
178                 part {
179                         name: "margin.right";
180                         type: RECT;
181                         scale: 1;
182                         description {
183                                 state: "default" 0.0;
184                                 min: BOX_MARGIN_R_TEXT_H 0;
185                                 fixed: 1 0;
186                                 rel1 {
187                                         relative: 1.0 0.0;
188                                 }
189                                 rel2 {
190                                         relative: 1.0 1.0;
191                                 }
192                                 align: 1.0 0.0;
193 #ifdef DEBUG
194                                 color: 0 0 255 255;
195 #else
196                                 visible:0;
197 #endif
198                         }
199                 }
200                 part {
201                         name: "margin.right.icon";
202                         type: RECT;
203                         scale: 1;
204                         description {
205                                 state: "default" 0.0;
206                                 min: 8 0;
207                                 fixed: 1 0;
208                                 rel1 {
209                                         relative: 1.0 0.0;
210                                 }
211                                 rel2 {
212                                         relative: 1.0 1.0;
213                                 }
214                                 align: 1.0 0.0;
215 #ifdef DEBUG
216                                 color: 0 255 255 255;
217 #else
218                                 visible:0;
219 #endif
220                         }
221                 }
222                 part {
223                         name: "margin.top.icon";
224                         type: RECT;
225                         scale: 1;
226                         description {
227                                 state: "default" 0.0;
228                                 min: 0 44;
229                                 fixed: 0 1;
230                                 rel1 {
231                                         relative: 0.0 0.0;
232                                 }
233                                 rel2 {
234                                         relative: 1.0 0.0;
235                                 }
236                                 align: 0.0 0.0;
237 #ifdef DEBUG
238                                 color: 255 0 255 255;
239 #else
240                                 visible:0;
241 #endif
242                         }
243                 }
244                 part {
245                         name: "margin.top.text";
246                         type: RECT;
247                         scale: 1;
248                         description {
249                                 state: "default" 0.0;
250                                 min: 0 20;
251                                 fixed: 0 1;
252                                 rel1 {
253                                         relative: 0.0 0.0;
254                                 }
255                                 rel2 {
256                                         relative: 1.0 0.0;
257                                 }
258                                 align: 0.0 0.0;
259 #ifdef DEBUG
260                                 color: 0 0 255 255;
261 #else
262                                 visible:0;
263 #endif
264                         }
265                 }
266                 part {
267                         name: "margin.bottom";
268                         type: RECT;
269                         scale: 1;
270                         description {
271                                 state: "default" 0.0;
272                                 min: 0 14;
273                                 fixed: 0 1;
274                                 rel1 {
275                                         relative: 0.0 1.0;
276                                 }
277                                 rel2 {
278                                         relative: 1.0 1.0;
279                                 }
280                                 align: 0.0 1.0;
281 #ifdef DEBUG
282                                 color: 0 0 255 255;
283 #else
284                                 visible:0;
285 #endif
286                         }
287                 }
288                 part {
289                         name: "margin.bottom.thin";
290                         type: RECT;
291                         scale: 1;
292                         description {
293                                 state: "default" 0.0;
294                                 min: 0 2;
295                                 fixed: 0 1;
296                                 rel1 {
297                                         relative: 0.0 1.0;
298                                 }
299                                 rel2 {
300                                         relative: 1.0 1.0;
301                                 }
302                                 align: 0.0 1.0;
303 #ifdef DEBUG
304                                 color: 0 0 255 255;
305 #else
306                                 visible:0;
307 #endif
308                         }
309                 }
310
311                 //section layout for elements
312                 //section layout for icon
313                 part {
314                         name: "rect.icon.bg";
315                         type: RECT;
316                         scale: 1;
317                         description {
318                                 state: "default" 0.0;
319                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
320                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
321                                 fixed: 1 1;
322                                 rel1 {
323                                         to_x:"margin.right.icon";
324                                         to_y:"margin.top.icon";
325                                         relative: 0.0 1.0;
326                                 }
327                                 rel2 {
328                                         to_x:"margin.right.icon";
329                                         to_y:"margin.top.icon";
330                                         relative: 0.0 1.0;
331                                 }
332                                 align: 1.0 0.0;
333 #ifdef DEBUG
334                                 color: 255 0 0 255;
335 #else
336                                 visible:0;
337 #endif
338                         }
339                 }
340                 part {
341                         name: "rect.icon";
342                         type: RECT;
343                         scale: 1;
344                         description {
345                                 state: "default" 0.0;
346                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
347                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
348                                 fixed: 1 1;
349                                 rel1 {
350                                         to:"rect.icon.bg";
351                                         relative: 0.5 0.5;
352                                 }
353                                 rel2 {
354                                         to:"rect.icon.bg";
355                                         relative: 0.5 0.5;
356                                 }
357                                 align: 0.5 0.5;
358 #ifdef DEBUG
359                                 color: 205 205 255 255;
360 #else
361                                 visible:0;
362 #endif
363                         }
364                 }
365                 part {
366                         name: "rect.icon.sub.padding";
367                         type: RECT;
368                         scale: 1;
369                         description {
370                                 state: "default" 0.0;
371                                 min: 0 15;
372                                 fixed: 0 1;
373                                 rel1 {
374                                         to:"rect.icon.bg";
375                                         relative: 0.0 1.0;
376                                 }
377                                 rel2 {
378                                         to:"rect.icon.bg";
379                                         relative: 1.0 1.0;
380                                 }
381                                 align: 0.0 0.0;
382 #ifdef DEBUG
383                                 color: 235 215 235 255;
384 #else
385                                 visible:0;
386 #endif
387                         }
388                 }
389                 part {
390                         name: "rect.icon.sub";
391                         type: RECT;
392                         scale: 1;
393                         description {
394                                 state: "default" 0.0;
395                                 min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
396                                 max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
397                                 fixed: 1 1;
398                                 rel1 {
399                                         to:"rect.icon.sub.padding";
400                                         relative: 1.0 1.0;
401                                 }
402                                 rel2 {
403                                         to:"rect.icon.sub.padding";
404                                         relative: 1.0 1.0;
405                                 }
406                                 align: 1.0 1.0;
407 #ifdef DEBUG
408                                 color: 255 0 100 255;
409 #else
410                                 visible:0;
411 #endif
412                         }
413                 }
414
415                 //section layout for close button
416                 part {
417                         name: "rect.button.close";
418                         type: RECT;
419                         scale: 1;
420                         description {
421                                 state: "default" 0.0;
422                                 min: 38 38;
423                                 max: 38 38;
424                                 fixed: 1 1;
425                                 rel1 {
426                                         relative: 1.0 0.0;
427                                 }
428                                 rel2 {
429                                         relative: 1.0 0.0;
430                                 }
431                                 align: 1.0 0.0;
432 #ifdef DEBUG
433                                 color: 255 255 255 255;
434 #else
435                                 visible:0;
436 #endif
437                         }
438                 }
439
440                 //section layout for texts
441                 part {
442                         name: "rect.text.title";
443                         type: RECT;
444                         scale: 1;
445                         description {
446                                 state: "default" 0.0;
447                                 min: 190 150;
448                                 max: 190 150;
449                                 fixed: 1 1;
450                                 rel1 {
451                                         to_x:"margin.left";
452                                         to_y:"margin.top.text";
453                                         relative: 1.0 1.0;
454                                 }
455                                 rel2 {
456                                         to_x:"rect.icon.bg";
457                                         to_y:"margin.top.text";
458                                         relative: 0.0 1.0;
459                                 }
460                                 align: 0.0 0.0;
461 #ifdef DEBUG
462                                 color: 100 100 100 255;
463 #else
464                                 visible:0;
465 #endif
466                         }
467                         description {
468                                 state: "portrait" 0.0;
469                                 inherit: "default" 0.0;
470                         }
471                         description {
472                                 state: "landscape" 0.0;
473                                 inherit: "default" 0.0;
474                                 min: 260 132;
475                                 max: 260 132;
476                         }
477                 }
478
479                 part {
480                         name: "rect.text.info.2";
481                         type: RECT;
482                         scale: 1;
483                         description {
484                                 state: "default" 0.0;
485                                 min: 0 BOX_TEXT_INFO_HEIGHT;
486                                 fixed: 0 1;
487                                 rel1 {
488                                         to_x:"margin.left";
489                                         to_y:"margin.bottom";
490                                         relative: 1.0 0.0;
491                                 }
492                                 rel2 {
493                                         to_x:"margin.right";
494                                         to_y:"margin.bottom";
495                                         relative: 0.0 0.0;
496                                 }
497                                 align: 0.0 1.0;
498 #ifdef DEBUG
499                                 color: 100 100 100 255;
500 #else
501                                 visible:0;
502 #endif
503                         }
504                 }
505                 part {
506                         name: "rect.text.info.sub.2";
507                         type: RECT;
508                         scale: 1;
509                         description {
510                                 state: "default" 0.0;
511                                 min: BOX_TEXT_SUB_WIDTH BOX_TEXT_INFO_HEIGHT;
512                                 max: BOX_TEXT_SUB_WIDTH BOX_TEXT_INFO_HEIGHT;
513                                 fixed: 1 1;
514                                 rel1 {
515                                         to_x:"margin.right";
516                                         to_y:"margin.bottom";
517                                         relative: 0.0 0.0;
518                                 }
519                                 rel2 {
520                                         to_x:"margin.right";
521                                         to_y:"margin.bottom";
522                                         relative: 0.0 0.0;
523                                 }
524                                 align: 1.0 1.0;
525 #ifdef DEBUG
526                                 color: 76 76 76 255;
527 #else
528                                 visible:0;
529 #endif
530                         }
531                 }
532                 part {
533                         name: "rect.text.info.sub.2.padding";
534                         type: RECT;
535                         scale: 1;
536                         description {
537                                 state: "default" 0.0;
538                                 min: BOX_TEXT_SUB_PADDING_WIDTH 0;
539                                 fixed: 1 0;
540                                 rel1 {
541                                         to:"rect.text.info.sub.2";
542                                         relative: 0.0 0.0;
543                                 }
544                                 rel2 {
545                                         to:"rect.text.info.sub.2";
546                                         relative: 0.0 1.0;
547                                 }
548                                 align: 1.0 1.0;
549 #ifdef DEBUG
550                                 color: 90 90 90 255;
551 #else
552                                 visible:0;
553 #endif
554                         }
555                 }
556                 part {
557                         name: "rect.text.info.2.short";
558                         type: RECT;
559                         scale: 1;
560                         description {
561                                 state: "default" 0.0;
562                                 rel1 {
563                                         to_x:"margin.left";
564                                         to_y:"rect.text.info.2";
565                                         relative: 1.0 0.0;
566                                 }
567                                 rel2 {
568                                         to_x:"rect.text.info.sub.2.padding";
569                                         to_y:"rect.text.info.2";
570                                         relative: 0.0 1.0;
571                                 }
572                                 align: 0.0 1.0;
573 #ifdef DEBUG
574                                 color: 102 103 104 255;
575 #else
576                                 visible:0;
577 #endif
578                         }
579                 }
580                 part {
581                         name: "rect.text.info.1";
582                         type: RECT;
583                         scale: 1;
584                         description {
585                                 state: "default" 0.0;
586                                 min: 0 BOX_TEXT_INFO_HEIGHT;
587                                 fixed: 0 1;
588                                 rel1 {
589                                         to_x:"margin.left";
590                                         to_y:"rect.text.info.2";
591                                         relative: 1.0 0.0;
592                                 }
593                                 rel2 {
594                                         to_x:"margin.right";
595                                         to_y:"rect.text.info.2";
596                                         relative: 0.0 0.0;
597                                 }
598                                 align: 0.0 1.0;
599 #ifdef DEBUG
600                                 color: 100 150 100 255;
601 #else
602                                 visible:0;
603 #endif
604                         }
605                 }
606                 part {
607                         name: "rect.text.info.1.multiline";
608                         type: RECT;
609                         scale: 1;
610                         description {
611                                 state: "default" 0.0;
612                                 fixed: 1 1;
613                                 rel1 {
614                                         to_x:"margin.left";
615                                         to_y:"rect.text.info.1";
616                                         relative: 1.0 0.0;
617                                 }
618                                 rel2 {
619                                         to_x:"margin.right";
620                                         to_y:"margin.bottom.thin";
621                                         relative: 0.0 0.0;
622                                 }
623                                 align: 0.0 0.0;
624 #ifdef DEBUG
625                                 color: 255 150 100 255;
626 #else
627                                 visible:0;
628 #endif
629                         }
630                 }
631                 part {
632                         name: "rect.text.info.sub.1";
633                         type: RECT;
634                         scale: 1;
635                         description {
636                                 state: "default" 0.0;
637                                 min: BOX_TEXT_SUB_WIDTH BOX_TEXT_INFO_HEIGHT;
638                                 max: BOX_TEXT_SUB_WIDTH BOX_TEXT_INFO_HEIGHT;
639                                 fixed: 1 1;
640                                 rel1 {
641                                         to_x:"margin.right";
642                                         to_y:"rect.text.info.2";
643                                         relative: 0.0 0.0;
644                                 }
645                                 rel2 {
646                                         to_x:"margin.right";
647                                         to_y:"rect.text.info.2";
648                                         relative: 0.0 0.0;
649                                 }
650                                 align: 1.0 1.0;
651 #ifdef DEBUG
652                                 color: 76 76 76 255;
653 #else
654                                 visible:0;
655 #endif
656                         }
657                 }
658                 part {
659                         name: "rect.text.info.sub.1.padding";
660                         type: RECT;
661                         scale: 1;
662                         description {
663                                 state: "default" 0.0;
664                                 min: BOX_TEXT_SUB_PADDING_WIDTH 0;
665                                 fixed: 1 0;
666                                 rel1 {
667                                         to:"rect.text.info.sub.1";
668                                         relative: 0.0 0.0;
669                                 }
670                                 rel2 {
671                                         to:"rect.text.info.sub.1";
672                                         relative: 0.0 1.0;
673                                 }
674                                 align: 1.0 1.0;
675 #ifdef DEBUG
676                                 color: 90 90 90 255;
677 #else
678                                 visible:0;
679 #endif
680                         }
681                 }
682                 part {
683                         name: "rect.text.info.1.short";
684                         type: RECT;
685                         scale: 1;
686                         description {
687                                 state: "default" 0.0;
688                                 rel1 {
689                                         to_x:"margin.left";
690                                         to_y:"rect.text.info.1";
691                                         relative: 1.0 0.0;
692                                 }
693                                 rel2 {
694                                         to_x:"rect.text.info.sub.1.padding";
695                                         to_y:"rect.text.info.1";
696                                         relative: 0.0 1.0;
697                                 }
698                                 align: 0.0 1.0;
699 #ifdef DEBUG
700                                 color: 102 103 104 255;
701 #else
702                                 visible:0;
703 #endif
704                         }
705                 }
706                 part {
707                         name: "rect.text.margin.contents";
708                         type: RECT;
709                         scale: 1;
710                         description {
711                                 state: "default" 0.0;
712                                 min: 0 14;
713                                 fixed: 0 1;
714                                 rel1 {
715                                         to_x:"margin.left";
716                                         to_y:"rect.text.info.1";
717                                         relative: 1.0 0.0;
718                                 }
719                                 rel2 {
720                                         to_x:"margin.right";
721                                         to_y:"rect.text.info.1";
722                                         relative: 0.0 0.0;
723                                 }
724                                 align: 0.0 1.0;
725 #ifdef DEBUG
726                                 color: 255 255 255 255;
727 #else
728                                 visible:0;
729 #endif
730                         }
731                 }
732                 part {
733                         name: "rect.text.margin.count";
734                         type: RECT;
735                         scale: 1;
736                         description {
737                                 state: "default" 0.0;
738                                 min: 0 5;
739                                 fixed: 0 1;
740                                 rel1 {
741                                         to_x:"margin.left";
742                                         to_y:"rect.text.info.1";
743                                         relative: 1.0 0.0;
744                                 }
745                                 rel2 {
746                                         to_x:"margin.right";
747                                         to_y:"rect.text.info.1";
748                                         relative: 0.0 0.0;
749                                 }
750                                 align: 0.0 1.0;
751 #ifdef DEBUG
752                                 color: 255 255 255 255;
753 #else
754                                 visible:0;
755 #endif
756                         }
757                 }
758                 part {
759                         name: "rect.text.contents";
760                         type: RECT;
761                         scale: 1;
762                         description {
763                                 state: "default" 0.0;
764                                 min: 0 BOX_TEXT_CONTENTS_HEIGHT;
765                                 fixed: 0 1;
766                                 rel1 {
767                                         to_x:"margin.left";
768                                         to_y:"rect.text.margin.contents";
769                                         relative: 1.0 0.0;
770                                 }
771                                 rel2 {
772                                         to_x:"margin.right";
773                                         to_y:"rect.text.margin.contents";
774                                         relative: 0.0 0.0;
775                                 }
776                                 align: 0.0 1.0;
777 #ifdef DEBUG
778                                 color: 100 150 100 255;
779 #else
780                                 visible:0;
781 #endif
782                         }
783                 }
784                 part {
785                         name: "rect.text.contents.multiline";
786                         type: RECT;
787                         scale: 1;
788                         description {
789                                 state: "default" 0.0;
790                                 fixed: 1 1;
791                                 rel1 {
792                                         to_x:"margin.left";
793                                         to_y:"rect.text.contents";
794                                         relative: 1.0 0.0;
795                                 }
796                                 rel2 {
797                                         to_x:"margin.right";
798                                         to_y:"margin.bottom.thin";
799                                         relative: 0.0 0.0;
800                                 }
801                                 align: 0.0 1.0;
802 #ifdef DEBUG
803                                 color: 100 150 100 255;
804 #else
805                                 visible:0;
806 #endif
807                         }
808                 }
809                 part {
810                         name: "rect.text.count";
811                         type: RECT;
812                         scale: 1;
813                         description {
814                                 state: "default" 0.0;
815                                 min: 30 50;
816                                 max: 30 50;
817                                 fixed: 1 1;
818                                 rel1 {
819                                         to_x:"margin.left";
820                                         to_y:"rect.text.margin.count";
821                                         relative: 1.0 0.0;
822                                 }
823                                 rel2 {
824                                         to_x:"margin.left";
825                                         to_y:"rect.text.margin.count";
826                                         relative: 1.0 0.0;
827                                 }
828                                 align: 0.0 1.0;
829 #ifdef DEBUG
830                                 color: 190 190 190 255;
831 #else
832                                 visible:0;
833 #endif
834                         }
835                         description {
836                                 state: "count1" 0.0;
837                                 inherit: "default" 0.0;
838                         }
839                         description {
840                                 state: "count2" 0.0;
841                                 inherit: "default" 0.0;
842                                 min: 60 50;
843                         }
844                         description {
845                                 state: "count3" 0.0;
846                                 inherit: "default" 0.0;
847                                 min: 90 50;
848                         }
849                         description {
850                                 state: "count4" 0.0;
851                                 inherit: "default" 0.0;
852                                 min: 120 50;
853                         }
854                         description {
855                                 state: "count5" 0.0;
856                                 inherit: "default" 0.0;
857                                 min: 150 50;
858                         }
859                 }
860                 part {
861                         name: "rect.text.count.padding";
862                         type: RECT;
863                         scale: 1;
864                         description {
865                                 state: "default" 0.0;
866                                 min: 10 58;
867                                 rel1 {
868                                         to:"rect.text.count";
869                                         relative: 1.0 0.0;
870                                 }
871                                 rel2 {
872                                         to:"rect.text.count";
873                                         relative: 1.0 1.0;
874                                 }
875                                 align: 0.0 0.0;
876 #ifdef DEBUG
877                                 color: 0 0 0 255;
878 #else
879                                 visible:0;
880 #endif
881                         }
882                 }
883                 part {
884                         name: "rect.text.contents.short";
885                         type: RECT;
886                         scale: 1;
887                         description {
888                                 state: "default" 0.0;
889                                 min: 0 BOX_TEXT_CONTENTS_HEIGHT;
890                                 fixed: 0 1;
891                                 rel1 {
892                                         to_x:"rect.text.count.padding";
893                                         to_y:"rect.text.margin.contents";
894                                         relative: 1.0 0.0;
895                                 }
896                                 rel2 {
897                                         to_x:"margin.right";
898                                         to_y:"rect.text.margin.contents";
899                                         relative: 0.0 0.0;
900                                 }
901                                 align: 0.0 1.0;
902 #ifdef DEBUG
903                                 color: 40 255 100 255;
904 #else
905                                 visible:0;
906 #endif
907                         }
908                 }
909
910                 //section objects
911                 part{
912                         name: "object.icon.background";
913                         type:SWALLOW;
914                         scale: 1;
915                         description {
916                                 state: "default" 0.0;
917                                 fixed: 0 0;
918                                 rel1 {to: "background";}
919                                 rel2 {to: "background";}
920                                 visible:0;
921                         }
922                         description {
923                                 state: "show" 0.0;
924                                 inherit: "default" 0.0;
925                                 visible:1;
926                         }
927                 }
928                 part{
929                         name: "object.icon.bg";
930                         type:IMAGE;
931                         scale:1;
932                         description {
933                                 state: "default" 0.0;
934                                 fixed: 0 0;
935                                 rel1 {to: "rect.icon.bg";}
936                                 rel2 {to: "rect.icon.bg";}
937                                 image {
938                                         normal:"quick_icon_bg_01.png";
939                                         border: 0 0 0 0;
940                                         border_scale: 1;
941                                 }
942                         }
943                         description {
944                                 state: "show" 0.0;
945                                 inherit: "default" 0.0;
946                                 visible:1;
947                         }
948                         description {
949                                 state: "hide" 0.0;
950                                 inherit: "default" 0.0;
951                                 visible:0;
952                         }
953                 }
954                 part{
955                         name: "object.icon.bg.dim";
956                         type:IMAGE;
957                         scale:1;
958                         description {
959                                 state: "default" 0.0;
960                                 fixed: 0 0;
961                                 rel1 {to: "background";}
962                                 rel2 {to: "background";}
963                                 image {
964                                         normal:"quick_image_dimmed_port.png";
965                                         border: 0 0 0 0;
966                                         border_scale: 1;
967                                 }
968                                 visible:0;
969                         }
970                         description {
971                                 state: "portrait" 0.0;
972                                 inherit: "default" 0.0;
973                                 image {
974                                         normal:"quick_image_dimmed_port.png";
975                                         border: 0 0 0 0;
976                                         border_scale: 1;
977                                 }
978                                 visible:1;
979                         }
980                         description {
981                                 state: "landscape" 0.0;
982                                 inherit: "default" 0.0;
983                                 image {
984                                         normal:"quick_image_dimmed_land.png";
985                                         border: 0 0 0 0;
986                                         border_scale: 1;
987                                 }
988                                 visible:1;
989                         }
990                 }
991                 part{
992                         name: BOX_PART_ICON;
993                         type:SWALLOW;
994                         scale: 1;
995                         description {
996                                 state: "default" 0.0;
997                                 fixed: 1 1;
998                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
999                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
1000                                 rel1 {to: "rect.icon";}
1001                                 rel2 {to: "rect.icon";}
1002                                 visible:0;
1003                         }
1004                         description {
1005                                 state: "show" 0.0;
1006                                 inherit: "default" 0.0;
1007                                 visible:1;
1008                         }
1009                 }
1010                 part{
1011                         name: "object.icon.press";
1012                         type:IMAGE;
1013                         scale: 1;
1014                         description {
1015                                 state: "default" 0.0;
1016                                 fixed: 1 1;
1017                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
1018                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
1019                                 rel1 {to: "rect.icon";}
1020                                 rel2 {to: "rect.icon";}
1021                                 image {
1022                                         normal:"icon_press.png";
1023                                         border: 0 0 0 0;
1024                                         border_scale: 1;
1025                                 }
1026                                 visible:0;
1027                         }
1028                         description {
1029                                 state: "show" 0.0;
1030                                 inherit: "default" 0.0;
1031                                 visible:1;
1032                         }
1033                         description {
1034                                 state: "hide" 0.0;
1035                                 inherit: "default" 0.0;
1036                                 visible:0;
1037                         }
1038                 }
1039                 part{
1040                         name: "object.icon.sub.bg";
1041                         type:IMAGE;
1042                         scale:1;
1043                         description {
1044                                 state: "default" 0.0;
1045                                 fixed: 0 0;
1046                                 rel1 {to: "rect.icon.sub";}
1047                                 rel2 {to: "rect.icon.sub";}
1048                                 image {
1049                                         normal:"quick_icon_bg_small.png";
1050                                         border: 0 0 0 0;
1051                                         border_scale: 1;
1052                                 }
1053                                 visible:0;
1054                         }
1055                         description {
1056                                 state: "show" 0.0;
1057                                 inherit: "default" 0.0;
1058                                 visible:1;
1059                         }
1060                         description {
1061                                 state: "hide" 0.0;
1062                                 inherit: "default" 0.0;
1063                                 visible:0;
1064                         }
1065                 }
1066                 part{
1067                         name: BOX_PART_ICON_SUB;
1068                         type:SWALLOW;
1069                         scale: 1;
1070                         description {
1071                                 state: "default" 0.0;
1072                                 fixed: 1 1;
1073                                 min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
1074                                 max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
1075                                 rel1 {to: "rect.icon.sub";}
1076                                 rel2 {to: "rect.icon.sub";}
1077                                 visible:0;
1078                         }
1079                         description {
1080                                 state: "show" 0.0;
1081                                 inherit: "default" 0.0;
1082                                 visible:1;
1083                         }
1084                 }
1085
1086                 part {
1087                         name: "object.text.title";
1088                         scale: 1;
1089                         type: TEXTBLOCK;
1090                         multiline: 1;
1091                         description {
1092                                 state: "default" 0.0;
1093                                 rel1 {to: "rect.text.title";}
1094                                 rel2 {to: "rect.text.title";}
1095                                 text {
1096                                         style: "notibox_title";
1097                                         align: 0.0 0.0;
1098 #ifdef DEBUG_TEXT
1099                                         text: "some string of text to display";
1100 #endif
1101                                 }
1102                                 visible:0;
1103                         }
1104                         description {
1105                                 state: "show" 0.0;
1106                                 inherit: "default" 0.0;
1107                                 visible:1;
1108                         }
1109                         description {
1110                                 state: "show.effect" 0.0;
1111                                 inherit: "default" 0.0;
1112                                 text {
1113                                         style: "notibox_title_effect";
1114                                 }
1115                                 visible:1;
1116                         }
1117                 }
1118
1119                 part {
1120                         name: "object.text.contents";
1121                         scale: 1;
1122                         type: TEXT;
1123                         effect: TEXT_EFFECT;
1124                         description {
1125                                 state: "default" 0.0;
1126                                 rel1 {to: "rect.text.contents";}
1127                                 rel2 {to: "rect.text.contents";}
1128                                 color: BOX_CONTENTS_FONT_COLOR;
1129                                 text {
1130                                         font: BOX_CONTENTS_FONT;
1131                                         text_class: TEXT_CLASS_TIZEN;
1132                                         size: BOX_CONTENTS_FONT_SIZE;
1133                                         align: 0.0 0.5;
1134 #ifdef DEBUG_TEXT
1135                                         text: "some string of text to display";
1136 #endif
1137                                 }
1138                                 visible:0;
1139                         }
1140                         description {
1141                                 state: "show" 0.0;
1142                                 inherit: "default" 0.0;
1143                                 visible:1;
1144                         }
1145                         description {
1146                                 state: "show.effect" 0.0;
1147                                 inherit: "default" 0.0;
1148                                 color2: BOX_FONT_SHADOW_COLOR;
1149                                 color3: BOX_FONT_OUTLINE_COLOR;
1150                                 visible:1;
1151                         }
1152                 }
1153                 part {
1154                         name: "object.text.contents.short";
1155                         scale: 1;
1156                         type: TEXT;
1157                         effect: TEXT_EFFECT;
1158                         description {
1159                                 state: "default" 0.0;
1160                                 rel1 {to: "rect.text.contents.short";}
1161                                 rel2 {to: "rect.text.contents.short";}
1162                                 color: BOX_CONTENTS_FONT_COLOR;
1163                                 text {
1164                                         font: BOX_CONTENTS_FONT;
1165                                         text_class: TEXT_CLASS_TIZEN;
1166                                         size: BOX_CONTENTS_FONT_SIZE;
1167                                         align: 0.0 0.5;
1168                                 }
1169                                 visible:0;
1170                         }
1171                         description {
1172                                 state: "show" 0.0;
1173                                 inherit: "default" 0.0;
1174                                 visible:1;
1175                         }
1176                         description {
1177                                 state: "show.effect" 0.0;
1178                                 inherit: "default" 0.0;
1179                                 color2: BOX_FONT_SHADOW_COLOR;
1180                                 color3: BOX_FONT_OUTLINE_COLOR;
1181                                 visible:1;
1182                         }
1183                 }
1184                 part {
1185                         name: "object.text.contents.multiline";
1186                         scale: 1;
1187                         type: TEXTBLOCK;
1188                         multiline: 1;
1189                         description {
1190                                 state: "default" 0.0;
1191                                 align: 0.0 0.0;
1192                                 fixed: 1 1;
1193                                 rel1 {
1194                                         to: "rect.text.contents.multiline";
1195                                 }
1196                                 rel2 {
1197                                         to: "rect.text.contents.multiline";
1198                                 }
1199                                 text {
1200                                                 style: "notibox_contents";
1201                                                 align: 0.0 0.0;
1202                                                 fit: 0 0;
1203                                 }
1204                                 visible:0;
1205                         }
1206                         description {
1207                                 state: "show" 0.0;
1208                                 inherit: "default" 0.0;
1209                                 visible:1;
1210                         }
1211                         description {
1212                                 state: "show.effect" 0.0;
1213                                 inherit: "default" 0.0;
1214                                 text {
1215                                         style: "notibox_contents_effect";
1216                                 }
1217                                 visible:1;
1218                         }
1219                 }
1220                 part {
1221                         name: "object.text.count";
1222                         scale: 1;
1223                         type: TEXT;
1224                         effect: TEXT_EFFECT;
1225                         description {
1226                                 state: "default" 0.0;
1227                                 rel1 {to: "rect.text.count";}
1228                                 rel2 {to: "rect.text.count";}
1229                                 color: BOX_INFO_COUNT_FONT_COLOR;
1230                                 text {
1231                                         font: BOX_INFO_COUNT_FONT;
1232                                         text_class: TEXT_CLASS_TIZEN;
1233                                         size: BOX_INFO_COUNT_FONT_SIZE;
1234                                         align: 0.0 1.0;
1235 #ifdef DEBUG_TEXT
1236                                         text: "3";
1237 #endif
1238                                 }
1239                                 visible:0;
1240                         }
1241                         description {
1242                                 state: "show" 0.0;
1243                                 inherit: "default" 0.0;
1244                                 visible:1;
1245                         }
1246                         description {
1247                                 state: "show.effect" 0.0;
1248                                 inherit: "default" 0.0;
1249                                 color2: BOX_FONT_SHADOW_COLOR;
1250                                 color3: BOX_FONT_OUTLINE_COLOR;
1251                                 visible:1;
1252                         }
1253                 }
1254
1255                 part {
1256                         name: "object.text.info.1";
1257                         scale: 1;
1258                         type: TEXT;
1259                         effect: TEXT_EFFECT;
1260                         description {
1261                                 state: "default" 0.0;
1262                                 rel1 {to: "rect.text.info.1";}
1263                                 rel2 {to: "rect.text.info.1";}
1264                                 color: BOX_INFO_FONT_COLOR;
1265                                 text {
1266                                         font: BOX_INFO_FONT;
1267                                         text_class: TEXT_CLASS_TIZEN;
1268                                         size: BOX_INFO_FONT_SIZE;
1269                                         align: 0.0 0.5;
1270 #ifdef DEBUG_TEXT
1271                                         text: "some string of text to display";
1272 #endif
1273                                 }
1274                                 visible:0;
1275                         }
1276                         description {
1277                                 state: "show" 0.0;
1278                                 inherit: "default" 0.0;
1279                                 visible:1;
1280                         }
1281                         description {
1282                                 state: "show.effect" 0.0;
1283                                 inherit: "default" 0.0;
1284                                 color2: BOX_FONT_SHADOW_COLOR;
1285                                 color3: BOX_FONT_OUTLINE_COLOR;
1286                                 visible:1;
1287                         }
1288                 }
1289                 part {
1290                         name: "object.text.info.1.short";
1291                         scale: 1;
1292                         type: TEXT;
1293                         effect: TEXT_EFFECT;
1294                         description {
1295                                 state: "default" 0.0;
1296                                 rel1 {to: "rect.text.info.1.short";}
1297                                 rel2 {to: "rect.text.info.1.short";}
1298                                 color: BOX_INFO_SHORT_FONT_COLOR;
1299                                 text {
1300                                         font: BOX_INFO_SHORT_FONT;
1301                                         text_class: TEXT_CLASS_TIZEN;
1302                                         size: BOX_INFO_SHORT_FONT_SIZE;
1303                                         align: 0.0 0.5;
1304                                 }
1305                                 visible:0;
1306                         }
1307                         description {
1308                                 state: "show" 0.0;
1309                                 inherit: "default" 0.0;
1310                                 visible:1;
1311                         }
1312                         description {
1313                                 state: "show.effect" 0.0;
1314                                 inherit: "default" 0.0;
1315                                 color2: BOX_FONT_SHADOW_COLOR;
1316                                 color3: BOX_FONT_OUTLINE_COLOR;
1317                                 visible:1;
1318                         }
1319                 }
1320                 part {
1321                         name: "object.text.info.1.multiline";
1322                         scale: 1;
1323                         type: TEXTBLOCK;
1324                         multiline: 1;
1325                         description {
1326                                 state: "default" 0.0;
1327                                 align: 0.0 0.0;
1328                                 fixed: 1 1;
1329                                 rel1 {
1330                                         to: "rect.text.info.1.multiline";
1331                                 }
1332                                 rel2 {
1333                                         to: "rect.text.info.1.multiline";
1334                                 }
1335                                 text {
1336                                                 style: "notibox_info";
1337                                                 align: 0.0 0.0;
1338                                                 fit: 0 0;
1339                                 }
1340                                 visible:0;
1341                         }
1342                         description {
1343                                 state: "show" 0.0;
1344                                 inherit: "default" 0.0;
1345                                 visible:1;
1346                         }
1347                         description {
1348                                 state: "show.effect" 0.0;
1349                                 inherit: "default" 0.0;
1350                                 text {
1351                                         style: "notibox_info_effect";
1352                                 }
1353                                 visible:1;
1354                         }
1355                 }
1356                 part {
1357                         name: "object.text.info.sub.1";
1358                         scale: 1;
1359                         type: TEXT;
1360                         effect: TEXT_EFFECT;
1361                         description {
1362                                 state: "default" 0.0;
1363                                 rel1 {to: "rect.text.info.sub.1";}
1364                                 rel2 {to: "rect.text.info.sub.1";}
1365                                 color: BOX_INFO_SUB_FONT_COLOR;
1366                                 text {
1367                                         font: BOX_INFO_SUB_FONT;
1368                                         text_class: TEXT_CLASS_TIZEN;
1369                                         size: BOX_INFO_SUB_FONT_SIZE;
1370                                         align: 1.0 0.5;
1371 #ifdef DEBUG_TEXT
1372                                         text: "some string of text to display";
1373 #endif
1374                                 }
1375                                 visible:0;
1376                         }
1377                         description {
1378                                 state: "show" 0.0;
1379                                 inherit: "default" 0.0;
1380                                 visible:1;
1381                         }
1382                         description {
1383                                 state: "show.effect" 0.0;
1384                                 inherit: "default" 0.0;
1385                                 color2: BOX_FONT_SHADOW_COLOR;
1386                                 color3: BOX_FONT_OUTLINE_COLOR;
1387                                 visible:1;
1388                         }
1389                 }
1390
1391                 part {
1392                         name: "object.text.info.2";
1393                         scale: 1;
1394                         type: TEXT;
1395                         effect: TEXT_EFFECT;
1396                         description {
1397                                 state: "default" 0.0;
1398                                 rel1 {to: "rect.text.info.2";}
1399                                 rel2 {to: "rect.text.info.2";}
1400                                 color: BOX_INFO_FONT_COLOR;
1401                                 text {
1402                                         font: BOX_INFO_FONT;
1403                                         text_class: TEXT_CLASS_TIZEN;
1404                                         size: BOX_INFO_FONT_SIZE;
1405                                         align: 0.0 0.5;
1406 #ifdef DEBUG_TEXT
1407                                         text: "some string of text to display";
1408 #endif
1409                                 }
1410                                 visible:0;
1411                         }
1412                         description {
1413                                 state: "show" 0.0;
1414                                 inherit: "default" 0.0;
1415                                 visible:1;
1416                         }
1417                         description {
1418                                 state: "show.effect" 0.0;
1419                                 inherit: "default" 0.0;
1420                                 color2: BOX_FONT_SHADOW_COLOR;
1421                                 color3: BOX_FONT_OUTLINE_COLOR;
1422                                 visible:1;
1423                         }
1424                 }
1425                 part {
1426                         name: "object.text.info.2.short";
1427                         scale: 1;
1428                         type: TEXT;
1429                         effect: TEXT_EFFECT;
1430                         description {
1431                                 state: "default" 0.0;
1432                                 rel1 {to: "rect.text.info.2.short";}
1433                                 rel2 {to: "rect.text.info.2.short";}
1434                                 color: BOX_INFO_SHORT_FONT_COLOR;
1435                                 text {
1436                                         font: BOX_INFO_SHORT_FONT;
1437                                         text_class: TEXT_CLASS_TIZEN;
1438                                         size: BOX_INFO_SHORT_FONT_SIZE;
1439                                         align: 0.0 0.5;
1440                                 }
1441                                 visible:0;
1442                         }
1443                         description {
1444                                 state: "show" 0.0;
1445                                 inherit: "default" 0.0;
1446                                 visible:1;
1447                         }
1448                         description {
1449                                 state: "show.effect" 0.0;
1450                                 inherit: "default" 0.0;
1451                                 color2: BOX_FONT_SHADOW_COLOR;
1452                                 color3: BOX_FONT_OUTLINE_COLOR;
1453                                 visible:1;
1454                         }
1455                 }
1456                 part {
1457                         name: "object.text.info.sub.2";
1458                         scale: 1;
1459                         type: TEXT;
1460                         effect: TEXT_EFFECT;
1461                         description {
1462                                 state: "default" 0.0;
1463                                 rel1 {to: "rect.text.info.sub.2";}
1464                                 rel2 {to: "rect.text.info.sub.2";}
1465                                 color: BOX_INFO_SUB_FONT_COLOR;
1466                                 text {
1467                                         font: BOX_INFO_SUB_FONT;
1468                                         text_class: TEXT_CLASS_TIZEN;
1469                                         size: BOX_INFO_SUB_FONT_SIZE;
1470                                         align: 1.0 0.5;
1471 #ifdef DEBUG_TEXT
1472                                         text: "some string of text to display";
1473 #endif
1474                                 }
1475                                 visible:0;
1476                         }
1477                         description {
1478                                 state: "show" 0.0;
1479                                 inherit: "default" 0.0;
1480                                 visible:1;
1481                         }
1482                         description {
1483                                 state: "show.effect" 0.0;
1484                                 inherit: "default" 0.0;
1485                                 color2: BOX_FONT_SHADOW_COLOR;
1486                                 color3: BOX_FONT_OUTLINE_COLOR;
1487                                 visible:1;
1488                         }
1489                 }
1490                 part {
1491                         name: "object.layer.touch.background";
1492                         mouse_events: 1;
1493                         repeat_events: 1;
1494                         scale: 1;
1495                         type: RECT;
1496                         description {
1497                                 state: "default" 0.0;
1498                                 rel1 {to: "background";}
1499                                 rel2 {to: "background";}
1500                                 color: 0 0 0 0;
1501                         }
1502                 }
1503                 part {
1504                         name: "object.layer.touch.button.1";
1505                         mouse_events: 1;
1506                         repeat_events: 0;
1507                         scale: 1;
1508                         type: RECT;
1509                         description {
1510                                 state: "default" 0.0;
1511                                 rel1 {
1512                                         to_x: "rect.icon";
1513                                         to_y: "object.button.close";
1514                                         relative: 0.0 1.0;
1515                                 }
1516                                 rel2 {to: "rect.icon";}
1517                                 color: 0 0 0 0;
1518                         }
1519                         description {
1520                                 state: "show" 0.0;
1521                                 inherit: "default" 0.0;
1522                                 visible:1;
1523                         }
1524                         description {
1525                                 state: "hide" 0.0;
1526                                 inherit: "default" 0.0;
1527                                 visible: 0;
1528                         }
1529                 }
1530                 part{
1531                         name: "object.button.close";
1532                         type:RECT;
1533                         scale:1;
1534                         description {
1535                                 state: "default" 0.0;
1536                                 min:100 64;
1537                                 rel1 {
1538                                         to: "rect.button.close";
1539                                         relative: 1.0 0.0;
1540                                 }
1541                                 rel2 {
1542                                         to: "rect.button.close";
1543                                         relative: 1.0 0.0;
1544                                 }
1545                                 color: 0 0 0 0;
1546                                 align: 1.0 0.0;
1547                         }
1548                 }
1549                 part{
1550                         name: "object.image.button.close";
1551                         type:IMAGE;
1552                         scale:1;
1553                         repeat_events: 1;
1554                         description {
1555                                 state: "default" 0.0;
1556                                 rel1 {to: "rect.button.close";}
1557                                 rel2 {to: "rect.button.close";}
1558                                 image {
1559                                         normal:"quick_btn_close_nor.png";
1560                                         border: 0 0 0 0;
1561                                         border_scale: 1;
1562                                 }
1563                                 align: 0.0 1.0;
1564                         }
1565                         description {
1566                                 state: "normal" 0.0;
1567                                 inherit: "default" 0.0;
1568                         }
1569                         description {
1570                                 state: "pressed" 0.0;
1571                                 inherit: "default" 0.0;
1572                                 image {
1573                                         normal:"quick_btn_close_press.png";
1574                                         border: 0 0 0 0;
1575                                         border_scale: 1;
1576                                 }
1577                                 align: 0.0 1.0;
1578                         }
1579                         description {
1580                                 state: "disabled" 0.0;
1581                                 inherit: "default" 0.0;
1582                                 image {
1583                                         normal:"quick_btn_close_dim.png";
1584                                         border: 0 0 0 0;
1585                                         border_scale: 1;
1586                                 }
1587                                 align: 0.0 1.0;
1588                         }
1589                 }
1590                 part {
1591                         name: "accessibility";
1592                         type: RECT;
1593                         mouse_events: 1;
1594                         repeat_events: 1;
1595                         scale: 1;
1596                         description {
1597                                 state: "default" 0.0;
1598                                 rel1 {
1599                                         to: "background";
1600                                 }
1601                                 rel2 {
1602                                         to: "background";
1603                                 }
1604                                 color: QP_ACCESSIBILITY_TEST_COLOR;
1605                                 visible: 1;
1606                         }
1607                 }
1608                 part {
1609                         name: "accessibility.closebutton";
1610                         type: RECT;
1611                         mouse_events: 1;
1612                         repeat_events: 1;
1613                         scale: 1;
1614                         description {
1615                                 state: "default" 0.0;
1616                                 rel1 {
1617                                         to: "rect.button.close";
1618                                 }
1619                                 rel2 {
1620                                         to: "rect.button.close";
1621                                 }
1622                                 color: QP_ACCESSIBILITY_TEST_COLOR;
1623                                 visible: 1;
1624                         }
1625                 }
1626         }
1627
1628         programs {
1629                 program {
1630                         name: "init.layout";
1631                         signal: "load";
1632                         source: "";
1633                         in: 0.0 0.0;
1634                         script{
1635                                 init_variables();
1636                         }
1637                 }
1638                 program{
1639                         name: "box.show.dim";
1640                         signal: "box.show.dim";
1641                         source: "box.prog";
1642                         script {
1643                                 set_int(g_is_show_dim_bg, 1);
1644                         }
1645                 }
1646                 program{
1647                         name: "box.hide.dim";
1648                         signal: "box.hide.dim";
1649                         source: "box.prog";
1650                         script {
1651                                 set_int(g_is_show_dim_bg, 0);
1652                         }
1653                 }
1654                 program{
1655                         name: "box.portrait";
1656                         signal: "box.portrait";
1657                         source: "box.prog";
1658                         action: STATE_SET "portrait" 0.0;
1659                         target: "background";
1660                         target: "rect.text.title";
1661                         after: "box.portrait.custom";
1662                 }
1663                 program{
1664                         name: "box.landscape";
1665                         signal: "box.landscape";
1666                         source: "box.prog";
1667                         action: STATE_SET "landscape" 0.0;
1668                         target: "background";
1669                         target: "rect.text.title";
1670                         after: "box.landscape.custom";
1671                 }
1672                 program{
1673                         name: "box.portrait.custom";
1674                         source: "box.prog";
1675                         script {
1676                                 if (get_int(g_is_show_dim_bg) == 1) {
1677                                         set_state(PART:"object.icon.bg.dim", "portrait", 0.0);
1678                                 }
1679                         }
1680                 }
1681                 program{
1682                         name: "box.landscape.custom";
1683                         source: "box.prog";
1684                         script {
1685                                 if (get_int(g_is_show_dim_bg) == 1) {
1686                                         set_state(PART:"object.icon.bg.dim", "landscape", 0.0);
1687                                 }
1688                         }
1689                 }
1690                 program{
1691                         name: "box.touch.down";
1692                         signal: "mouse,clicked,1";
1693                         source: "object.layer.touch.background";
1694                         action: SIGNAL_EMIT "selected" "edje";
1695                 }
1696                 program{
1697                         name: "box.button.1.touch.clicked";
1698                         signal: "mouse,clicked,1";
1699                         source: "object.layer.touch.button.1";
1700                         action: SIGNAL_EMIT "button_1" "edje";
1701                 }
1702                 program{
1703                         name: "box.button.1.touch.down";
1704                         signal: "mouse,down,1";
1705                         source: "object.layer.touch.button.1";
1706                         action: STATE_SET "show" 0.0;
1707                         target: "object.icon.press";
1708                 }
1709                 program{
1710                         name: "box.button.1.touch.up";
1711                         signal: "mouse,up,1";
1712                         source: "object.layer.touch.button.1";
1713                         action: STATE_SET "hide" 0.0;
1714                         target: "object.icon.press";
1715                 }
1716                 program{
1717                         name: "box.button.close.1";
1718                         signal: "mouse,down,1";
1719                         source: "object.button.close";
1720                         script {
1721                                 if (get_int(g_is_close_button_disabled) == 0) {
1722                                         set_state(PART:"object.image.button.close", "pressed", 0.0);
1723                                 }
1724                         }
1725                 }
1726                 program{
1727                         name: "box.button.close.2";
1728                         signal: "mouse,up,1";
1729                         source: "object.button.close";
1730                         script {
1731                                 set_state(PART:"object.image.button.close", "normal", 0.0);
1732                         }
1733                 }
1734                 program{
1735                         name: "box.button.close.3";
1736                         signal: "mouse,clicked,1";
1737                         source: "object.button.close";
1738                         script {
1739                                 if (get_int(g_is_close_button_disabled) == 0) {
1740                                         set_state(PART:"object.image.button.close", "normal", 0.0);
1741                                         emit("deleted", "edje");
1742                                 }
1743                         }
1744                 }
1745                 program{
1746                         name: "box.button.close.4";
1747                         signal: "disabled";
1748                         source: "object.button.close";
1749                         script {
1750                                 set_state(PART:"object.image.button.close", "disabled", 0.0);
1751                                 set_int(g_is_close_button_disabled, 1);
1752                         }
1753                 }
1754                 program{
1755                         name: "box.show.icon.bg";
1756                         signal: "box.show.icon.bg";
1757                         source: "box.prog";
1758                         action: STATE_SET "show" 0.0;
1759                         target: "object.icon.bg";
1760                         target: "object.layer.touch.button.1";
1761                 }
1762                 program{
1763                         name: "box.hide.icon.bg";
1764                         signal: "box.hide.icon.bg";
1765                         source: "box.prog";
1766                         action: STATE_SET "hide" 0.0;
1767                         target: "object.icon.bg";
1768                         target: "object.layer.touch.button.1";
1769                 }
1770                 program{
1771                         name: "box.show.icon.sub.bg";
1772                         signal: "box.show.sub.bg";
1773                         source: "box.prog";
1774                         action: STATE_SET "show" 0.0;
1775                         target: "object.icon.sub.bg";
1776                 }
1777                 program{
1778                         name: "box.hide.icon.sub.bg";
1779                         signal: "box.hide.sub.bg";
1780                         source: "box.prog";
1781                         action: STATE_SET "hide" 0.0;
1782                         target: "object.icon.sub.bg";
1783                 }
1784                 program{
1785                         name: "box.count.1";
1786                         signal: "box.count.1";
1787                         source: "box.prog";
1788                         action: STATE_SET "count1" 0.0;
1789                         target: "rect.text.count";
1790                 }
1791                 program{
1792                         name: "box.count.2";
1793                         signal: "box.count.2";
1794                         source: "box.prog";
1795                         action: STATE_SET "count2" 0.0;
1796                         target: "rect.text.count";
1797                 }
1798                 program{
1799                         name: "box.count.3";
1800                         signal: "box.count.3";
1801                         source: "box.prog";
1802                         action: STATE_SET "count3" 0.0;
1803                         target: "rect.text.count";
1804                 }
1805                 program{
1806                         name: "box.count.4";
1807                         signal: "box.count.4";
1808                         source: "box.prog";
1809                         action: STATE_SET "count4" 0.0;
1810                         target: "rect.text.count";
1811                 }
1812                 program{
1813                         name: "box.count.5";
1814                         signal: "box.count.5";
1815                         source: "box.prog";
1816                         action: STATE_SET "count5" 0.0;
1817                         target: "rect.text.count";
1818                 }
1819                 MAKE_PART_SHOW_PROGRAM("object.icon.background")
1820                 MAKE_PART_SHOW_PROGRAM("object.icon")
1821                 MAKE_PART_SHOW_PROGRAM("object.icon.sub")
1822                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.title")
1823                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents")
1824                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents.short")
1825                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents.multiline")
1826                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.count")
1827                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1")
1828                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1.short")
1829                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.1.multiline")
1830                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.sub.1")
1831                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.2")
1832                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.2.short")
1833                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.info.sub.2")
1834         }
1835 }
1836
1837
1838 group {
1839         name: "quickpanel/notibox/thumbnail";
1840
1841         script {
1842                 public g_is_close_button_disabled;
1843                 public g_is_show_dim_bg;
1844
1845                 public init_variables() {
1846                         set_int(g_is_close_button_disabled, 0);
1847                         set_int(g_is_show_dim_bg, 0);
1848                 }
1849         }
1850
1851         parts {
1852                 part {
1853                         name: "background";
1854                         type: RECT;
1855                         scale: 1;
1856                         description {
1857                                 state: "default" 0.0;
1858                                 min: BOX_WIDTH_P BOX_HEIGHT_P;
1859                                 color: BOX_COLOR_BG;
1860                                 align: 0.0 0.0;
1861                         }
1862                         description {
1863                                 state: "portrait" 0.0;
1864                                 inherit: "default" 0.0;
1865                         }
1866                         description {
1867                                 state: "landscape" 0.0;
1868                                 inherit: "default" 0.0;
1869                                 min: BOX_WIDTH_L BOX_HEIGHT_L;
1870                         }
1871                 }
1872
1873                 //section layout for margin
1874
1875                 part {
1876                         name: "margin.left";
1877                         type: RECT;
1878                         scale: 1;
1879                         description {
1880                                 state: "default" 0.0;
1881                                 min: BOX_MARGIN_L_TEXT_H 0;
1882                                 rel1 {
1883                                         relative: 0.0 0.0;
1884                                 }
1885                                 rel2 {
1886                                         relative: 0.0 1.0;
1887                                 }
1888                                 align: 0.0 0.0;
1889 #ifdef DEBUG
1890                                 color: 0 0 255 255;
1891 #else
1892                                 visible:0;
1893 #endif
1894                         }
1895                 }
1896                 part {
1897                         name: "margin.right";
1898                         type: RECT;
1899                         scale: 1;
1900                         description {
1901                                 state: "default" 0.0;
1902                                 min: BOX_MARGIN_R_TEXT_H 0;
1903                                 rel1 {
1904                                         relative: 1.0 0.0;
1905                                 }
1906                                 rel2 {
1907                                         relative: 1.0 1.0;
1908                                 }
1909                                 align: 1.0 0.0;
1910 #ifdef DEBUG
1911                                 color: 0 0 255 255;
1912 #else
1913                                 visible:0;
1914 #endif
1915                         }
1916                 }
1917                 part {
1918                         name: "margin.left.thumnail";
1919                         type: RECT;
1920                         scale: 1;
1921                         description {
1922                                 state: "default" 0.0;
1923                                 min: 12 0;
1924                                 rel1 {
1925                                         relative: 0.0 0.0;
1926                                 }
1927                                 rel2 {
1928                                         relative: 0.0 1.0;
1929                                 }
1930                                 align: 0.0 0.0;
1931 #ifdef DEBUG
1932                                 color: 25 0 60 255;
1933 #else
1934                                 visible:0;
1935 #endif
1936                         }
1937                         description {
1938                                 state: "portrait" 0.0;
1939                                 inherit: "default" 0.0;
1940                         }
1941                         description {
1942                                 state: "landscape" 0.0;
1943                                 inherit: "default" 0.0;
1944                                 min: 14 0;
1945                         }
1946                 }
1947                 part {
1948                         name: "margin.right.thumnail";
1949                         type: RECT;
1950                         scale: 1;
1951                         description {
1952                                 state: "default" 0.0;
1953                                 min: 12 0;
1954                                 rel1 {
1955                                         relative: 1.0 0.0;
1956                                 }
1957                                 rel2 {
1958                                         relative: 1.0 1.0;
1959                                 }
1960                                 align: 1.0 0.0;
1961 #ifdef DEBUG
1962                                 color: 25 0 60 255;
1963 #else
1964                                 visible:0;
1965 #endif
1966                         }
1967                         description {
1968                                 state: "portrait" 0.0;
1969                                 inherit: "default" 0.0;
1970                         }
1971                         description {
1972                                 state: "landscape" 0.0;
1973                                 inherit: "default" 0.0;
1974                                 min: 14 0;
1975                         }
1976                 }
1977                 part {
1978                         name: "margin.right.icon";
1979                         type: RECT;
1980                         scale: 1;
1981                         description {
1982                                 state: "default" 0.0;
1983                                 min: 8 0;
1984                                 rel1 {
1985                                         relative: 1.0 0.0;
1986                                 }
1987                                 rel2 {
1988                                         relative: 1.0 1.0;
1989                                 }
1990                                 align: 1.0 0.0;
1991 #ifdef DEBUG
1992                                 color: 0 255 255 255;
1993 #else
1994                                 visible:0;
1995 #endif
1996                         }
1997                 }
1998                 part {
1999                         name: "margin.top.icon";
2000                         type: RECT;
2001                         scale: 1;
2002                         description {
2003                                 state: "default" 0.0;
2004                                 min: 0 44;
2005                                 rel1 {
2006                                         relative: 0.0 0.0;
2007                                 }
2008                                 rel2 {
2009                                         relative: 1.0 0.0;
2010                                 }
2011                                 align: 0.0 0.0;
2012 #ifdef DEBUG
2013                                 color: 255 0 255 255;
2014 #else
2015                                 visible:0;
2016 #endif
2017                         }
2018                 }
2019                 part {
2020                         name: "margin.top.text";
2021                         type: RECT;
2022                         scale: 1;
2023                         description {
2024                                 state: "default" 0.0;
2025                                 min: 0 20;
2026                                 rel1 {
2027                                         relative: 0.0 0.0;
2028                                 }
2029                                 rel2 {
2030                                         relative: 1.0 0.0;
2031                                 }
2032                                 align: 0.0 0.0;
2033 #ifdef DEBUG
2034                                 color: 0 0 255 255;
2035 #else
2036                                 visible:0;
2037 #endif
2038                         }
2039                 }
2040                 part {
2041                         name: "margin.bottom";
2042                         type: RECT;
2043                         scale: 1;
2044                         description {
2045                                 state: "default" 0.0;
2046                                 min: 0 14;
2047                                 rel1 {
2048                                         relative: 0.0 1.0;
2049                                 }
2050                                 rel2 {
2051                                         relative: 1.0 1.0;
2052                                 }
2053                                 align: 0.0 1.0;
2054 #ifdef DEBUG
2055                                 color: 0 0 255 255;
2056 #else
2057                                 visible:0;
2058 #endif
2059                         }
2060                 }
2061
2062                 //section layout for elements
2063                 //section layout for icon
2064                 part {
2065                         name: "rect.icon.bg";
2066                         type: RECT;
2067                         scale: 1;
2068                         description {
2069                                 state: "default" 0.0;
2070                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2071                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2072                                 rel1 {
2073                                         to_x:"margin.right.icon";
2074                                         to_y:"margin.top.icon";
2075                                         relative: 0.0 1.0;
2076                                 }
2077                                 rel2 {
2078                                         to_x:"margin.right.icon";
2079                                         to_y:"margin.top.icon";
2080                                         relative: 0.0 1.0;
2081                                 }
2082                                 align: 1.0 0.0;
2083 #ifdef DEBUG
2084                                 color: 255 0 0 255;
2085 #else
2086                                 visible:0;
2087 #endif
2088                         }
2089                 }
2090                 part {
2091                         name: "rect.icon";
2092                         type: RECT;
2093                         scale: 1;
2094                         description {
2095                                 state: "default" 0.0;
2096                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2097                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2098                                 rel1 {
2099                                         to:"rect.icon.bg";
2100                                         relative: 0.5 0.5;
2101                                 }
2102                                 rel2 {
2103                                         to:"rect.icon.bg";
2104                                         relative: 0.5 0.5;
2105                                 }
2106                                 align: 0.5 0.5;
2107 #ifdef DEBUG
2108                                 color: 205 205 255 255;
2109 #else
2110                                 visible:0;
2111 #endif
2112                         }
2113                 }
2114                 part {
2115                         name: "rect.icon.sub.padding";
2116                         type: RECT;
2117                         scale: 1;
2118                         description {
2119                                 state: "default" 0.0;
2120                                 min: 0 15;
2121                                 rel1 {
2122                                         to:"rect.icon.bg";
2123                                         relative: 0.0 1.0;
2124                                 }
2125                                 rel2 {
2126                                         to:"rect.icon.bg";
2127                                         relative: 1.0 1.0;
2128                                 }
2129                                 align: 0.0 0.0;
2130 #ifdef DEBUG
2131                                 color: 235 215 235 255;
2132 #else
2133                                 visible:0;
2134 #endif
2135                         }
2136                 }
2137                 part {
2138                         name: "rect.icon.sub";
2139                         type: RECT;
2140                         scale: 1;
2141                         description {
2142                                 state: "default" 0.0;
2143                                 min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
2144                                 max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
2145                                 rel1 {
2146                                         to:"rect.icon.sub.padding";
2147                                         relative: 1.0 1.0;
2148                                 }
2149                                 rel2 {
2150                                         to:"rect.icon.sub.padding";
2151                                         relative: 1.0 1.0;
2152                                 }
2153                                 align: 1.0 1.0;
2154 #ifdef DEBUG
2155                                 color: 255 0 100 255;
2156 #else
2157                                 visible:0;
2158 #endif
2159                         }
2160                 }
2161
2162                 //section layout for close button
2163                 part {
2164                         name: "rect.button.close";
2165                         type: RECT;
2166                         scale: 1;
2167                         description {
2168                                 state: "default" 0.0;
2169                                 min: 38 38;
2170                                 rel1 {
2171                                         relative: 1.0 0.0;
2172                                 }
2173                                 rel2 {
2174                                         relative: 1.0 0.0;
2175                                 }
2176                                 align: 1.0 0.0;
2177 #ifdef DEBUG
2178                                 color: 255 255 255 255;
2179 #else
2180                                 visible:0;
2181 #endif
2182                         }
2183                 }
2184
2185                 //section layout for texts
2186                 part {
2187                         name: "rect.text.title";
2188                         type: RECT;
2189                         scale: 1;
2190                         description {
2191                                 state: "default" 0.0;
2192                                 min: 190 150;
2193                                 max: 190 150;
2194                                 fixed: 1 1;
2195                                 rel1 {
2196                                         to_x:"margin.left";
2197                                         to_y:"margin.top.text";
2198                                         relative: 1.0 1.0;
2199                                 }
2200                                 rel2 {
2201                                         to_x:"rect.icon.bg";
2202                                         to_y:"margin.top.text";
2203                                         relative: 0.0 1.0;
2204                                 }
2205                                 align: 0.0 0.0;
2206 #ifdef DEBUG
2207                                 color: 100 100 100 255;
2208 #else
2209                                 visible:0;
2210 #endif
2211                         }
2212                         description {
2213                                 state: "portrait" 0.0;
2214                                 inherit: "default" 0.0;
2215                         }
2216                         description {
2217                                 state: "landscape" 0.0;
2218                                 inherit: "default" 0.0;
2219                                 min: 260 189;
2220                                 max: 260 189;
2221                         }
2222                 }
2223
2224
2225                 part {
2226                         name: "rect.text.margin.contents";
2227                         type: RECT;
2228                         scale: 1;
2229                         description {
2230                                 state: "default" 0.0;
2231                                 min: 0 14;
2232                                 rel1 {
2233                                         to_x:"margin.left";
2234                                         to_y:"rect.thumbnail.list.1";
2235                                         relative: 1.0 0.0;
2236                                 }
2237                                 rel2 {
2238                                         to_x:"margin.right";
2239                                         to_y:"rect.thumbnail.list.1";
2240                                         relative: 0.0 0.0;
2241                                 }
2242                                 align: 0.0 1.0;
2243 #ifdef DEBUG
2244                                 color: 255 255 255 255;
2245 #else
2246                                 visible:0;
2247 #endif
2248                         }
2249                 }
2250                 part {
2251                         name: "rect.text.contents";
2252                         type: RECT;
2253                         scale: 1;
2254                         description {
2255                                 state: "default" 0.0;
2256                                 min: 0 BOX_TEXT_CONTENTS_HEIGHT;
2257                                 rel1 {
2258                                         to_x:"margin.left";
2259                                         to_y:"rect.text.margin.contents";
2260                                         relative: 1.0 0.0;
2261                                 }
2262                                 rel2 {
2263                                         to_x:"margin.right";
2264                                         to_y:"rect.text.margin.contents";
2265                                         relative: 0.0 0.0;
2266                                 }
2267                                 align: 0.0 1.0;
2268 #ifdef DEBUG
2269                                 color: 100 150 100 255;
2270 #else
2271                                 visible:0;
2272 #endif
2273                         }
2274                 }
2275                 part {
2276                         name: "rect.text.count";
2277                         type: RECT;
2278                         scale: 1;
2279                         description {
2280                                 state: "default" 0.0;
2281                                 min: 58 58;
2282                                 rel1 {
2283                                         to_x:"margin.left";
2284                                         to_y:"rect.text.margin.contents";
2285                                         relative: 1.0 0.0;
2286                                 }
2287                                 rel2 {
2288                                         to_x:"margin.left";
2289                                         to_y:"rect.text.margin.contents";
2290                                         relative: 1.0 0.0;
2291                                 }
2292                                 align: 0.0 1.0;
2293 #ifdef DEBUG
2294                                 color: 190 190 190 255;
2295 #else
2296                                 visible:0;
2297 #endif
2298                         }
2299                 }
2300                 part {
2301                         name: "rect.text.count.padding";
2302                         type: RECT;
2303                         scale: 1;
2304                         description {
2305                                 state: "default" 0.0;
2306                                 min: 10 58;
2307                                 rel1 {
2308                                         to:"rect.text.count";
2309                                         relative: 1.0 0.0;
2310                                 }
2311                                 rel2 {
2312                                         to:"rect.text.count";
2313                                         relative: 1.0 1.0;
2314                                 }
2315                                 align: 0.0 0.0;
2316 #ifdef DEBUG
2317                                 color: 0 0 0 255;
2318 #else
2319                                 visible:0;
2320 #endif
2321                         }
2322                 }
2323                 part {
2324                         name: "rect.text.contents.short";
2325                         type: RECT;
2326                         scale: 1;
2327                         description {
2328                                 state: "default" 0.0;
2329                                 min: 0 BOX_TEXT_CONTENTS_HEIGHT;
2330                                 rel1 {
2331                                         to_x:"rect.text.count.padding";
2332                                         to_y:"rect.text.margin.contents";
2333                                         relative: 1.0 0.0;
2334                                 }
2335                                 rel2 {
2336                                         to_x:"margin.right";
2337                                         to_y:"rect.text.margin.contents";
2338                                         relative: 0.0 0.0;
2339                                 }
2340                                 align: 0.0 1.0;
2341 #ifdef DEBUG
2342                                 color: 40 255 100 255;
2343 #else
2344                                 visible:0;
2345 #endif
2346                         }
2347                 }
2348
2349                 //section layout for thumbnail
2350                 part {
2351                         name: "rect.thumbnail.list.1";
2352                         type: RECT;
2353                         scale: 1;
2354                         description {
2355                                 state: "default" 0.0;
2356                                 min: 70 70;
2357                                 rel1 {
2358                                         to_x:"margin.left.thumnail";
2359                                         to_y:"margin.bottom";
2360                                         relative: 1.0 0.0;
2361                                 }
2362                                 rel2 {
2363                                         to_x:"margin.left.thumnail";
2364                                         to_y:"margin.bottom";
2365                                         relative: 1.0 0.0;
2366                                 }
2367                                 align: 0.0 1.0;
2368 #ifdef DEBUG
2369                                 color: 255 0 0 255;
2370 #else
2371                                 visible:0;
2372 #endif
2373                         }
2374                 }
2375                 part {
2376                         name: "rect.thumbnail.list.1.padding";
2377                         type: RECT;
2378                         scale: 1;
2379                         description {
2380                                 state: "default" 0.0;
2381                                 min: 12 0;
2382                                 rel1 {
2383                                         to:"rect.thumbnail.list.1";
2384                                         relative: 1.0 0.0;
2385                                 }
2386                                 rel2 {
2387                                         to:"rect.thumbnail.list.1";
2388                                         relative: 1.0 1.0;
2389                                 }
2390                                 align: 0.0 0.0;
2391 #ifdef DEBUG
2392                                 color: 0 0 0 255;
2393 #else
2394                                 visible:0;
2395 #endif
2396                         }
2397                         description {
2398                                 state: "portrait" 0.0;
2399                                 inherit: "default" 0.0;
2400                         }
2401                         description {
2402                                 state: "landscape" 0.0;
2403                                 inherit: "default" 0.0;
2404                                 min: 8 0;
2405                         }
2406                 }
2407                 part {
2408                         name: "rect.thumbnail.list.2";
2409                         type: RECT;
2410                         scale: 1;
2411                         description {
2412                                 state: "default" 0.0;
2413                                 min: 70 70;
2414                                 rel1 {
2415                                         to_x:"rect.thumbnail.list.1.padding";
2416                                         to_y:"margin.bottom";
2417                                         relative: 1.0 0.0;
2418                                 }
2419                                 rel2 {
2420                                         to_x:"rect.thumbnail.list.1.padding";
2421                                         to_y:"margin.bottom";
2422                                         relative: 1.0 0.0;
2423                                 }
2424                                 align: 0.0 1.0;
2425 #ifdef DEBUG
2426                                 color: 255 0 0 255;
2427 #else
2428                                 visible:0;
2429 #endif
2430                         }
2431                 }
2432                 part {
2433                         name: "rect.thumbnail.list.2.padding";
2434                         type: RECT;
2435                         scale: 1;
2436                         description {
2437                                 state: "default" 0.0;
2438                                 min: 12 0;
2439                                 rel1 {
2440                                         to:"rect.thumbnail.list.2";
2441                                         relative: 1.0 0.0;
2442                                 }
2443                                 rel2 {
2444                                         to:"rect.thumbnail.list.2";
2445                                         relative: 1.0 1.0;
2446                                 }
2447                                 align: 0.0 0.0;
2448 #ifdef DEBUG
2449                                 color: 0 0 0 255;
2450 #else
2451                                 visible:0;
2452 #endif
2453                         }
2454                         description {
2455                                 state: "portrait" 0.0;
2456                                 inherit: "default" 0.0;
2457                         }
2458                         description {
2459                                 state: "landscape" 0.0;
2460                                 inherit: "default" 0.0;
2461                                 min: 8 0;
2462                         }
2463                 }
2464                 part {
2465                         name: "rect.thumbnail.list.3";
2466                         type: RECT;
2467                         scale: 1;
2468                         description {
2469                                 state: "default" 0.0;
2470                                 min: 70 70;
2471                                 rel1 {
2472                                         to_x:"rect.thumbnail.list.2.padding";
2473                                         to_y:"margin.bottom";
2474                                         relative: 1.0 0.0;
2475                                 }
2476                                 rel2 {
2477                                         to_x:"rect.thumbnail.list.2.padding";
2478                                         to_y:"margin.bottom";
2479                                         relative: 1.0 0.0;
2480                                 }
2481                                 align: 0.0 1.0;
2482 #ifdef DEBUG
2483                                 color: 255 0 0 255;
2484 #else
2485                                 visible:0;
2486 #endif
2487                         }
2488                 }
2489                 part {
2490                         name: "rect.thumbnail.list.3.padding";
2491                         type: RECT;
2492                         scale: 1;
2493                         description {
2494                                 state: "default" 0.0;
2495                                 min: 12 0;
2496                                 rel1 {
2497                                         to:"rect.thumbnail.list.3";
2498                                         relative: 1.0 0.0;
2499                                 }
2500                                 rel2 {
2501                                         to:"rect.thumbnail.list.3";
2502                                         relative: 1.0 1.0;
2503                                 }
2504                                 align: 0.0 0.0;
2505 #ifdef DEBUG
2506                                 color: 0 0 0 255;
2507 #else
2508                                 visible:0;
2509 #endif
2510                         }
2511                         description {
2512                                 state: "portrait" 0.0;
2513                                 inherit: "default" 0.0;
2514                         }
2515                         description {
2516                                 state: "landscape" 0.0;
2517                                 inherit: "default" 0.0;
2518                                 min: 8 0;
2519                         }
2520                 }
2521                 part {
2522                         name: "rect.thumbnail.list.4";
2523                         type: RECT;
2524                         scale: 1;
2525                         description {
2526                                 state: "default" 0.0;
2527                                 min: 70 70;
2528                                 rel1 {
2529                                         to_x:"rect.thumbnail.list.3.padding";
2530                                         to_y:"margin.bottom";
2531                                         relative: 1.0 0.0;
2532                                 }
2533                                 rel2 {
2534                                         to_x:"rect.thumbnail.list.3.padding";
2535                                         to_y:"margin.bottom";
2536                                         relative: 1.0 0.0;
2537                                 }
2538                                 align: 0.0 1.0;
2539 #ifdef DEBUG
2540                                 color: 255 0 0 255;
2541 #else
2542                                 visible:0;
2543 #endif
2544                         }
2545                 }
2546                 part {
2547                         name: "rect.thumbnail.list.4.padding";
2548                         type: RECT;
2549                         scale: 1;
2550                         description {
2551                                 state: "default" 0.0;
2552                                 min: 12 0;
2553                                 rel1 {
2554                                         to:"rect.thumbnail.list.4";
2555                                         relative: 1.0 0.0;
2556                                 }
2557                                 rel2 {
2558                                         to:"rect.thumbnail.list.4";
2559                                         relative: 1.0 1.0;
2560                                 }
2561                                 align: 0.0 0.0;
2562 #ifdef DEBUG
2563                                 color: 0 0 0 255;
2564 #else
2565                                 visible:0;
2566 #endif
2567                         }
2568                         description {
2569                                 state: "portrait" 0.0;
2570                                 inherit: "default" 0.0;
2571                         }
2572                         description {
2573                                 state: "landscape" 0.0;
2574                                 inherit: "default" 0.0;
2575                                 min: 8 0;
2576                         }
2577                 }
2578                 part {
2579                         name: "rect.thumbnail.list.5";
2580                         type: RECT;
2581                         scale: 1;
2582                         description {
2583                                 state: "default" 0.0;
2584                                 min: 70 70;
2585                                 rel1 {
2586                                         to_x:"rect.thumbnail.list.4.padding";
2587                                         to_y:"margin.bottom";
2588                                         relative: 1.0 0.0;
2589                                 }
2590                                 rel2 {
2591                                         to_x:"rect.thumbnail.list.4.padding";
2592                                         to_y:"margin.bottom";
2593                                         relative: 1.0 0.0;
2594                                 }
2595                                 align: 0.0 1.0;
2596 #ifdef DEBUG
2597                                 color: 255 0 0 255;
2598 #else
2599                                 visible:0;
2600 #endif
2601
2602                         }
2603                         description {
2604                                 state: "portrait" 0.0;
2605                                 inherit: "default" 0.0;
2606                         }
2607                         description {
2608                                 state: "landscape" 0.0;
2609                                 inherit: "default" 0.0;
2610                                 visible:1;
2611                         }
2612                 }
2613
2614                 part{
2615                         name: "object.icon.background";
2616                         type:SWALLOW;
2617                         scale: 1;
2618                         description {
2619                                 state: "default" 0.0;
2620                                 fixed: 0 0;
2621                                 rel1 {to: "background";}
2622                                 rel2 {to: "background";}
2623                                 visible:0;
2624                         }
2625                         description {
2626                                 state: "show" 0.0;
2627                                 inherit: "default" 0.0;
2628                                 visible:1;
2629                         }
2630                 }
2631                 part{
2632                         name: "object.icon.bg";
2633                         type:IMAGE;
2634                         scale:1;
2635                         description {
2636                                 state: "default" 0.0;
2637                                 fixed: 0 0;
2638                                 rel1 {to: "rect.icon.bg";}
2639                                 rel2 {to: "rect.icon.bg";}
2640                                 image {
2641                                         normal:"quick_icon_bg_01.png";
2642                                         border: 0 0 0 0;
2643                                         border_scale: 1;
2644                                 }
2645                         }
2646                         description {
2647                                 state: "show" 0.0;
2648                                 inherit: "default" 0.0;
2649                                 visible:1;
2650                         }
2651                         description {
2652                                 state: "hide" 0.0;
2653                                 inherit: "default" 0.0;
2654                                 visible:0;
2655                         }
2656                 }
2657                 part{
2658                         name: "object.icon.bg.dim";
2659                         type:IMAGE;
2660                         scale:1;
2661                         description {
2662                                 state: "default" 0.0;
2663                                 fixed: 0 0;
2664                                 rel1 {to: "background";}
2665                                 rel2 {to: "background";}
2666                                 image {
2667                                         normal:"quick_image_dimmed_port.png";
2668                                         border: 0 0 0 0;
2669                                         border_scale: 1;
2670                                 }
2671                                 visible:0;
2672                         }
2673                         description {
2674                                 state: "portrait" 0.0;
2675                                 inherit: "default" 0.0;
2676                                 image {
2677                                         normal:"quick_image_dimmed_port.png";
2678                                         border: 0 0 0 0;
2679                                         border_scale: 1;
2680                                 }
2681                                 visible:1;
2682                         }
2683                         description {
2684                                 state: "landscape" 0.0;
2685                                 inherit: "default" 0.0;
2686                                 image {
2687                                         normal:"quick_image_dimmed_land.png";
2688                                         border: 0 0 0 0;
2689                                         border_scale: 1;
2690                                 }
2691                                 visible:1;
2692                         }
2693                 }
2694                 part{
2695                         name: BOX_PART_ICON;
2696                         type:SWALLOW;
2697                         scale: 1;
2698                         description {
2699                                 state: "default" 0.0;
2700                                 fixed: 0 0;
2701                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2702                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2703                                 rel1 {to: "rect.icon";}
2704                                 rel2 {to: "rect.icon";}
2705                                 visible:0;
2706                         }
2707                         description {
2708                                 state: "show" 0.0;
2709                                 inherit: "default" 0.0;
2710                                 visible:1;
2711                         }
2712                 }
2713                 part{
2714                         name: "object.icon.press";
2715                         type:IMAGE;
2716                         scale: 1;
2717                         description {
2718                                 state: "default" 0.0;
2719                                 fixed: 1 1;
2720                                 min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2721                                 max: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
2722                                 rel1 {to: "rect.icon";}
2723                                 rel2 {to: "rect.icon";}
2724                                 image {
2725                                         normal:"icon_press.png";
2726                                         border: 0 0 0 0;
2727                                         border_scale: 1;
2728                                 }
2729                                 visible:0;
2730                         }
2731                         description {
2732                                 state: "show" 0.0;
2733                                 inherit: "default" 0.0;
2734                                 visible:1;
2735                         }
2736                         description {
2737                                 state: "hide" 0.0;
2738                                 inherit: "default" 0.0;
2739                                 visible:0;
2740                         }
2741                 }
2742                 part{
2743                         name: "object.icon.sub.bg";
2744                         type:IMAGE;
2745                         scale:1;
2746                         description {
2747                                 state: "default" 0.0;
2748                                 fixed: 0 0;
2749                                 rel1 {to: "rect.icon.sub";}
2750                                 rel2 {to: "rect.icon.sub";}
2751                                 image {
2752                                         normal:"quick_icon_bg_small.png";
2753                                         border: 0 0 0 0;
2754                                         border_scale: 1;
2755                                 }
2756                                 visible:0;
2757                         }
2758                         description {
2759                                 state: "show" 0.0;
2760                                 inherit: "default" 0.0;
2761                                 visible:1;
2762                         }
2763                         description {
2764                                 state: "hide" 0.0;
2765                                 inherit: "default" 0.0;
2766                                 visible:0;
2767                         }
2768                 }
2769                 part{
2770                         name: BOX_PART_ICON_SUB;
2771                         type:SWALLOW;
2772                         scale: 1;
2773                         description {
2774                                 state: "default" 0.0;
2775                                 fixed: 0 0;
2776                                 min: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
2777                                 max: BOX_ICON_SUB_SIZE_W BOX_ICON_SUB_SIZE_H;
2778                                 rel1 {to: "rect.icon.sub";}
2779                                 rel2 {to: "rect.icon.sub";}
2780                                 visible:0;
2781                         }
2782                         description {
2783                                 state: "show" 0.0;
2784                                 inherit: "default" 0.0;
2785                                 visible:1;
2786                         }
2787                 }
2788
2789                 //section thumbnail
2790                 part{
2791                         name: "object.thumbnail.list.1";
2792                         type:SWALLOW;
2793                         scale: 1;
2794                         description {
2795                                 state: "default" 0.0;
2796                                 fixed: 0 0;
2797                                 rel1 {to: "rect.thumbnail.list.1";}
2798                                 rel2 {to: "rect.thumbnail.list.1";}
2799                                 visible:0;
2800                         }
2801                         description {
2802                                 state: "show" 0.0;
2803                                 inherit: "default" 0.0;
2804                                 visible:1;
2805                         }
2806                 }
2807                 part{
2808                         name: "object.thumbnail.list.2";
2809                         type:SWALLOW;
2810                         scale: 1;
2811                         description {
2812                                 state: "default" 0.0;
2813                                 fixed: 0 0;
2814                                 rel1 {to: "rect.thumbnail.list.2";}
2815                                 rel2 {to: "rect.thumbnail.list.2";}
2816                                 visible:0;
2817                         }
2818                         description {
2819                                 state: "show" 0.0;
2820                                 inherit: "default" 0.0;
2821                                 visible:1;
2822                         }
2823                 }
2824                 part{
2825                         name: "object.thumbnail.list.3";
2826                         type:SWALLOW;
2827                         scale: 1;
2828                         description {
2829                                 state: "default" 0.0;
2830                                 fixed: 0 0;
2831                                 rel1 {to: "rect.thumbnail.list.3";}
2832                                 rel2 {to: "rect.thumbnail.list.3";}
2833                                 visible:0;
2834                         }
2835                         description {
2836                                 state: "show" 0.0;
2837                                 inherit: "default" 0.0;
2838                                 visible:1;
2839                         }
2840                 }
2841                 part{
2842                         name: "object.thumbnail.list.4";
2843                         type:SWALLOW;
2844                         scale: 1;
2845                         description {
2846                                 state: "default" 0.0;
2847                                 fixed: 0 0;
2848                                 rel1 {to: "rect.thumbnail.list.4";}
2849                                 rel2 {to: "rect.thumbnail.list.4";}
2850                                 visible:0;
2851                         }
2852                         description {
2853                                 state: "show" 0.0;
2854                                 inherit: "default" 0.0;
2855                                 visible:1;
2856                         }
2857                 }
2858                 part{
2859                         name: "object.thumbnail.list.5";
2860                         type:SWALLOW;
2861                         scale: 1;
2862                         description {
2863                                 state: "default" 0.0;
2864                                 fixed: 0 0;
2865                                 rel1 {to: "rect.thumbnail.list.5";}
2866                                 rel2 {to: "rect.thumbnail.list.5";}
2867                                 visible: 0;
2868                         }
2869                         description {
2870                                 state: "portrait" 0.0;
2871                                 inherit: "default" 0.0;
2872                         }
2873                         description {
2874                                 state: "landscape" 0.0;
2875                                 inherit: "default" 0.0;
2876                                 visible: 1;
2877                         }
2878                 }
2879
2880                 part {
2881                         name: "object.text.title";
2882                         scale: 1;
2883                         type: TEXTBLOCK;
2884                         multiline: 1;
2885                         description {
2886                                 state: "default" 0.0;
2887                                 rel1 {to: "rect.text.title";}
2888                                 rel2 {to: "rect.text.title";}
2889                                 text {
2890                                         style: "notibox_title";
2891                                         align: 0.0 0.0;
2892 #ifdef DEBUG_TEXT
2893                                         text: "some string of text to display";
2894 #endif
2895                                 }
2896                                 visible:0;
2897                         }
2898                         description {
2899                                 state: "show" 0.0;
2900                                 inherit: "default" 0.0;
2901                                 visible:1;
2902                         }
2903                         description {
2904                                 state: "show.effect" 0.0;
2905                                 inherit: "default" 0.0;
2906                                 text {
2907                                         style: "notibox_title_effect";
2908                                 }
2909                                 visible:1;
2910                         }
2911                 }
2912
2913                 part {
2914                         name: "object.text.contents";
2915                         scale: 1;
2916                         type: TEXT;
2917                         effect: TEXT_EFFECT;
2918                         description {
2919                                 state: "default" 0.0;
2920                                 rel1 {to: "rect.text.contents";}
2921                                 rel2 {to: "rect.text.contents";}
2922                                 color: BOX_CONTENTS_FONT_COLOR;
2923                                 text {
2924                                         font: BOX_CONTENTS_FONT;
2925                                         text_class: TEXT_CLASS_TIZEN;
2926                                         size: BOX_CONTENTS_FONT_SIZE;
2927                                         align: 0.0 0.5;
2928 #ifdef DEBUG_TEXT
2929                                         text: "some string of text to display";
2930 #endif
2931                                 }
2932                                 visible:0;
2933                         }
2934                         description {
2935                                 state: "show" 0.0;
2936                                 inherit: "default" 0.0;
2937                                 visible:1;
2938                         }
2939                         description {
2940                                 state: "show.effect" 0.0;
2941                                 inherit: "default" 0.0;
2942                                 color2: BOX_FONT_SHADOW_COLOR;
2943                                 color3: BOX_FONT_OUTLINE_COLOR;
2944                                 visible:1;
2945                         }
2946                 }
2947                 part {
2948                         name: "object.text.contents.short";
2949                         scale: 1;
2950                         type: TEXT;
2951                         effect: TEXT_EFFECT;
2952                         description {
2953                                 state: "default" 0.0;
2954                                 rel1 {to: "rect.text.contents.short";}
2955                                 rel2 {to: "rect.text.contents.short";}
2956                                 color: BOX_CONTENTS_FONT_COLOR;
2957                                 text {
2958                                         font: BOX_CONTENTS_FONT;
2959                                         text_class: TEXT_CLASS_TIZEN;
2960                                         size: BOX_CONTENTS_FONT_SIZE;
2961                                         align: 0.0 0.5;
2962                                 }
2963                                 visible:0;
2964                         }
2965                         description {
2966                                 state: "show" 0.0;
2967                                 inherit: "default" 0.0;
2968                                 visible:1;
2969                         }
2970                         description {
2971                                 state: "show.effect" 0.0;
2972                                 inherit: "default" 0.0;
2973                                 color2: BOX_FONT_SHADOW_COLOR;
2974                                 color3: BOX_FONT_OUTLINE_COLOR;
2975                                 visible:1;
2976                         }
2977                 }
2978
2979                 part {
2980                         name: "object.text.count";
2981                         scale: 1;
2982                         type: TEXT;
2983                         effect: TEXT_EFFECT;
2984                         description {
2985                                 state: "default" 0.0;
2986                                 rel1 {to: "rect.text.count";}
2987                                 rel2 {to: "rect.text.count";}
2988                                 color: BOX_INFO_COUNT_FONT_COLOR;
2989                                 text {
2990                                         font: BOX_INFO_COUNT_FONT;
2991                                         text_class: TEXT_CLASS_TIZEN;
2992                                         size: BOX_INFO_COUNT_FONT_SIZE;
2993                                         align: 0.0 0.5;
2994 #ifdef DEBUG_TEXT
2995                                         text: "3";
2996 #endif
2997                                 }
2998                                 visible:0;
2999                         }
3000                         description {
3001                                 state: "show" 0.0;
3002                                 inherit: "default" 0.0;
3003                                 visible:1;
3004                         }
3005                         description {
3006                                 state: "show.effect" 0.0;
3007                                 inherit: "default" 0.0;
3008                                 color2: BOX_FONT_SHADOW_COLOR;
3009                                 color3: BOX_FONT_OUTLINE_COLOR;
3010                                 visible:1;
3011                         }
3012                 }
3013                 part {
3014                         name: "object.layer.touch.background";
3015                         mouse_events: 1;
3016                         repeat_events: 1;
3017                         scale: 1;
3018                         type: RECT;
3019                         description {
3020                                 state: "default" 0.0;
3021                                 rel1 {to: "background";}
3022                                 rel2 {to: "background";}
3023                                 color: 0 0 0 0;
3024                         }
3025                 }
3026                 part {
3027                         name: "object.layer.touch.button.1";
3028                         mouse_events: 1;
3029                         repeat_events: 0;
3030                         scale: 1;
3031                         type: RECT;
3032                         description {
3033                                 state: "default" 0.0;
3034                                 rel1 {
3035                                         to_x: "rect.icon";
3036                                         to_y: "object.button.close";
3037                                         relative: 0.0 1.0;
3038                                 }
3039                                 rel2 {to: "rect.icon";}
3040                                 color: 0 0 0 0;
3041                         }
3042                         description {
3043                                 state: "show" 0.0;
3044                                 inherit: "default" 0.0;
3045                                 visible:1;
3046                         }
3047                         description {
3048                                 state: "hide" 0.0;
3049                                 inherit: "default" 0.0;
3050                                 visible: 0;
3051                         }
3052                 }
3053                 part{
3054                         name: "object.button.close";
3055                         type:RECT;
3056                         scale:1;
3057                         description {
3058                                 state: "default" 0.0;
3059                                 min:100 64;
3060                                 rel1 {
3061                                         to: "rect.button.close";
3062                                         relative: 1.0 0.0;
3063                                 }
3064                                 rel2 {
3065                                         to: "rect.button.close";
3066                                         relative: 1.0 0.0;
3067                                 }
3068                                 align: 1.0 0.0;
3069                                 color: 0 0 0 0;
3070                         }
3071                 }
3072                 part{
3073                         name: "object.image.button.close";
3074                         type:IMAGE;
3075                         scale:1;
3076                         repeat_events: 1;
3077                         description {
3078                                 state: "default" 0.0;
3079                                 rel1 {to: "rect.button.close";}
3080                                 rel2 {to: "rect.button.close";}
3081                                 image {
3082                                         normal:"quick_btn_close_nor.png";
3083                                         border: 0 0 0 0;
3084                                         border_scale: 1;
3085                                 }
3086                                 align: 0.0 1.0;
3087                         }
3088                         description {
3089                                 state: "normal" 0.0;
3090                                 inherit: "default" 0.0;
3091                         }
3092                         description {
3093                                 state: "pressed" 0.0;
3094                                 inherit: "default" 0.0;
3095                                 image {
3096                                         normal:"quick_btn_close_press.png";
3097                                         border: 0 0 0 0;
3098                                         border_scale: 1;
3099                                 }
3100                                 align: 0.0 1.0;
3101                         }
3102                         description {
3103                                 state: "disabled" 0.0;
3104                                 inherit: "default" 0.0;
3105                                 image {
3106                                         normal:"quick_btn_close_dim.png";
3107                                         border: 0 0 0 0;
3108                                         border_scale: 1;
3109                                 }
3110                                 align: 0.0 1.0;
3111                         }
3112                 }
3113                 part {
3114                         name: "accessibility";
3115                         type: RECT;
3116                         mouse_events: 1;
3117                         repeat_events: 1;
3118                         scale: 1;
3119                         description {
3120                                 state: "default" 0.0;
3121                                 rel1 {
3122                                         to: "background";
3123                                 }
3124                                 rel2 {
3125                                         to: "background";
3126                                 }
3127                                 color: QP_ACCESSIBILITY_TEST_COLOR;
3128                                 visible: 1;
3129                         }
3130                 }
3131                 part {
3132                         name: "accessibility.closebutton";
3133                         type: RECT;
3134                         mouse_events: 1;
3135                         repeat_events: 1;
3136                         scale: 1;
3137                         description {
3138                                 state: "default" 0.0;
3139                                 rel1 {
3140                                         to: "rect.button.close";
3141                                 }
3142                                 rel2 {
3143                                         to: "rect.button.close";
3144                                 }
3145                                 color: QP_ACCESSIBILITY_TEST_COLOR;
3146                                 visible: 1;
3147                         }
3148                 }
3149         }
3150
3151         programs {
3152                 program {
3153                         name: "init.layout";
3154                         signal: "load";
3155                         source: "";
3156                         in: 0.0 0.0;
3157                         script{
3158                                 init_variables();
3159                         }
3160                 }
3161                 program{
3162                         name: "box.show.dim";
3163                         signal: "box.show.dim";
3164                         source: "box.prog";
3165                         script {
3166                                 set_int(g_is_show_dim_bg, 1);
3167                         }
3168                 }
3169                 program{
3170                         name: "box.hide.dim";
3171                         signal: "box.hide.dim";
3172                         source: "box.prog";
3173                         script {
3174                                 set_int(g_is_show_dim_bg, 0);
3175                         }
3176                 }
3177                 program{
3178                         name: "box.portrait";
3179                         signal: "box.portrait";
3180                         source: "box.prog";
3181                         action: STATE_SET "portrait" 0.0;
3182                         target: "background";
3183                         target: "margin.left.thumnail";
3184                         target: "margin.right.thumnail";
3185                         target: "rect.text.title";
3186                         target: "rect.thumbnail.list.1.padding";
3187                         target: "rect.thumbnail.list.2.padding";
3188                         target: "rect.thumbnail.list.3.padding";
3189                         target: "rect.thumbnail.list.4.padding";
3190                         target: "rect.thumbnail.list.5";
3191                         target: "object.thumbnail.list.5";
3192                         after: "box.portrait.custom";
3193                 }
3194                 program{
3195                         name: "box.landscape";
3196                         signal: "box.landscape";
3197                         source: "box.prog";
3198                         action: STATE_SET "landscape" 0.0;
3199                         target: "background";
3200                         target: "margin.left.thumnail";
3201                         target: "margin.right.thumnail";
3202                         target: "rect.text.title";
3203                         target: "rect.thumbnail.list.1.padding";
3204                         target: "rect.thumbnail.list.2.padding";
3205                         target: "rect.thumbnail.list.3.padding";
3206                         target: "rect.thumbnail.list.4.padding";
3207                         target: "rect.thumbnail.list.5";
3208                         target: "object.thumbnail.list.5";
3209                         after: "box.landscape.custom";
3210                 }
3211                 program{
3212                         name: "box.portrait.custom";
3213                         source: "box.prog";
3214                         script {
3215                                 if (get_int(g_is_show_dim_bg) == 1) {
3216                                         set_state(PART:"object.icon.bg.dim", "portrait", 0.0);
3217                                 }
3218                         }
3219                 }
3220                 program{
3221                         name: "box.landscape.custom";
3222                         source: "box.prog";
3223                         script {
3224                                 if (get_int(g_is_show_dim_bg) == 1) {
3225                                         set_state(PART:"object.icon.bg.dim", "landscape", 0.0);
3226                                 }
3227                         }
3228                 }
3229                 program{
3230                         name: "box.touch.down";
3231                         signal: "mouse,clicked,1";
3232                         source: "object.layer.touch.background";
3233                         action: SIGNAL_EMIT "selected" "edje";
3234                 }
3235                 program{
3236                         name: "box.button.1.touch.clicked";
3237                         signal: "mouse,clicked,1";
3238                         source: "object.layer.touch.button.1";
3239                         action: SIGNAL_EMIT "button_1" "edje";
3240                 }
3241                 program{
3242                         name: "box.button.1.touch.down";
3243                         signal: "mouse,down,1";
3244                         source: "object.layer.touch.button.1";
3245                         action: STATE_SET "show" 0.0;
3246                         target: "object.icon.press";
3247                 }
3248                 program{
3249                         name: "box.button.1.touch.up";
3250                         signal: "mouse,up,1";
3251                         source: "object.layer.touch.button.1";
3252                         action: STATE_SET "hide" 0.0;
3253                         target: "object.icon.press";
3254                 }
3255                 program{
3256                         name: "box.button.close.1";
3257                         signal: "mouse,down,1";
3258                         source: "object.button.close";
3259                         script {
3260                                 if (get_int(g_is_close_button_disabled) == 0) {
3261                                         set_state(PART:"object.image.button.close", "pressed", 0.0);
3262                                 }
3263                         }
3264                 }
3265                 program{
3266                         name: "box.button.close.2";
3267                         signal: "mouse,up,1";
3268                         source: "object.button.close";
3269                         script {
3270                                 set_state(PART:"object.image.button.close", "normal", 0.0);
3271                         }
3272                 }
3273                 program{
3274                         name: "box.button.close.3";
3275                         signal: "mouse,clicked,1";
3276                         source: "object.button.close";
3277                         script {
3278                                 if (get_int(g_is_close_button_disabled) == 0) {
3279                                         set_state(PART:"object.image.button.close", "normal", 0.0);
3280                                         emit("deleted", "edje");
3281                                 }
3282                         }
3283                 }
3284                 program{
3285                         name: "box.button.close.4";
3286                         signal: "disabled";
3287                         source: "object.button.close";
3288                         script {
3289                                 set_state(PART:"object.image.button.close", "disabled", 0.0);
3290                                 set_int(g_is_close_button_disabled, 1);
3291                         }
3292                 }
3293                 program{
3294                         name: "box.show.icon.bg";
3295                         signal: "box.show.icon.bg";
3296                         source: "box.prog";
3297                         action: STATE_SET "show" 0.0;
3298                         target: "object.icon.bg";
3299                         target: "object.layer.touch.button.1";
3300                 }
3301                 program{
3302                         name: "box.hide.icon.bg";
3303                         signal: "box.hide.icon.bg";
3304                         source: "box.prog";
3305                         action: STATE_SET "hide" 0.0;
3306                         target: "object.icon.bg";
3307                         target: "object.layer.touch.button.1";
3308                 }
3309                 program{
3310                         name: "box.show.icon.sub.bg";
3311                         signal: "box.show.sub.bg";
3312                         source: "box.prog";
3313                         action: STATE_SET "show" 0.0;
3314                         target: "object.icon.sub.bg";
3315                 }
3316                 program{
3317                         name: "box.hide.icon.sub.bg";
3318                         signal: "box.hide.sub.bg";
3319                         source: "box.prog";
3320                         action: STATE_SET "hide" 0.0;
3321                         target: "object.icon.sub.bg";
3322                 }
3323                 MAKE_PART_SHOW_PROGRAM("object.icon.background")
3324                 MAKE_PART_SHOW_PROGRAM("object.icon")
3325                 MAKE_PART_SHOW_PROGRAM("object.icon.sub")
3326                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.title")
3327                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents")
3328                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.contents.short")
3329                 MAKE_PART_SHOW_TEXT_PROGRAM("object.text.count")
3330                 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.1")
3331                 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.2")
3332                 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.3")
3333                 MAKE_PART_SHOW_PROGRAM("object.thumbnail.list.4")
3334         }
3335 }