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