merge from 2.4 , block compile error
[apps/core/preloaded/quickpanel.git] / data / quickpanel_listitem_ongoing.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
19 //#define DEBUG
20 //#define DEBUG_TEXT
21
22 #define QP_ONGOING_PROGRESS_TITLE_COLOR "T023"
23 #define QP_ONGOING_PROGRESS_TITLE_PRESS_COLOR "T023P"
24 #define QP_ONGOING_PROGRESS_CONTENTS_COLOR "T024"
25 #define QP_ONGOING_PROGRESS_RATE_COLOR "T024L1"
26
27 #define QP_ONGOING_PROGRESS_TITLE_FONT_SIZE 30
28 #define QP_ONGOING_PROGRESS_CONTENTS_FONT_SIZE 24
29 #define QP_ONGOING_PROGRESS_RATE_FONT_SIZE 24
30
31         group {
32                 name: "quickpanel/listitem/progress";
33                 data.item: "bgcolor" QP_THEME_BANDED_COLOR;
34
35                 parts {
36                         part {
37                                 name: "background";
38                                 type: SPACER;
39                                 scale: 1;
40                                 description {
41                                         state: "default" 0.0;
42                                         min: 0 (QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
43                                         max: -1 (QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
44                                 }
45                         }
46                         part {
47                                 name: "seperator.top";
48                                 type: SPACER;
49                                 scale: 1;
50                                 description {
51                                         state: "default" 0.0;
52                                         min: 0 QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT;
53                                         fixed: 0 1;
54                                         rel1 {
55                                                 to: "background";
56                                                 relative: 0.0 0.0;
57                                         }
58                                         rel2 {
59                                                 to: "background";
60                                                 relative: 1.0 0.0;
61                                         }
62                                         align: 0.0 0.0;
63                                 }
64                         }
65                         part {
66                                 name: "seperator.left";
67                                 type: SPACER;
68                                 scale: 1;
69                                 description {
70                                         state: "default" 0.0;
71                                         min: 0 0;
72                                         fixed: 1 0;
73                                         rel1 {
74                                                 to: "background";
75                                                 relative: 0.0 0.0;
76                                         }
77                                         rel2 {
78                                                 to: "background";
79                                                 relative: 0.0 1.0;
80                                         }
81                                         align: 0.0 0.0;
82                                 }
83                         }
84                         part {
85                                 name: "seperator.right";
86                                 type: SPACER;
87                                 scale: 1;
88                                 description {
89                                         state: "default" 0.0;
90                                         min: 0 0;
91                                         fixed: 1 0;
92                                         rel1 {
93                                                 to: "background";
94                                                 relative: 1.0 0.0;
95                                         }
96                                         rel2 {
97                                                 to: "background";
98                                                 relative: 1.0 1.0;
99                                         }
100                                         align: 1.0 0.0;
101                                 }
102                         }
103                         part {
104                                 name: "base";
105                                 type: SPACER;
106                                 scale: 1;
107                                 description {
108                                         state: "default" 0.0;
109                                         fixed: 0 1;
110                                         min: 0 QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT;
111                                         max: 9999 QP_THEME_LIST_ITEM_ONGOING_PROGRESS_HEIGHT;
112                                         rel1 {
113                                                 relative: 1.0 1.0;
114                                                 to_x: "seperator.left";
115                                                 to_y: "seperator.top";
116                                         }
117                                         rel2 {
118                                                 relative: 0.0 1.0;
119                                                 to_x: "seperator.right";
120                                                 to_y: "seperator.top";
121                                         }
122                                         align: 0.0 0.0;
123                                 }
124                         }
125                         part {
126                                 name: "bgcolor";
127                                 type: "RECT";
128                                 mouse_events: 0;
129                                 description {
130                                         state: "default" 0.0;
131                                         rel1.to:"base";
132                                         rel2.to:"base";
133                                         color_class: QP_THEME_BANDED_COLOR;
134                                         visible: 1;
135                                 }
136                                 description {
137                                         state: "effect" 0.0;
138                                         inherit: "default" 0.0;
139                                         color_class: QP_THEME_BG_COLOR;
140                                         color: 255 255 255 128;
141                                         visible:1;
142                                 }
143                         }
144
145                         part {
146                                 name: "elm.padding.right";
147                                 type: SPACER;
148                                 scale: 1;
149                                 description {
150                                         state: "default" 0.0;
151                                         min: 15 0;
152                                         fixed: 1 0;
153                                         rel1.to:"base";
154                                         rel2.to:"base";
155                                         rel1.relative: 1.0 0.0;
156                                         rel2.relative: 1.0 1.0;
157                                         align: 1.0 0.0;
158                                 }
159                         }
160                         part {
161                                 name: "elm.padding.right.content";
162                                 type: SPACER;
163                                 scale: 1;
164                                 description {
165                                         state: "default" 0.0;
166                                         min: 15 0;
167                                         fixed: 1 0;
168                                         rel1.to:"base";
169                                         rel2.to:"base";
170                                         rel1.relative: 1.0 0.0;
171                                         rel2.relative: 1.0 1.0;
172                                         align: 1.0 0.0;
173                                 }
174                         }
175                         part {
176                                 name: "elm.padding.top.icon";
177                                 type: SPACER;
178                                 scale: 1;
179                                 description {
180                                         state: "default" 0.0;
181                                         min: 0 25;
182                                         fixed: 0 1;
183                                         rel1.to:"base";
184                                         rel2.to:"base";
185                                         rel1.relative: 0.0 0.0;
186                                         rel2.relative: 1.0 0.0;
187                                         align: 0.0 0.0;
188                                 }
189                         }
190                         part {
191                                 name: "elm.padding.left.icon";
192                                 type: SPACER;
193                                 scale: 1;
194                                 description {
195                                         state: "default" 0.0;
196                                         min: 15 0;
197                                         fixed: 1 0;
198                                         rel1.to:"base";
199                                         rel2.to:"base";
200                                         rel1.relative: 0.0 0.0;
201                                         rel2.relative: 0.0 1.0;
202                                         align: 0.0 0.0;
203                                 }
204                         }
205                         part {
206                                 name: "elm.padding.top.text";
207                                 type: SPACER;
208                                 scale: 1;
209                                 description {
210                                         state: "default" 0.0;
211                                         min: 0 9;
212                                         fixed: 0 1;
213                                         rel1.to:"base";
214                                         rel2.to:"base";
215                                         rel1.relative: 0.0 0.0;
216                                         rel2.relative: 1.0 0.0;
217                                         align: 0.0 0.0;
218                                 }
219                         }
220                         part {
221                                 name: "elm.padding.bottom.text";
222                                 type: SPACER;
223                                 scale: 1;
224                                 description {
225                                         state: "default" 0.0;
226                                         min: 0 9;
227                                         fixed: 0 1;
228                                         rel1.to:"base";
229                                         rel2.to:"base";
230                                         rel1.relative: 0.0 1.0;
231                                         rel2.relative: 1.0 1.0;
232                                         align: 0.0 1.0;
233                                 }
234                         }
235                         part {
236                                 name: "elm.padding.left.title";
237                                 type: SPACER;
238                                 scale: 1;
239                                 description {
240                                         state: "default" 0.0;
241                                         min: (15 + 46 + 15) 0;
242                                         fixed: 1 0;
243                                         rel1.to:"base";
244                                         rel2.to:"base";
245                                         rel1.relative: 0.0 0.0;
246                                         rel2.relative: 0.0 1.0;
247                                         align: 0.0 0.0;
248                                 }
249                         }
250                         part {
251                                 name: "elm.padding.left.progress.text";
252                                 type: SPACER;
253                                 scale: 1;
254                                 description {
255                                         state: "default" 0.0;
256                                         min: (15 + 46 + 15) 0;
257                                         fixed: 1 0;
258                                         rel1.to:"base";
259                                         rel2.to:"base";
260                                         rel1.relative: 0.0 0.0;
261                                         rel2.relative: 0.0 1.0;
262                                         align: 0.0 0.0;
263                                 }
264                         }
265                         part {
266                                 name: "elm.padding.left.progress";
267                                 type: SPACER;
268                                 scale: 1;
269                                 description {
270                                         state: "default" 0.0;
271                                         min: (15 + 46 + 15) 0;
272                                         fixed: 1 0;
273                                         rel1.to:"base";
274                                         rel2.to:"base";
275                                         rel1.relative: 0.0 0.0;
276                                         rel2.relative: 0.0 1.0;
277                                         align: 0.0 0.0;
278                                 }
279                         }
280                         part {
281                                 name: "elm.padding.top.progress";
282                                 type: SPACER;
283                                 scale: 1;
284                                 description {
285                                         state: "default" 0.0;
286                                         min: 0 (9 + 33 + 3);
287                                         fixed: 0 1;
288                                         rel1.to:"base";
289                                         rel2.to:"base";
290                                         rel1.relative: 0.0 0.0;
291                                         rel2.relative: 1.0 0.0;
292                                         align: 0.0 0.0;
293                                 }
294                         }
295                         part {
296                                 name: "elm.rect.thumbnail";
297                                 type: SPACER;
298                                 mouse_events: 0;
299                                 scale: 1;
300                                 description { state: "default" 0.0;
301                                         min: 46 46;
302                                         fixed: 1 1;
303                                         rel1 {
304                                                 relative: 1.0 1.0;
305                                                 to_x: "elm.padding.left.icon";
306                                                 to_y: "elm.padding.top.icon";
307                                         }
308                                         rel2 {
309                                                 relative: 1.0 1.0;
310                                                 to_x: "elm.padding.left.icon";
311                                                 to_y: "elm.padding.top.icon";
312                                         }
313                                         align: 0.0 0.0;
314                                 }
315                         }
316                         part {
317                                 name: "elm.rect.icon";
318                                 type: SPACER;
319                                 mouse_events: 0;
320                                 scale: 1;
321                                 description {
322                                         state: "default" 0.0;
323                                         min: 29 29;
324                                         fixed: 1 1;
325                                         rel1 {
326                                                 relative: 0.5 0.5;
327                                                 to: "elm.rect.thumbnail";
328                                         }
329                                         rel2 {
330                                                 relative: 0.5 0.5;
331                                                 to: "elm.rect.thumbnail";
332                                         }
333                                         align: 0.0 0.0;
334                                 }
335                         }
336                         part {
337                                 name: "elm.rect.text.title";
338                                 type: SPACER;
339                                 mouse_events: 0;
340                                 scale: 1;
341                                 description { state: "default" 0.0;
342                                         min: 0 33;
343                                         fixed: 0 1;
344                                         rel1 {
345                                                 relative: 1.0 1.0;
346                                                 to_x: "elm.padding.left.title";
347                                                 to_y: "elm.padding.top.text";
348                                         }
349                                         rel2 {
350                                                 relative: 0.0 1.0;
351                                                 to_x: "elm.padding.right";
352                                                 to_y: "elm.padding.top.text";
353                                         }
354                                         align: 0.0 0.0;
355                                 }
356                         }
357                         part {
358                                 name: "elm.rect.text.progress";
359                                 type: SPACER;
360                                 mouse_events: 0;
361                                 scale: 1;
362                                 description {
363                                         state: "default" 0.0;
364                                         min: 99 33;
365                                         fixed: 1 1;
366                                         rel1 {
367                                                 relative: 0.0 0.0;
368                                                 to_x: "elm.padding.right";
369                                                 to_y: "elm.padding.bottom.text";
370                                         }
371                                         rel2 {
372                                                 relative: 0.0 0.0;
373                                                 to_x: "elm.padding.right";
374                                                 to_y: "elm.padding.bottom.text";
375                                         }
376                                         align: 1.0 1.0;
377                                 }
378                         }
379                         part {
380                                 name: "elm.rect.text.content";
381                                 type: SPACER;
382                                 mouse_events: 0;
383                                 scale: 1;
384                                 description {
385                                         state: "default" 0.0;
386                                         min: 0 33;
387                                         fixed: 0 1;
388                                         rel1 {
389                                                 relative: 1.0 0.0;
390                                                 to_x: "elm.padding.left.title";
391                                                 to_y: "elm.padding.bottom.text";
392                                         }
393                                         rel2 {
394                                                 relative: 0.0 0.0;
395                                                 to_x: "elm.rect.text.progress";
396                                                 to_y: "elm.padding.bottom.text";
397                                         }
398                                         align: 0.0 1.0;
399                                 }
400                         }
401                         part {
402                                 name: "elm.rect.progress";
403                                 type: SPACER;
404                                 mouse_events: 0;
405                                 scale: 1;
406                                 description {
407                                         state: "default" 0.0;
408                                         align: 0.0 0.0;
409                                         min: 0 6;
410                                         max: 9999 6;
411                                         fixed: 0 1;
412                                         rel1 {
413                                                 relative: 1.0 1.0;
414                                                 to_x: "elm.padding.left.progress";
415                                                 to_y: "elm.padding.top.progress";
416                                         }
417                                         rel2 {
418                                                 relative: 0.0 1.0;
419                                                 to_x: "elm.padding.right";
420                                                 to_y: "elm.padding.top.progress";
421                                         }
422                                 }
423                         }
424                         part {
425                                 name: "elm.swallow.thumbnail";
426                                 type: SWALLOW;
427                                 mouse_events: 0;
428                                 scale: 1;
429                                 description {
430                                         state: "default" 0.0;
431                                         fixed: 1 1;
432                                         min: BOX_ICON_SIZE_W BOX_ICON_SIZE_H;
433                                         max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_H;
434                                         rel1 {
435                                                 to: "elm.rect.thumbnail";
436                                         }
437                                         rel2 {
438                                                 to: "elm.rect.thumbnail";
439                                         }
440                                         align: 0.5 0.5;
441                                 }
442                         }
443                         part {
444                                 name: "elm.swallow.icon";
445                                 type: SWALLOW;
446                                 mouse_events: 0;
447                                 scale: 1;
448                                 description {
449                                         state: "default" 0.0;
450                                         min: 45 45;
451                                         fixed: 1 1;
452                                         rel1 {
453                                                 relative: 0.5 0.5;
454                                                 to: "elm.rect.icon";
455                                         }
456                                         rel2 {
457                                                 relative: 0.5 0.5;
458                                                 to: "elm.rect.icon";
459                                         }
460                                         align: 0.5 0.5;
461                                 }
462                         }
463                         part {
464                                 name: "elm.text.title";
465                                 type: TEXT;
466                                 mouse_events: 0;
467                                 scale: 1;
468                                 description {
469                                         state: "default" 0.0;
470                                         align: 0.0 0.5;
471                                         fixed: 0 1;
472                                         rel1 {
473                                                 to:"elm.rect.text.title";
474                                         }
475                                         rel2 {
476                                                 to:"elm.rect.text.title";
477                                         }
478                                         color_class: QP_ONGOING_PROGRESS_TITLE_COLOR;
479                                         text {
480                                                 font: "Tizen:style=Regular";
481                                                 text_class: "tizen";
482                                                 size: QP_ONGOING_PROGRESS_TITLE_FONT_SIZE;
483                                                 ellipsis: 0.0;
484                                                 align: 0.0 0.5;
485                                         }
486                                 }
487                                 description {
488                                         state: "selected" 0.0;
489                                         inherit: "default" 0.0;
490                                 }
491                         }
492                         part {
493                                 name: "elm.text.time";
494                                 type: TEXT;
495                                 mouse_events: 0;
496                                 scale: 1;
497                                 description {
498                                         state: "default" 0.0;
499                                         align: 1.0 0.5;
500                                         rel1 {
501                                                 to:"elm.rect.text.progress";
502                                         }
503                                         rel2 {
504                                                 to:"elm.rect.text.progress";
505                                         }
506                                         color_class: QP_ONGOING_PROGRESS_RATE_COLOR;
507                                         text {
508                                                 font: "Tizen:style=Regular";
509                                                 text_class: "tizen";
510                                                 size: QP_ONGOING_PROGRESS_RATE_FONT_SIZE;
511                                                 align: 1.0 0.5;
512                                         }
513                                 }
514                                 description {
515                                         state: "selected" 0.0;
516                                         inherit: "default" 0.0;
517                                 }
518                         }
519                         part {
520                                 name: "elm.text.content";
521                                 type: TEXT;
522                                 mouse_events: 0;
523                                 scale: 1;
524                                 description {
525                                         state: "default" 0.0;
526                                         align: 0.0 0.5;
527                                         fixed: 0 1;
528                                         rel1 {
529                                                 to: "elm.rect.text.content";
530                                         }
531                                         rel2 {
532                                                 to: "elm.rect.text.content";
533                                         }
534                                         color_class: QP_ONGOING_PROGRESS_CONTENTS_COLOR;
535                                         text {
536                                                 font: "Tizen:style=Regular";
537                                                 text_class: "tizen";
538                                                 size: QP_ONGOING_PROGRESS_CONTENTS_FONT_SIZE;
539                                                 align: 0.0 0.5;
540                                         }
541                                         visible: 1;
542                                 }
543                         }
544                         part {
545                                 name: "elm.swallow.progress";
546                                 type: SWALLOW;
547                                 mouse_events: 0;
548                                 scale: 1;
549                                 description {
550                                         state: "default" 0.0;
551                                         rel1 {
552                                                 to: "elm.rect.progress";
553                                         }
554                                         rel2 {
555                                                 to: "elm.rect.progress";
556                                         }
557                                 }
558                         }
559                         part {
560                                 name: "object.layer.touch.background";
561                                 mouse_events: 1;
562                                 repeat_events: 1;
563                                 scale: 1;
564                                 type: RECT;
565                                 description {
566                                         state: "default" 0.0;
567                                         rel1 {to: "base";}
568                                         rel2 {to: "base";}
569                                         color: 0 0 0 0;
570                                 }
571                         }
572                         QUICKPANEL_FOCUS_OBJECT("focus", "base", "base")
573                 }
574
575                 programs {
576                         program{
577                                 name: "effect,mouse,down";
578                                 signal: "mouse,down,1";
579                                 source: "object.layer.touch.background";
580                                 script {
581                                         set_state(PART:"bgcolor", "effect", 0.0);
582                                 }
583                         }
584                         program{
585                                 name: "effect,mouse,up";
586                                 signal: "mouse,up,1";
587                                 source: "object.layer.touch.background";
588                                 action: STATE_SET "default" 0.0;
589                                 transition: ACCELERATE 0.20;
590                                 target: "bgcolor";
591                         }
592 #ifdef TBD
593                         program{
594                                 name: "listbox.touch.down";
595                                 signal: "mouse,clicked,1";
596                                 source: "object.layer.touch.background";
597                                 action: SIGNAL_EMIT "selected" "edje";
598                         }
599 #endif
600                 }
601         }
602
603 #define QP_ONGOING_EVENT_TITLE_COLOR "T023"
604 #define QP_ONGOING_EVENT_CONTENTS_COLOR "T024"
605
606 #define QP_ONGOING_EVENT_TITLE_FONT_SIZE 30
607 #define QP_ONGOING_EVENT_CONTENTS_FONT_SIZE 24
608
609         group {
610                 name: "quickpanel/listitem/event";
611                 data.item: "bgcolor" QP_THEME_BANDED_COLOR;
612
613                 styles {
614                         style {
615                                 name: "ongoing_event_content_text";
616                                 base: "font=Tizen:style=Regular text_class=tizen align=left valign=0.5 font_size="QP_ONGOING_EVENT_CONTENTS_FONT_SIZE" ellipsis=1.0 color=#2B2B2BFF color_class="QP_ONGOING_EVENT_CONTENTS_COLOR" wrap=none";
617                         }
618                 }
619                 parts {
620                         part {
621                                 name: "background";
622                                 type: SPACER;
623                                 scale: 1;
624                                 description {
625                                         state: "default" 0.0;
626                                         min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
627                                         max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
628                                 }
629                                 description {
630                                         state: "line1" 0.0;
631                                         inherit: "default" 0.0;
632                                         min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
633                                         max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
634                                 }
635                                 description {
636                                         state: "line2" 0.0;
637                                         inherit: "default" 0.0;
638                                         min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
639                                         max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
640                                 }
641                                 description {
642                                         state: "line3" 0.0;
643                                         inherit: "default" 0.0;
644                                         min: 0 (QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
645                                         max: -1 (QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT + QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT);
646                                 }
647                         }
648
649                         part {
650                                 name: "seperator.top";
651                                 type: SPACER;
652                                 scale: 1;
653                                 description {
654                                         state: "default" 0.0;
655                                         min: 0 QP_THEME_LIST_ITEM_SEPERATOR_HEIGHT;
656                                         fixed: 0 1;
657                                         rel1 {
658                                                 to: "background";
659                                                 relative: 0.0 0.0;
660                                         }
661                                         rel2 {
662                                                 to: "background";
663                                                 relative: 1.0 0.0;
664                                         }
665                                         align: 0.0 0.0;
666                                 }
667                         }
668                         part {
669                                 name: "seperator.left";
670                                 type: SPACER;
671                                 scale: 1;
672                                 description {
673                                         state: "default" 0.0;
674                                         min: 0 0;
675                                         fixed: 1 0;
676                                         rel1 {
677                                                 to: "background";
678                                                 relative: 0.0 0.0;
679                                         }
680                                         rel2 {
681                                                 to: "background";
682                                                 relative: 0.0 1.0;
683                                         }
684                                         align: 0.0 0.0;
685                                 }
686                         }
687                         part {
688                                 name: "seperator.right";
689                                 type: SPACER;
690                                 scale: 1;
691                                 description {
692                                         state: "default" 0.0;
693                                         min: 0 0;
694                                         fixed: 1 0;
695                                         rel1 {
696                                                 to: "background";
697                                                 relative: 1.0 0.0;
698                                         }
699                                         rel2 {
700                                                 to: "background";
701                                                 relative: 1.0 1.0;
702                                         }
703                                         align: 1.0 0.0;
704                                 }
705                         }
706                         part {
707                                 name: "base";
708                                 type: SPACER;
709                                 scale: 1;
710                                 description {
711                                         state: "default" 0.0;
712                                         fixed: 0 1;
713                                         min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
714                                         max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
715                                         rel1 {
716                                                 relative: 1.0 1.0;
717                                                 to_x: "seperator.left";
718                                                 to_y: "seperator.top";
719                                         }
720                                         rel2 {
721                                                 relative: 0.0 1.0;
722                                                 to_x: "seperator.right";
723                                                 to_y: "seperator.top";
724                                         }
725                                         align: 0.0 0.0;
726                                 }
727                                 description {
728                                         state: "line1" 0.0;
729                                         inherit: "default" 0.0;
730                                         min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
731                                         max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
732                                 }
733                                 description {
734                                         state: "line2" 0.0;
735                                         inherit: "default" 0.0;
736                                         min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
737                                         max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_HEIGHT;
738                                 }
739                                 description {
740                                         state: "line3" 0.0;
741                                         inherit: "default" 0.0;
742                                         min: 0 QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT;
743                                         max: -1 QP_THEME_LIST_ITEM_ONGOING_EVENT_LINE3_HEIGHT;
744                                 }
745                         }
746
747                         part {
748                                 name: "bgcolor";
749                                 type: "RECT";
750                                 mouse_events: 0;
751                                 description {
752                                         state: "default" 0.0;
753                                         rel1.to:"base";
754                                         rel2.to:"base";
755                                         color_class: QP_THEME_BANDED_COLOR;
756                                         visible: 1;
757                                 }
758                                 description {
759                                         state: "effect" 0.0;
760                                         inherit: "default" 0.0;
761                                         color_class: QP_THEME_BG_COLOR;
762                                         color: 255 255 255 128;
763                                 }
764                         }
765
766                         part {
767                                 name: "elm.padding.right";
768                                 type: SPACER;
769                                 scale: 1;
770                                 description {
771                                         state: "default" 0.0;
772                                         min: 8 0;
773                                         fixed: 1 0;
774                                         rel1.to:"base";
775                                         rel2.to:"base";
776                                         rel1.relative: 1.0 0.0;
777                                         rel2.relative: 1.0 1.0;
778                                         align: 1.0 0.0;
779                                 }
780                         }
781                         part {
782                                 name: "elm.padding.top.icon";
783                                 type: SPACER;
784                                 scale: 1;
785                                 description {
786                                         state: "default" 0.0;
787                                         min: 0 25;
788                                         fixed: 0 1;
789                                         rel1.to:"base";
790                                         rel2.to:"base";
791                                         rel1.relative: 0.0 0.0;
792                                         rel2.relative: 1.0 0.0;
793                                         align: 0.0 0.0;
794                                 }
795                                 description {
796                                         state: "line1" 0.0;
797                                         inherit: "default" 0.0;
798                                         min: 0 25;
799                                 }
800                                 description {
801                                         state: "line2" 0.0;
802                                         inherit: "default" 0.0;
803                                         min: 0 25;
804                                 }
805                                 description {
806                                         state: "line3" 0.0;
807                                         inherit: "default" 0.0;
808                                         min: 0 35;
809                                 }
810                         }
811                         part {
812                                 name: "elm.padding.left.icon";
813                                 type: SPACER;
814                                 scale: 1;
815                                 description {
816                                         state: "default" 0.0;
817                                         min: 15 0;
818                                         fixed: 1 0;
819                                         rel1.to:"base";
820                                         rel2.to:"base";
821                                         rel1.relative: 0.0 0.0;
822                                         rel2.relative: 0.0 1.0;
823                                         align: 0.0 0.0;
824                                 }
825                         }
826                         part {
827                                 name: "elm.padding.top.text";
828                                 type: SPACER;
829                                 scale: 1;
830                                 description {
831                                         state: "default" 0.0;
832                                         min: 0 13;
833                                         fixed: 0 1;
834                                         rel1.to:"base";
835                                         rel2.to:"base";
836                                         rel1.relative: 0.0 0.0;
837                                         rel2.relative: 1.0 0.0;
838                                         align: 0.0 0.0;
839                                 }
840                                 description {
841                                         state: "line1" 0.0;
842                                         inherit: "default" 0.0;
843                                         min: 0 13;
844                                 }
845                                 description {
846                                         state: "line2" 0.0;
847                                         inherit: "default" 0.0;
848                                         min: 0 9;
849                                 }
850                                 description {
851                                         state: "line3" 0.0;
852                                         inherit: "default" 0.0;
853                                         min: 0 12;
854                                 }
855                         }
856                         part {
857                                 name: "elm.padding.bottom.text";
858                                 type: SPACER;
859                                 scale: 1;
860                                 description {
861                                         state: "default" 0.0;
862                                         min: 0 13;
863                                         fixed: 0 1;
864                                         rel1.to:"base";
865                                         rel2.to:"base";
866                                         rel1.relative: 0.0 1.0;
867                                         rel2.relative: 1.0 1.0;
868                                         align: 0.0 1.0;
869                                 }
870                                 description {
871                                         state: "line1" 0.0;
872                                         inherit: "default" 0.0;
873                                         min: 0 13;
874                                 }
875                                 description {
876                                         state: "line2" 0.0;
877                                         inherit: "default" 0.0;
878                                         min: 0 0; //13.5
879                                 }
880                                 description {
881                                         state: "line3" 0.0;
882                                         inherit: "default" 0.0;
883                                         min: 0 0; //19
884                                 }
885                         }
886                         part {
887                                 name: "elm.padding.left.title";
888                                 type: SPACER;
889                                 scale: 1;
890                                 description {
891                                         state: "default" 0.0;
892                                         min: (15 + 46 + 15) 0;
893                                         fixed: 1 0;
894                                         rel1.to:"base";
895                                         rel2.to:"base";
896                                         rel1.relative: 0.0 0.0;
897                                         rel2.relative: 0.0 1.0;
898                                         align: 0.0 0.0;
899                                 }
900                         }
901                         part { name: "elm.padding.left.contents";
902                                 type: SPACER;
903                                 scale: 1;
904                                 description {
905                                         state: "default" 0.0;
906                                         min: (15 + 46 + 15) 0;
907                                         fixed: 1 0;
908                                         rel1.to:"base";
909                                         rel2.to:"base";
910                                         rel1.relative: 0.0 0.0;
911                                         rel2.relative: 0.0 1.0;
912                                         align: 0.0 0.0;
913                                 }
914                         }
915                         part {
916                                 name: "elm.rect.thumbnail";
917                                 type: SPACER;
918                                 mouse_events: 0;
919                                 scale: 1;
920                                 description {
921                                         state: "default" 0.0;
922                                         min: 46 46;
923                                         fixed: 1 1;
924                                         rel1 {
925                                                 relative: 1.0 1.0;
926                                                 to_x: "elm.padding.left.icon";
927                                                 to_y: "elm.padding.top.icon";
928                                         }
929                                         rel2 {
930                                                 relative: 1.0 1.0;
931                                                 to_x: "elm.padding.left.icon";
932                                                 to_y: "elm.padding.top.icon";
933                                         }
934                                         align: 0.0 0.0;
935                                 }
936                         }
937                         part {
938                                 name: "elm.rect.icon";
939                                 type: SPACER;
940                                 mouse_events: 0;
941                                 scale: 1;
942                                 description { state: "default" 0.0;
943                                         min: 35 35;
944                                         fixed: 1 1;
945                                         rel1 {
946                                                 relative: 0.5 0.5;
947                                                 to: "elm.rect.thumbnail";
948                                         }
949                                         rel2 {
950                                                 relative: 0.5 0.5;
951                                                 to: "elm.rect.thumbnail";
952                                         }
953                                         align: 0.0 0.0;
954                                 }
955                         }
956                         part {
957                                 name: "elm.rect.text.title";
958                                 type: SPACER;
959                                 mouse_events: 0;
960                                 scale: 1;
961                                 description {
962                                         state: "default" 0.0;
963                                         min: 0 38;
964                                         fixed: 0 1;
965                                         rel1 {
966                                                 relative: 1.0 1.0;
967                                                 to_x: "elm.padding.left.title";
968                                                 to_y: "elm.padding.top.text";
969                                         }
970                                         rel2 {
971                                                 relative: 0.0 1.0;
972                                                 to_x: "elm.padding.right";
973                                                 to_y: "elm.padding.top.text";
974                                         }
975                                         align: 0.0 0.0;
976                                 }
977                                 description {
978                                         state: "move.center" 0.0;
979                                         inherit: "default" 0.0;
980                                         rel1 {
981                                                 relative: 1.0 0.0;
982                                                 to_x: "elm.padding.left.title";
983                                                 to_y: "base";
984                                         }
985                                         rel2 {
986                                                 relative: 1.0 1.0;
987                                                 to_x: "elm.padding.right";
988                                                 to_y: "base";
989                                         }
990                                         align: 0.0 0.5;
991                                 }
992                         }
993                         part {
994                                 name: "elm.rect.text.content";
995                                 type: SPACER;
996                                 mouse_events: 0;
997                                 scale: 1;
998                                 description {
999                                         state: "default" 0.0;
1000                                         min: 35 35;
1001                                         fixed: 0 1;
1002                                         rel1 {
1003                                                 relative: 1.0 1.0;
1004                                                 to_x: "elm.padding.left.contents";
1005                                                 to_y: "elm.rect.text.title";
1006                                         }
1007                                         rel2 {
1008                                                 relative: 0.0 0.0;
1009                                                 to_x: "elm.padding.right";
1010                                                 to_y: "elm.padding.bottom.text";
1011                                         }
1012                                         align: 0.0 0.0;
1013                                 }
1014                         }
1015                         part {
1016                                 name: "elm.swallow.thumbnail";
1017                                 type: SWALLOW;
1018                                 mouse_events: 0;
1019                                 scale: 1;
1020                                 description {
1021                                         state: "default" 0.0;
1022                                         min: BOX_ICON_SIZE_W BOX_ICON_SIZE_W;
1023                                         max: BOX_ICON_BG_SIZE_W BOX_ICON_BG_SIZE_W;
1024                                         fixed: 1 1;
1025                                         rel1 {
1026                                                 to: "elm.rect.thumbnail";
1027                                         }
1028                                         rel2 {
1029                                                 to: "elm.rect.thumbnail";
1030                                         }
1031                                         align: 0.5 0.5;
1032                                 }
1033                         }
1034                         part {
1035                                 name: "elm.swallow.icon";
1036                                 type: SWALLOW;
1037                                 mouse_events: 0;
1038                                 scale: 1;
1039                                 description {
1040                                         state: "default" 0.0;
1041                                         min: 46 46;
1042                                         fixed: 1 1;
1043                                         rel1 {
1044                                                 relative: 0.5 0.5;
1045                                                 to: "elm.rect.icon";
1046                                         }
1047                                         rel2 {
1048                                                 relative: 0.5 0.5;
1049                                                 to: "elm.rect.icon";
1050                                         }
1051                                         align: 0.5 0.5;
1052                                 }
1053                         }
1054                         part {
1055                                 name: "elm.text.title";
1056                                 type: TEXT;
1057                                 mouse_events: 0;
1058                                 scale: 1;
1059                                 description {
1060                                         state: "default" 0.0;
1061                                         align: 0.0 0.0;
1062                                         fixed: 0 1;
1063                                         rel1 {
1064                                                 to:"elm.rect.text.title";
1065                                         }
1066                                         rel2 {
1067                                                 to:"elm.rect.text.title";
1068                                         }
1069                                         color_class: QP_ONGOING_EVENT_TITLE_COLOR;
1070                                         text {
1071                                                 font: "Tizen:style=Regular";
1072                                                 text_class: "tizen";
1073                                                 size: QP_ONGOING_EVENT_TITLE_FONT_SIZE;
1074                                                 ellipsis: 0.0;
1075                                                 align: 0.0 0.5;
1076                                         }
1077                                 }
1078                                 description {
1079                                         state: "selected" 0.0;
1080                                         inherit: "default" 0.0;
1081                                 }
1082                         }
1083                         part {
1084                                 name: "elm.text.content";
1085                                 type: TEXTBLOCK;
1086                                 mouse_events: 0;
1087                                 multiline: 0;
1088                                 scale: 1;
1089                                 description {
1090                                         state: "default" 0.0;
1091                                         align: 0.0 0.0;
1092                                         fixed: 1 1;
1093                                         min: 34 34;
1094                                         max: -1 30;
1095                                         rel1 {
1096                                                 to: "elm.rect.text.content";
1097                                         }
1098                                         rel2 {
1099                                                 to: "elm.rect.text.content";
1100                                         }
1101                                         text {
1102                                                 style: "ongoing_event_content_text";
1103                                                 align: 0.0 0.0;
1104                                         }
1105                                 }
1106                                 description {
1107                                         state: "line1" 0.0;
1108                                         inherit: "default" 0.0;
1109                                         min: 0 34;
1110                                         max: -1 34;
1111                                 }
1112                                 description {
1113                                         state: "line2" 0.0;
1114                                         inherit: "default" 0.0;
1115                                         min: 0 68; //68
1116                                         max: -1 68;
1117                                 }
1118                                 description {
1119                                         state: "line3" 0.0;
1120                                         inherit: "default" 0.0;
1121                                         min: 0 102; //102
1122                                         max: -1 102;
1123                                 }
1124                         }
1125                         part {
1126                                 name: "object.layer.touch.background";
1127                                 mouse_events: 1;
1128                                 repeat_events: 1;
1129                                 scale: 1;
1130                                 type: RECT;
1131                                 description {
1132                                         state: "default" 0.0;
1133                                         rel1 {to: "base";}
1134                                         rel2 {to: "base";}
1135                                         color: 0 0 0 0;
1136                                 }
1137                         }
1138                         QUICKPANEL_FOCUS_OBJECT("focus", "base", "base")
1139                 }
1140
1141                 programs {
1142                         program{
1143                                 name: "listbox.touch.down";
1144                                 signal: "mouse,clicked,1";
1145                                 source: "object.layer.touch.background";
1146                                 action: SIGNAL_EMIT "selected" "edje";
1147                         }
1148                         program{
1149                                 name: "effect,mouse,down";
1150                                 signal: "mouse,down,1";
1151                                 source: "object.layer.touch.background";
1152                                 script {
1153                                         set_state(PART:"bgcolor", "effect", 0.0);
1154                                 }
1155                         }
1156                         program{
1157                                 name: "effect,mouse,up";
1158                                 signal: "mouse,up,1";
1159                                 source: "object.layer.touch.background";
1160                                 action: STATE_SET "default" 0.0;
1161                                 transition: ACCELERATE 0.20;
1162                                 target: "bgcolor";
1163                         }
1164                         program{
1165                                 name: "line1.set";
1166                                 signal: "line1.set";
1167                                 source: "prog";
1168                                 action: STATE_SET "line1" 0.0;
1169                                 target: "background";
1170                                 target: "base";
1171                                 target: "elm.padding.top.icon";
1172                                 target: "elm.padding.top.text";
1173                                 target: "elm.padding.bottom.text";
1174                                 target: "elm.text.content";
1175                         }
1176                         program{
1177                                 name: "line2.set";
1178                                 signal: "line2.set";
1179                                 source: "prog";
1180                                 action: STATE_SET "line2" 0.0;
1181                                 target: "background";
1182                                 target: "base";
1183                                 target: "elm.padding.top.icon";
1184                                 target: "elm.padding.top.text";
1185                                 target: "elm.padding.bottom.text";
1186                                 target: "elm.text.content";
1187                         }
1188                         program{
1189                                 name: "line3.set";
1190                                 signal: "line3.set";
1191                                 source: "prog";
1192                                 action: STATE_SET "line3" 0.0;
1193                                 target: "background";
1194                                 target: "base";
1195                                 target: "elm.padding.top.icon";
1196                                 target: "elm.padding.top.text";
1197                                 target: "elm.padding.bottom.text";
1198                                 target: "elm.text.content";
1199                         }
1200                         program {
1201                                 name: "title.move.center";
1202                                 signal: "title.move.center";
1203                                 source: "prog";
1204                                 action: STATE_SET "move.center" 0.0;
1205                                 target: "elm.rect.text.title";
1206                         }
1207                 }
1208         }