Merge "repackaging - efl-theme-tizen_0.2.1-15"
[profile/ivi/efl-theme-tizen.git] / themes / widgets / bubble.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18
19 #define BUBBLE_WIDTH            380
20
21 #define BUBBLE_DATE_PAD         15
22 #define BUBBLE_DATE_HEIGHT      30
23
24 #define BUBBLE_TOP_PAD          10
25 #define BUBBLE_RIGHT_PAD        15
26 #define BUBBLE_ICON_PAD         6
27
28 images {
29         image: "00_MessageBubble_BG_receive.png" COMP;
30         image: "00_MessageBubble_BG_send.png" COMP;
31 }
32
33 // deprecated style
34 group {
35         name: "elm/bubble/base/default";
36         alias: "elm/bubble/base/readmessage";
37
38         parts {
39                 part {
40                         name: "elm.rect.left.pad";
41                         type: RECT;
42                         mouse_events: 0;
43                         scale: 1;
44                         description {
45                                 state: "default" 0.0;
46                                 min: BUBBLE_DATE_PAD 0;
47                                 fixed: 1 0;
48                                 align: 0.0 0.0;
49                                 color: 0 0 0 0;
50                                 rel1 { relative: 0.0 0.0; }
51                                 rel2 { relative: 0.0 0.0; }
52                         }
53                         description {
54                                 state: "expand" 0.0;
55                                 inherit: "default" 0.0;
56                                 min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
57                                 fixed: 1 1;
58                         }
59                 }               
60                 part {
61                         name: "elm.rect.top.pad";
62                         type: RECT;
63                         mouse_events: 0;
64                         scale: 1;
65                         description {
66                                 state: "default" 0.0;
67                                 min: 0 BUBBLE_TOP_PAD;
68                                 fixed: 0 1;
69                                 align: 0.0 0.0;
70                                 color: 0 0 0 0;
71                                 rel1 { relative: 0.0 1.0; to_y: "elm.rect.left.pad"; }
72                                 rel2 { relative: 1.0 1.0; to_y: "elm.rect.left.pad"; }
73                         }
74                 }
75                 part {
76                         name: "elm.rect.right.pad";
77                         type: RECT;
78                         mouse_events: 0;                        
79                         scale: 1;
80                         description {
81                                 state: "default" 0.0;
82                                 min: BUBBLE_RIGHT_PAD 0;
83                                 fixed: 1 0;
84                                 align: 0.0 0.0;
85                                 color: 0 0 0 0;
86                                 rel1 { relative: 1.0 0.0; to: "elm.swallow.content"; }
87                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
88                         }
89                 }
90                 part { 
91                         name: "elm.rect.bottom.pad";
92                         type: RECT;
93                         mouse_events: 0;                        
94                         scale: 1;
95                         description {
96                                 state: "default" 0.0;
97                                 min: 0 BUBBLE_TOP_PAD;
98                                 align: 0.0 0.0;
99                                 color: 0 0 0 0;
100                                 rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
101                                 rel2 { relative: 1.0 1.0; }
102                         }
103                 }
104                 part {
105                         name: "elm.rect.icon.top.pad";
106                         type: RECT;
107                         mouse_events: 0;                        
108                         scale: 1;
109                         description {
110                                 state: "default" 0.0;
111                                 min: 0 0;
112                                 align: 0.0 0.0;
113                                 color: 0 0 0 0;
114                                 rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
115                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
116                         }
117                         description {
118                                 state: "expand" 0.0;
119                                 inherit: "default" 0.0;
120                                 min: 0 BUBBLE_ICON_PAD;
121                                 fixed: 0 1;
122                         }
123                 }
124                 part {
125                         name: "elm.rect.icon.bottom.pad";
126                         type: RECT;
127                         mouse_events: 0;                        
128                         scale: 1;
129                         description {
130                                 state: "default" 0.0;
131                                 min: 0 0;
132                                 align: 0.0 0.0;
133                                 color: 0 0 0 0;
134                                 rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
135                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
136                         }
137                         description {
138                                 state: "expand" 0.0;
139                                 inherit: "default" 0.0;
140                                 min: 0 BUBBLE_ICON_PAD;
141                                 fixed: 0 1;
142                         }                       
143                 }                               
144                 part { 
145                         name: "elm.text";
146                         type: TEXT;
147                         mouse_events: 0;
148                         scale: 1;
149                         description { 
150                                 state: "default" 0.0;
151                                 align: 0.0 0.5;
152                                 fixed: 1 1;
153                                 visible: 0;
154                                 text {
155                                         font: "SLP:style=Roman";
156                                         size: 14;
157                                         min: 1 0;
158                                         align: 0.0 0.5;
159                                 }
160                                 color: 76 75 73 255;
161                                 rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; }
162                                 rel2 { relative: 1.0 1.0; to: "elm.rect.left.pad"; }
163                         }
164                         description {
165                                 state: "expand" 0.0;
166                                 inherit: "default" 0.0;
167                                 visible: 1;
168                         }
169                 }               
170                 part { 
171                         name: "elm.image.bg";
172                         type: IMAGE;
173                         scale: 1;
174                         description { 
175                                 state: "default" 0.0;
176                                 align: 0.0 0.0;
177                                 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
178                                 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
179                                 image {
180                                         normal: "00_MessageBubble_BG_receive.png";
181                                         border: 1 11 7 12;
182                                         border_scale: 1;
183                                 }
184                         }
185                 }
186                 part {
187                         name: "elm.rect.bg.pad";
188                         type: RECT;
189                         scale: 1;
190                         description {
191                                 state: "default" 0.0;
192                                 color: 0 0 0 0;
193                                 rel1 { relative: 1.0 0.0; to: "elm.image.bg"; }
194                                 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
195                         }
196                 }
197                 part { 
198                         name: "elm.swallow.content";
199                         type: SWALLOW;
200                         scale: 1;
201                         description { 
202                                 state: "default" 0.0;
203                                 align: 0.0 0.0;
204                                 fixed: 1 1;
205                                 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
206                                 rel2 { relative: 0.7 1.0; to_y: "elm.rect.top.pad"; }
207                         }
208                 }       
209                 part { 
210                         name: "elm.swallow.icon";
211                         type: SWALLOW;
212                         description { 
213                                 state: "default" 0.0;
214                                 min: 0 0; 
215                                 align: 0.0 0.0;
216                                 rel1 { relative: 0.0 1.0; to: "elm.rect.icon.top.pad"; }
217                                 rel2 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
218                         }
219                         description {
220                                 state: "expand" 0.0;
221                                 inherit : "default" 0.0;
222                                 min: 0 50; //default height of icon
223                                 fixed: 0 1;
224                         }                       
225                 }
226                 part {
227                         name: "elm.swallow.sweep";
228                         type: SWALLOW;
229                         description {
230                                 state: "default" 0.0;
231                                 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
232                                 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
233                         }
234                 }
235                 /*part { 
236                         name: "elm.info";
237                         type: TEXT;
238                         mouse_events:   0;
239                         scale: 1;
240                         description { 
241                                 state: "default" 0.0;
242                                 align: 1.0 0.0;
243                                 fixed: 1 1;
244                                 rel1 {
245                                         relative: 1.0 0.0;
246                                         offset: -5 4;
247                                 }
248                                 rel2 {
249                                         relative: 1.0 0.0;
250                                         offset: -5 4;
251                                 }
252                                 color: 0 0 0 64;
253                                 text {
254                                         font: "Helvetica_:style=Bold";
255                                         size: 16;
256                                         min: 1 1;
257                                         max: 1 1;
258                                         align: 1.0 0.0;
259                                 }
260                         }
261                 }*/             
262         }
263         programs {
264                 program {
265                         name: "text_add";
266                         signal: "elm,state,text,visible";
267                         source: "elm";
268                         action: STATE_SET "expand" 0.0;
269                         target: "elm.rect.left.pad";
270                         target: "elm.text";
271                 }
272                 program {
273                         name: "text_del";
274                         signal: "elm,state,text,hidden";
275                         source: "elm";
276                         action: STATE_SET "default" 0.0;
277                         target: "elm.rect.left.pad";
278                         target: "elm.text";
279                 }
280                 program {
281                         name: "icon_add";
282                         signal: "elm,state,icon,visible";
283                         source: "elm";
284                         action: STATE_SET "expand" 0.0;
285                         target: "elm.rect.icon.top.pad";
286                         target: "elm.swallow.icon";                     
287                         target: "elm.rect.icon.bottom.pad";
288                 }
289                 program {
290                         name: "icon_del";
291                         signal: "elm,state,icon,hidden";
292                         source: "elm";
293                         action: STATE_SET "default" 0.0;
294                         target: "elm.rect.icon.top.pad";
295                         target: "elm.swallow.icon";                     
296                         target: "elm.rect.icon.bottom.pad";
297                 }       
298         }
299 }
300
301 // deprecated style
302 group { 
303         name: "elm/bubble/base/sentmessage";
304
305         parts {
306                 part {
307                         name: "elm.rect.right.pad";
308                         type: RECT;
309                         mouse_events: 0;
310                         scale: 1;
311                         description {
312                                 state: "default" 0.0;
313                                 min: BUBBLE_DATE_PAD 0;
314                                 fixed: 1 0;
315                                 align: 1.0 0.0;
316                                 color: 0 0 0 0;
317                                 rel1 { relative: 1.0 0.0; }
318                                 rel2 { relative: 1.0 0.0; }
319                         }
320                         description {
321                                 state: "expand" 0.0;
322                                 inherit: "default" 0.0;
323                                 min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
324                                 fixed: 1 1;
325                         }
326                 }               
327                 part {
328                         name: "elm.rect.top.pad";
329                         type: RECT;
330                         mouse_events: 0;                        
331                         scale: 1;
332                         description {
333                                 state: "default" 0.0;
334                                 min: 0 BUBBLE_TOP_PAD;
335                                 fixed: 0 1;
336                                 align: 1.0 0.0;
337                                 color: 0 0 0 0;
338                                 rel1 { relative: 0.0 1.0; to_y: "elm.rect.right.pad"; }
339                                 rel2 { relative: 1.0 1.0; to_y: "elm.rect.right.pad"; }
340                         }
341                 }
342                 part {
343                         name: "elm.rect.left.pad";
344                         type: RECT;
345                         mouse_events: 0;                        
346                         scale: 1;
347                         description {
348                                 state: "default" 0.0;
349                                 min: BUBBLE_RIGHT_PAD 0;
350                                 fixed: 1 0;
351                                 align: 1.0 0.0;
352                                 color: 0 0 0 0;
353                                 rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
354                                 rel2 { relative: 0.0 1.0; to: "elm.swallow.content"; }
355                         }
356                 }
357                 part { 
358                         name: "elm.rect.bottom.pad";
359                         type: RECT;
360                         mouse_events: 0;                        
361                         scale: 1;
362                         description {
363                                 state: "default" 0.0;
364                                 min: 0 BUBBLE_TOP_PAD;
365                                 align: 0.0 0.0;
366                                 color: 0 0 0 0;
367                                 rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
368                                 rel2 { relative: 1.0 1.0; }
369                         }
370                 }
371                 part {
372                         name: "elm.rect.icon.top.pad";
373                         type: RECT;
374                         mouse_events: 0;                        
375                         scale: 1;
376                         description {
377                                 state: "default" 0.0;
378                                 min: 0 0;
379                                 align: 0.0 0.0;
380                                 color: 0 0 0 0;
381                                 rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
382                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
383                         }
384                         description {
385                                 state: "expand" 0.0;
386                                 inherit: "default" 0.0;
387                                 min: 0 BUBBLE_ICON_PAD;
388                                 fixed: 0 1;
389                         }
390                 }
391                 part {
392                         name: "elm.rect.icon.bottom.pad";
393                         type: RECT;
394                         mouse_events: 0;                        
395                         scale: 1;
396                         description {
397                                 state: "default" 0.0;
398                                 min: 0 0;
399                                 align: 0.0 0.0;
400                                 color: 0 0 0 0;
401                                 rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
402                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
403                         }
404                         description {
405                                 state: "expand" 0.0;
406                                 inherit: "default" 0.0;
407                                 min: 0 BUBBLE_ICON_PAD;
408                                 fixed: 0 1;
409                         }                       
410                 }                       
411                 part { 
412                         name: "elm.text";
413                         type: TEXT;
414                         mouse_events: 0;
415                         scale: 1;
416                         description { 
417                                 state: "default" 0.0;
418                                 align: 1.0 0.5;
419                                 fixed: 1 1;
420                                 visible: 0;
421                                 text {
422                                         font: "SLP:style=Roman";
423                                         size: 14;
424                                         min: 1 0;
425                                         align: 0.0 0.5;
426                                 }
427                                 color: 76 75 73 255;
428                                 rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; }
429                                 rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; }
430                         }
431                         description {
432                                 state: "expand" 0.0;
433                                 inherit: "default" 0.0;
434                                 visible: 1;
435                         }                       
436                 }               
437                 part { 
438                         name: "elm.image.bg";
439                         type: IMAGE;
440                         scale: 1;
441                         description { 
442                                 state: "default" 0.0;
443                                 align: 1.0 0.0;
444                                 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
445                                 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
446                                 image {
447                                         normal: "00_MessageBubble_BG_send.png";
448                                         border: 11 1 7 12;
449                                         border_scale: 1;
450                                 }
451                         }
452                 }       
453                 part {
454                         name: "elm.rect.bg.pad";
455                         type: RECT;
456                         scale: 1;
457                         description {
458                                 state: "default" 0.0;
459                                 color: 0 0 0 0;
460                                 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
461                                 rel2 { relative: 0.0 1.0; to: "elm.image.bg"; }
462                         }
463                 }               
464                 part { 
465                         name: "elm.swallow.content";
466                         type: SWALLOW;
467                         scale: 1;
468                         description { 
469                                 state: "default" 0.0;
470                                 align: 1.0 0.0;
471                                 fixed: 1 1;
472                                 rel1 { relative: 0.3 1.0; to_y: "elm.rect.top.pad"; }
473                                 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
474                         }
475                 }               
476                 part { 
477                         name: "elm.swallow.icon";
478                         type: SWALLOW;
479                         description { 
480                                 state: "default" 0.0;
481                                 min: 0 0; 
482                                 align: 1.0 0.0;
483                                 rel1 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
484                                 rel2 { relative: 1.0 1.0; to: "elm.rect.icon.top.pad"; }
485                         }
486                         description {
487                                 state: "expand" 0.0;
488                                 inherit : "default" 0.0;
489                                 min: 0 50; //default height of icon
490                                 fixed: 0 1;
491                         }
492                 }
493                 part {
494                         name: "elm.swallow.sweep";
495                         type: SWALLOW;
496                         description {
497                                 state: "default" 0.0;
498                                 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
499                                 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
500                         }
501                 }               
502                 /*part { 
503                         name: "elm.info";
504                         type: TEXT;
505                         mouse_events:   0;
506                         scale: 1;
507                         description { 
508                                 state: "default" 0.0;
509                                 align: 1.0 0.0;
510                                 fixed: 1 1;
511                                 rel1 {
512                                         relative: 1.0 0.0;
513                                         offset: -5 4;
514                                 }
515                                 rel2 {
516                                         relative: 1.0 0.0;
517                                         offset: -5 4;
518                                 }
519                                 color: 0 0 0 64;
520                                 text {
521                                         font: "Helvetica_:style=Bold";
522                                         size: 16;
523                                         min: 1 1;
524                                         max: 1 1;
525                                         align: 1.0 0.0;
526                                 }
527                         }
528                 }*/             
529         }
530         programs {
531                 program {
532                         name: "text_add";
533                         signal: "elm,state,text,visible";
534                         source: "elm";
535                         action: STATE_SET "expand" 0.0;
536                         target: "elm.rect.right.pad";
537                         target: "elm.text";
538                 }
539                 program {
540                         name: "text_del";
541                         signal: "elm,state,text,hidden";
542                         source: "elm";
543                         action: STATE_SET "default" 0.0;
544                         target: "elm.rect.right.pad";
545                         target: "elm.text";
546                 }       
547                 program {
548                         name: "icon_add";
549                         signal: "elm,state,icon,visible";
550                         source: "elm";
551                         action: STATE_SET "expand" 0.0;
552                         target: "elm.rect.icon.top.pad";
553                         target: "elm.swallow.icon";
554                         target: "elm.rect.icon.bottom.pad";
555                 }
556                 program {
557                         name: "icon_del";
558                         signal: "elm,state,icon,hidden";
559                         source: "elm";
560                         action: STATE_SET "default" 0.0;
561                         target: "elm.rect.icon.top.pad";
562                         target: "elm.swallow.icon";
563                         target: "elm.rect.icon.bottom.pad";
564                 }
565         }
566 }
567
568    group { name: "elm/layout/bubble/readmessage/default";
569       parts {
570          part { name: "base";
571             type: RECT;
572             repeat_events: 1;
573             description { state: "default" 0.0;
574                color: 0 0 0 0;
575             }
576          }
577          part { name: "elm.padding.left";
578             type: RECT;
579             scale: 1;
580             description { state: "default" 0.0;
581                min: GENLIST_PADDING_5_INC 0;
582                fixed: 1 0;
583                visible: 0;
584                rel1.relative: 0.0 0.0;
585                rel2 {
586                   relative: 0.0 1.0;
587                   to_y: "elm.padding.bottom";
588                }
589                align: 0.0 0.0;
590             }
591          }
592          part { name: "elm.swallow.select_icon";
593             clip_to: "disclip";
594             type: SWALLOW;
595             scale: 1;
596             description { state: "default" 0.0;
597                fixed: 1 1;
598                align: 0.0 0.5;
599                visible: 0;
600                rel1 {
601                   relative: 1.0 0.0;
602                   to_x: "elm.padding.left";
603                }
604                rel2 {
605                   relative: 1.0 0.0;
606                   to_x: "elm.padding.left";
607                   to_y: "elm.padding.bottom";
608                }
609             }
610             description { state: "selectview" 0.0;
611                inherit: "default" 0.0;
612                visible: 1;
613             }
614          }
615          part { name: "elm.padding.icon1.right";
616             type: RECT;
617             scale: 1;
618             description { state: "default" 0.0;
619                min: GENLIST_PADDING_5_INC 0;
620                fixed: 1 0;
621                visible: 0;
622                color: 0 255 255 255;
623                rel1 {
624                   relative: 1.0 0.0;
625                   to_x: "elm.swallow.select_icon";
626                }
627                rel2 {
628                   relative: 1.0 0.0;
629                   to_x: "elm.swallow.select_icon";
630                   to_y: "elm.padding.bottom";
631                }
632                align: 0.0 0.0;
633             }
634          }
635          part { name: "elm.icon";
636             clip_to: "disclip";
637             type: SWALLOW;
638             scale: 1;
639             description { state: "default" 0.0;
640                rel2 {
641                   relative: 0.76 0.0;
642                   to_y: "elm.padding.bottom";
643                }
644             }
645             description { state: "selectview" 0.0;
646                inherit: "default" 0.0;
647                align: 1.0 0.0;
648                rel1 {
649                   relative: 1.0 0.0;
650                   to_x: "elm.padding.icon1.right";
651                }
652                rel2 {
653                   relative: 0.86 0.0;
654                   to_y: "elm.padding.bottom";
655                }
656             }
657          }
658          part { name: "elm.padding.contents";
659             type: RECT;
660             scale: 1;
661             description { state: "default" 0.0;
662                align: 0.0 0.0;
663                fixed: 1 1;
664                visible: 0;
665                rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
666                rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
667             }
668          }
669          part { name: "elm.swallow.icon1";
670             clip_to: "disclip";
671             type: SWALLOW;
672             scale: 1;
673             description { state: "default" 0.0;
674                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
675                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
676                align: 0.0 0.0;
677                fixed: 1 1;
678                visible: 0;
679                rel1 { relative: 0.0223 1.00; to_y: "elm.padding.contents"; }
680                rel2 { relative: 0.0223 1.00; }
681             }
682             description { state: "contents_on" 0.0;
683                inherit: "default" 0.0;
684                visible: 1;
685             }
686          }
687          part { name: "elm.swallow.icon2";
688             clip_to: "disclip";
689             type: SWALLOW;
690             scale: 1;
691             description { state: "default" 0.0;
692                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
693                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
694                align: 0.0 0.0;
695                fixed: 1 1;
696                visible: 0;
697                rel1 { relative: 1.0 1.00; to_x: "elm.swallow.icon1"; to_y: "elm.padding.contents"; }
698                rel2 { relative: 1.0 1.00; }
699             }
700             description { state: "contents_on" 0.0;
701                inherit: "default" 0.0;
702                visible: 1;
703             }
704          }
705          part { name: "elm.padding.bottom";
706             type: RECT;
707             scale: 1;
708             description { state: "default" 0.0;
709                min: 0 GENLIST_PADDING_24_INC;
710                fixed: 0 1;
711                visible: 0;
712                rel1.relative: 0.0 1.0;
713                align: 0.0 1.0;
714             }
715             description { state: "contents_on" 0.0;
716                inherit: "default" 0.0;
717                min: 0 GENLIST_PADDING_88_INC;
718             }
719          }
720          part { name: "disclip";
721              type: RECT;
722              description { state: "default" 0.0;
723              }
724              description { state: "disabled" 0.0;
725                 inherit: "default" 0.0;
726                 color: GENLIST_PART_DISCLIP_COLOR_INC;
727              }
728          }
729       }
730       programs {
731          program { name: "go_disabled";
732             signal: "elm,state,disabled";
733             source: "elm";
734             action: STATE_SET "disabled" 0.0;
735             target: "disclip";
736          }
737          program { name: "go_enabled";
738             signal: "elm,state,enabled";
739             source: "elm";
740             action: STATE_SET "default" 0.0;
741             target: "disclip";
742          }
743          program { name: "go_defaultview";
744             signal: "elm,state,select,disable";
745             source: "elm";
746             action: STATE_SET "default" 0.0;
747             //transition: DECELERATE 0.7;
748             target: "elm.swallow.select_icon";
749             target: "elm.icon";
750          }
751          program { name: "go_selectview";
752             signal: "elm,state,select,enable";
753             source: "elm";
754             action: STATE_SET "selectview" 0.0;
755             transition: DECELERATE 0.7;
756             target: "elm.swallow.select_icon";
757             target: "elm.icon";
758          }
759          program { name: "go_contents_on";
760             signal: "elm,state,contents,enabled";
761             source: "elm";
762             action: STATE_SET "contents_on" 0.0;
763             target: "elm.swallow.icon1";
764             target: "elm.swallow.icon2";
765             target: "elm.padding.bottom";
766          }
767          program { name: "go_contents_off";
768             signal: "elm,state,contents,disabled";
769             source: "elm";
770             action: STATE_SET "default" 0.0;
771             target: "elm.swallow.icon1";
772             target: "elm.swallow.icon2";
773             target: "elm.padding.bottom";
774          }
775       }
776    }
777
778    group { name: "elm/layout/bubble/sentmessage/default";
779       parts {
780          part { name: "base";
781             type: RECT;
782             repeat_events: 1;
783             description { state: "default" 0.0;
784                color: 0 0 0 0;
785             }
786          }
787          part { name: "elm.padding.left";
788             type: RECT;
789             scale: 1;
790             description { state: "default" 0.0;
791                min: GENLIST_PADDING_5_INC 0;
792                fixed: 1 0;
793                visible: 0;
794                rel1.relative: 0.0 0.0;
795                rel2 {
796                   relative: 0.0 1.0;
797                   to_y: "elm.padding.bottom";
798                }
799                align: 0.0 0.0;
800             }
801          }
802          part { name: "elm.swallow.select_icon";
803             clip_to: "disclip";
804             type: SWALLOW;
805             scale: 1;
806             description { state: "default" 0.0;
807                fixed: 1 1;
808                align: 0.0 0.5;
809                visible: 0;
810                rel1 {
811                   relative: 1.0 0.0;
812                   to_x: "elm.padding.left";
813                }
814                rel2 {
815                   relative: 1.0 0.0;
816                   to_x: "elm.padding.left";
817                   to_y: "elm.padding.bottom";
818                }
819             }
820             description { state: "selectview" 0.0;
821                inherit: "default" 0.0;
822                visible: 1;
823             }
824          }
825          part { name: "elm.padding.icon1.right";
826             type: RECT;
827             scale: 1;
828             description { state: "default" 0.0;
829                min: GENLIST_PADDING_5_INC 0;
830                fixed: 1 0;
831                visible: 0;
832                color: 0 255 255 255;
833                rel1 {
834                   relative: 1.0 0.0;
835                   to_x: "elm.swallow.select_icon";
836                }
837                rel2 {
838                   relative: 1.0 0.0;
839                   to_x: "elm.swallow.select_icon";
840                   to_y: "elm.padding.bottom";
841                }
842                align: 0.0 0.0;
843             }
844          }
845          part { name: "elm.icon";
846             clip_to: "disclip";
847             type: SWALLOW;
848             scale: 1;
849             description { state: "default" 0.0;
850                rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
851                rel2 {
852                   relative: 1.0 0.0;
853                   to_y: "elm.padding.bottom";
854                }
855             }
856             description { state: "selectview" 0.0;
857                inherit: "default" 0.0;
858                align: 1.0 0.0;
859                rel1 {
860                   relative: 0.28 0.0;
861                }
862             }
863          }
864          part { name: "elm.padding.contents";
865             type: RECT;
866             scale: 1;
867             description { state: "default" 0.0;
868                align: 0.0 0.0;
869                fixed: 1 1;
870                visible: 0;
871                rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
872                rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
873             }
874          }
875          part { name: "elm.swallow.icon1";
876             clip_to: "disclip";
877             type: SWALLOW;
878             scale: 1;
879             description { state: "default" 0.0;
880                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
881                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
882                align: 1.0 0.0;
883                fixed: 1 1;
884                visible: 0;
885                rel1 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; to_y: "elm.padding.contents"; }
886                rel2 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; }
887             }
888             description { state: "contents_on" 0.0;
889                inherit: "default" 0.0;
890                visible: 1;
891             }
892          }
893          part { name: "elm.swallow.icon2";
894             clip_to: "disclip";
895             type: SWALLOW;
896             scale: 1;
897             description { state: "default" 0.0;
898                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
899                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
900                align: 1.0 0.0;
901                fixed: 1 1;
902                visible: 0;
903                rel1 { relative: 0.9777 1.00; to_y: "elm.padding.contents"; }
904                rel2 { relative: 0.9777 1.00; }
905             }
906             description { state: "contents_on" 0.0;
907                inherit: "default" 0.0;
908                visible: 1;
909             }
910          }
911          part { name: "elm.padding.bottom";
912             type: RECT;
913             scale: 1;
914             description { state: "default" 0.0;
915                min: 0 GENLIST_PADDING_24_INC;
916                fixed: 0 1;
917                visible: 0;
918                rel1.relative: 0.0 1.0;
919                align: 0.0 1.0;
920             }
921             description { state: "contents_on" 0.0;
922                inherit: "default" 0.0;
923                min: 0 GENLIST_PADDING_88_INC;
924             }
925          }
926          part { name: "disclip";
927              type: RECT;
928              description { state: "default" 0.0;
929              }
930              description { state: "disabled" 0.0;
931                 inherit: "default" 0.0;
932                 color: GENLIST_PART_DISCLIP_COLOR_INC;
933              }
934          }
935       }
936       programs {
937          program { name: "go_disabled";
938             signal: "elm,state,disabled";
939             source: "elm";
940             action: STATE_SET "disabled" 0.0;
941             target: "disclip";
942          }
943          program { name: "go_enabled";
944             signal: "elm,state,enabled";
945             source: "elm";
946             action: STATE_SET "default" 0.0;
947             target: "disclip";
948          }
949          program { name: "go_defaultview";
950             signal: "elm,state,select,disable";
951             source: "elm";
952             action: STATE_SET "default" 0.0;
953             //transition: DECELERATE 0.7;
954             target: "elm.swallow.select_icon";
955             target: "elm.icon";
956          }
957          program { name: "go_selectview";
958             signal: "elm,state,select,enable";
959             source: "elm";
960             action: STATE_SET "selectview" 0.0;
961             //transition: DECELERATE 0.7;
962             target: "elm.swallow.select_icon";
963             target: "elm.icon";
964          }
965          program { name: "go_contents_on";
966             signal: "elm,state,contents,enabled";
967             source: "elm";
968             action: STATE_SET "contents_on" 0.0;
969             target: "elm.swallow.icon1";
970             target: "elm.swallow.icon2";
971             target: "elm.padding.bottom";
972          }
973          program { name: "go_contents_off";
974             signal: "elm,state,contents,disabled";
975             source: "elm";
976             action: STATE_SET "default" 0.0;
977             target: "elm.swallow.icon1";
978             target: "elm.swallow.icon2";
979             target: "elm.padding.bottom";
980          }
981       }
982    }
983
984    group { name: "elm/layout/bubble/seperator/default";
985       parts {
986          part { name: "base";
987             type: RECT;
988             repeat_events: 1;
989             description { state: "default" 0.0;
990                min: 0 GENLIST_PADDING_24_INC;
991                color: 0 0 0 0;
992             }
993          }
994       }
995    }
996