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