Merge "[Button]Naviframe_control style macro's modified."
[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                                         text_class: "slp_roman";
160                                 }
161                                 color: 76 75 73 255;
162                                 rel1 { relative: 1.0 0.0; to: "elm.rect.left.pad"; }
163                                 rel2 { relative: 1.0 1.0; to: "elm.rect.left.pad"; }
164                         }
165                         description {
166                                 state: "expand" 0.0;
167                                 inherit: "default" 0.0;
168                                 visible: 1;
169                         }
170                 }               
171                 part { 
172                         name: "elm.image.bg";
173                         type: IMAGE;
174                         scale: 1;
175                         description { 
176                                 state: "default" 0.0;
177                                 align: 0.0 0.0;
178                                 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
179                                 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
180                                 image {
181                                         normal: "00_MessageBubble_BG_receive.png";
182                                         border: 1 11 7 12;
183                                         border_scale: 1;
184                                 }
185                         }
186                 }
187                 part {
188                         name: "elm.rect.bg.pad";
189                         type: RECT;
190                         scale: 1;
191                         description {
192                                 state: "default" 0.0;
193                                 color: 0 0 0 0;
194                                 rel1 { relative: 1.0 0.0; to: "elm.image.bg"; }
195                                 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
196                         }
197                 }
198                 part { 
199                         name: "elm.swallow.content";
200                         type: SWALLOW;
201                         scale: 1;
202                         description { 
203                                 state: "default" 0.0;
204                                 align: 0.0 0.0;
205                                 fixed: 1 1;
206                                 rel1 { relative: 1.0 1.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
207                                 rel2 { relative: 0.7 1.0; to_y: "elm.rect.top.pad"; }
208                         }
209                 }       
210                 part { 
211                         name: "elm.swallow.icon";
212                         type: SWALLOW;
213                         description { 
214                                 state: "default" 0.0;
215                                 min: 0 0; 
216                                 align: 0.0 0.0;
217                                 rel1 { relative: 0.0 1.0; to: "elm.rect.icon.top.pad"; }
218                                 rel2 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
219                         }
220                         description {
221                                 state: "expand" 0.0;
222                                 inherit : "default" 0.0;
223                                 min: 0 50; //default height of icon
224                                 fixed: 0 1;
225                         }                       
226                 }
227                 part {
228                         name: "elm.swallow.sweep";
229                         type: SWALLOW;
230                         description {
231                                 state: "default" 0.0;
232                                 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
233                                 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
234                         }
235                 }
236                 /*part { 
237                         name: "elm.info";
238                         type: TEXT;
239                         mouse_events:   0;
240                         scale: 1;
241                         description { 
242                                 state: "default" 0.0;
243                                 align: 1.0 0.0;
244                                 fixed: 1 1;
245                                 rel1 {
246                                         relative: 1.0 0.0;
247                                         offset: -5 4;
248                                 }
249                                 rel2 {
250                                         relative: 1.0 0.0;
251                                         offset: -5 4;
252                                 }
253                                 color: 0 0 0 64;
254                                 text {
255                                         font: "Helvetica_:style=Bold";
256                                         size: 16;
257                                         min: 1 1;
258                                         max: 1 1;
259                                         align: 1.0 0.0;
260                                 }
261                         }
262                 }*/             
263         }
264         programs {
265                 program {
266                         name: "text_add";
267                         signal: "elm,state,text,visible";
268                         source: "elm";
269                         action: STATE_SET "expand" 0.0;
270                         target: "elm.rect.left.pad";
271                         target: "elm.text";
272                 }
273                 program {
274                         name: "text_del";
275                         signal: "elm,state,text,hidden";
276                         source: "elm";
277                         action: STATE_SET "default" 0.0;
278                         target: "elm.rect.left.pad";
279                         target: "elm.text";
280                 }
281                 program {
282                         name: "icon_add";
283                         signal: "elm,state,icon,visible";
284                         source: "elm";
285                         action: STATE_SET "expand" 0.0;
286                         target: "elm.rect.icon.top.pad";
287                         target: "elm.swallow.icon";                     
288                         target: "elm.rect.icon.bottom.pad";
289                 }
290                 program {
291                         name: "icon_del";
292                         signal: "elm,state,icon,hidden";
293                         source: "elm";
294                         action: STATE_SET "default" 0.0;
295                         target: "elm.rect.icon.top.pad";
296                         target: "elm.swallow.icon";                     
297                         target: "elm.rect.icon.bottom.pad";
298                 }       
299         }
300 }
301
302 // deprecated style
303 group { 
304         name: "elm/bubble/base/sentmessage";
305
306         parts {
307                 part {
308                         name: "elm.rect.right.pad";
309                         type: RECT;
310                         mouse_events: 0;
311                         scale: 1;
312                         description {
313                                 state: "default" 0.0;
314                                 min: BUBBLE_DATE_PAD 0;
315                                 fixed: 1 0;
316                                 align: 1.0 0.0;
317                                 color: 0 0 0 0;
318                                 rel1 { relative: 1.0 0.0; }
319                                 rel2 { relative: 1.0 0.0; }
320                         }
321                         description {
322                                 state: "expand" 0.0;
323                                 inherit: "default" 0.0;
324                                 min: BUBBLE_DATE_PAD BUBBLE_DATE_HEIGHT;
325                                 fixed: 1 1;
326                         }
327                 }               
328                 part {
329                         name: "elm.rect.top.pad";
330                         type: RECT;
331                         mouse_events: 0;                        
332                         scale: 1;
333                         description {
334                                 state: "default" 0.0;
335                                 min: 0 BUBBLE_TOP_PAD;
336                                 fixed: 0 1;
337                                 align: 1.0 0.0;
338                                 color: 0 0 0 0;
339                                 rel1 { relative: 0.0 1.0; to_y: "elm.rect.right.pad"; }
340                                 rel2 { relative: 1.0 1.0; to_y: "elm.rect.right.pad"; }
341                         }
342                 }
343                 part {
344                         name: "elm.rect.left.pad";
345                         type: RECT;
346                         mouse_events: 0;                        
347                         scale: 1;
348                         description {
349                                 state: "default" 0.0;
350                                 min: BUBBLE_RIGHT_PAD 0;
351                                 fixed: 1 0;
352                                 align: 1.0 0.0;
353                                 color: 0 0 0 0;
354                                 rel1 { relative: 0.0 0.0; to: "elm.swallow.content"; }
355                                 rel2 { relative: 0.0 1.0; to: "elm.swallow.content"; }
356                         }
357                 }
358                 part { 
359                         name: "elm.rect.bottom.pad";
360                         type: RECT;
361                         mouse_events: 0;                        
362                         scale: 1;
363                         description {
364                                 state: "default" 0.0;
365                                 min: 0 BUBBLE_TOP_PAD;
366                                 align: 0.0 0.0;
367                                 color: 0 0 0 0;
368                                 rel1 { relative: 0.0 1.0; to_y: "elm.rect.icon.bottom.pad"; }
369                                 rel2 { relative: 1.0 1.0; }
370                         }
371                 }
372                 part {
373                         name: "elm.rect.icon.top.pad";
374                         type: RECT;
375                         mouse_events: 0;                        
376                         scale: 1;
377                         description {
378                                 state: "default" 0.0;
379                                 min: 0 0;
380                                 align: 0.0 0.0;
381                                 color: 0 0 0 0;
382                                 rel1 { relative: 0.0 1.0; to: "elm.swallow.content"; }
383                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.content"; }
384                         }
385                         description {
386                                 state: "expand" 0.0;
387                                 inherit: "default" 0.0;
388                                 min: 0 BUBBLE_ICON_PAD;
389                                 fixed: 0 1;
390                         }
391                 }
392                 part {
393                         name: "elm.rect.icon.bottom.pad";
394                         type: RECT;
395                         mouse_events: 0;                        
396                         scale: 1;
397                         description {
398                                 state: "default" 0.0;
399                                 min: 0 0;
400                                 align: 0.0 0.0;
401                                 color: 0 0 0 0;
402                                 rel1 { relative: 0.0 1.0; to: "elm.swallow.icon"; }
403                                 rel2 { relative: 1.0 1.0; to: "elm.swallow.icon"; }
404                         }
405                         description {
406                                 state: "expand" 0.0;
407                                 inherit: "default" 0.0;
408                                 min: 0 BUBBLE_ICON_PAD;
409                                 fixed: 0 1;
410                         }                       
411                 }                       
412                 part { 
413                         name: "elm.text";
414                         type: TEXT;
415                         mouse_events: 0;
416                         scale: 1;
417                         description { 
418                                 state: "default" 0.0;
419                                 align: 1.0 0.5;
420                                 fixed: 1 1;
421                                 visible: 0;
422                                 text {
423                                         font: "SLP:style=Roman";
424                                         size: 14;
425                                         min: 1 0;
426                                         align: 0.0 0.5;
427                                         text_class: "slp_roman";
428                                 }
429                                 color: 76 75 73 255;
430                                 rel1 { relative: 0.0 0.0; to: "elm.rect.right.pad"; }
431                                 rel2 { relative: 0.0 1.0; to: "elm.rect.right.pad"; }
432                         }
433                         description {
434                                 state: "expand" 0.0;
435                                 inherit: "default" 0.0;
436                                 visible: 1;
437                         }                       
438                 }               
439                 part { 
440                         name: "elm.image.bg";
441                         type: IMAGE;
442                         scale: 1;
443                         description { 
444                                 state: "default" 0.0;
445                                 align: 1.0 0.0;
446                                 rel1 { relative: 0.0 0.0; to_x: "elm.rect.left.pad"; to_y: "elm.rect.top.pad"; }
447                                 rel2 { relative: 1.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.bottom.pad"; }
448                                 image {
449                                         normal: "00_MessageBubble_BG_send.png";
450                                         border: 11 1 7 12;
451                                         border_scale: 1;
452                                 }
453                         }
454                 }       
455                 part {
456                         name: "elm.rect.bg.pad";
457                         type: RECT;
458                         scale: 1;
459                         description {
460                                 state: "default" 0.0;
461                                 color: 0 0 0 0;
462                                 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
463                                 rel2 { relative: 0.0 1.0; to: "elm.image.bg"; }
464                         }
465                 }               
466                 part { 
467                         name: "elm.swallow.content";
468                         type: SWALLOW;
469                         scale: 1;
470                         description { 
471                                 state: "default" 0.0;
472                                 align: 1.0 0.0;
473                                 fixed: 1 1;
474                                 rel1 { relative: 0.3 1.0; to_y: "elm.rect.top.pad"; }
475                                 rel2 { relative: 0.0 1.0; to_x: "elm.rect.right.pad"; to_y: "elm.rect.top.pad"; }
476                         }
477                 }               
478                 part { 
479                         name: "elm.swallow.icon";
480                         type: SWALLOW;
481                         description { 
482                                 state: "default" 0.0;
483                                 min: 0 0; 
484                                 align: 1.0 0.0;
485                                 rel1 { relative: 0.5 1.0; to_y: "elm.rect.icon.top.pad"; }
486                                 rel2 { relative: 1.0 1.0; to: "elm.rect.icon.top.pad"; }
487                         }
488                         description {
489                                 state: "expand" 0.0;
490                                 inherit : "default" 0.0;
491                                 min: 0 50; //default height of icon
492                                 fixed: 0 1;
493                         }
494                 }
495                 part {
496                         name: "elm.swallow.sweep";
497                         type: SWALLOW;
498                         description {
499                                 state: "default" 0.0;
500                                 rel1 { relative: 0.0 0.0; to_y: "elm.image.bg"; }
501                                 rel2 { relative: 1.0 1.0; to_y: "elm.image.bg"; }
502                         }
503                 }               
504                 /*part { 
505                         name: "elm.info";
506                         type: TEXT;
507                         mouse_events:   0;
508                         scale: 1;
509                         description { 
510                                 state: "default" 0.0;
511                                 align: 1.0 0.0;
512                                 fixed: 1 1;
513                                 rel1 {
514                                         relative: 1.0 0.0;
515                                         offset: -5 4;
516                                 }
517                                 rel2 {
518                                         relative: 1.0 0.0;
519                                         offset: -5 4;
520                                 }
521                                 color: 0 0 0 64;
522                                 text {
523                                         font: "Helvetica_:style=Bold";
524                                         size: 16;
525                                         min: 1 1;
526                                         max: 1 1;
527                                         align: 1.0 0.0;
528                                 }
529                         }
530                 }*/             
531         }
532         programs {
533                 program {
534                         name: "text_add";
535                         signal: "elm,state,text,visible";
536                         source: "elm";
537                         action: STATE_SET "expand" 0.0;
538                         target: "elm.rect.right.pad";
539                         target: "elm.text";
540                 }
541                 program {
542                         name: "text_del";
543                         signal: "elm,state,text,hidden";
544                         source: "elm";
545                         action: STATE_SET "default" 0.0;
546                         target: "elm.rect.right.pad";
547                         target: "elm.text";
548                 }       
549                 program {
550                         name: "icon_add";
551                         signal: "elm,state,icon,visible";
552                         source: "elm";
553                         action: STATE_SET "expand" 0.0;
554                         target: "elm.rect.icon.top.pad";
555                         target: "elm.swallow.icon";
556                         target: "elm.rect.icon.bottom.pad";
557                 }
558                 program {
559                         name: "icon_del";
560                         signal: "elm,state,icon,hidden";
561                         source: "elm";
562                         action: STATE_SET "default" 0.0;
563                         target: "elm.rect.icon.top.pad";
564                         target: "elm.swallow.icon";
565                         target: "elm.rect.icon.bottom.pad";
566                 }
567         }
568 }
569
570    group { name: "elm/layout/bubble/readmessage/default";
571       parts {
572          part { name: "base";
573             type: RECT;
574             repeat_events: 1;
575             description { state: "default" 0.0;
576                color: 0 0 0 0;
577             }
578          }
579          part { name: "elm.padding.left";
580             type: RECT;
581             scale: 1;
582             description { state: "default" 0.0;
583                min: GENLIST_PADDING_5_INC 0;
584                fixed: 1 0;
585                visible: 0;
586                rel1.relative: 0.0 0.0;
587                rel2 {
588                   relative: 0.0 1.0;
589                   to_y: "elm.padding.bottom";
590                }
591                align: 0.0 0.0;
592             }
593          }
594          part { name: "elm.swallow.select_icon";
595             clip_to: "disclip";
596             type: SWALLOW;
597             scale: 1;
598             description { state: "default" 0.0;
599                fixed: 1 1;
600                align: 0.0 0.5;
601                visible: 0;
602                rel1 {
603                   relative: 1.0 0.0;
604                   to_x: "elm.padding.left";
605                }
606                rel2 {
607                   relative: 1.0 0.0;
608                   to_x: "elm.padding.left";
609                   to_y: "elm.padding.bottom";
610                }
611             }
612             description { state: "selectview" 0.0;
613                inherit: "default" 0.0;
614                visible: 1;
615             }
616          }
617          part { name: "elm.padding.icon1.right";
618             type: RECT;
619             scale: 1;
620             description { state: "default" 0.0;
621                min: GENLIST_PADDING_5_INC 0;
622                fixed: 1 0;
623                visible: 0;
624                color: 0 255 255 255;
625                rel1 {
626                   relative: 1.0 0.0;
627                   to_x: "elm.swallow.select_icon";
628                }
629                rel2 {
630                   relative: 1.0 0.0;
631                   to_x: "elm.swallow.select_icon";
632                   to_y: "elm.padding.bottom";
633                }
634                align: 0.0 0.0;
635             }
636          }
637          part { name: "elm.icon";
638             clip_to: "disclip";
639             type: SWALLOW;
640             scale: 1;
641             description { state: "default" 0.0;
642                rel2 {
643                   relative: 0.76 0.0;
644                   to_y: "elm.padding.bottom";
645                }
646             }
647             description { state: "selectview" 0.0;
648                inherit: "default" 0.0;
649                align: 1.0 0.0;
650                rel1 {
651                   relative: 1.0 0.0;
652                   to_x: "elm.padding.icon1.right";
653                }
654                rel2 {
655                   relative: 0.86 0.0;
656                   to_y: "elm.padding.bottom";
657                }
658             }
659          }
660          part { name: "elm.padding.contents";
661             type: RECT;
662             scale: 1;
663             description { state: "default" 0.0;
664                align: 0.0 0.0;
665                fixed: 1 1;
666                visible: 0;
667                rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
668                rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
669             }
670          }
671          part { name: "elm.swallow.icon1";
672             clip_to: "disclip";
673             type: SWALLOW;
674             scale: 1;
675             description { state: "default" 0.0;
676                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
677                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
678                align: 0.0 0.0;
679                fixed: 1 1;
680                visible: 0;
681                rel1 { relative: 0.0223 1.00; to_y: "elm.padding.contents"; }
682                rel2 { relative: 0.0223 1.00; }
683             }
684             description { state: "contents_on" 0.0;
685                inherit: "default" 0.0;
686                visible: 1;
687             }
688          }
689          part { name: "elm.swallow.icon2";
690             clip_to: "disclip";
691             type: SWALLOW;
692             scale: 1;
693             description { state: "default" 0.0;
694                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
695                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
696                align: 0.0 0.0;
697                fixed: 1 1;
698                visible: 0;
699                rel1 { relative: 1.0 1.00; to_x: "elm.swallow.icon1"; to_y: "elm.padding.contents"; }
700                rel2 { relative: 1.0 1.00; }
701             }
702             description { state: "contents_on" 0.0;
703                inherit: "default" 0.0;
704                visible: 1;
705             }
706          }
707          part { name: "elm.padding.bottom";
708             type: RECT;
709             scale: 1;
710             description { state: "default" 0.0;
711                min: 0 GENLIST_PADDING_24_INC;
712                fixed: 0 1;
713                visible: 0;
714                rel1.relative: 0.0 1.0;
715                align: 0.0 1.0;
716             }
717             description { state: "contents_on" 0.0;
718                inherit: "default" 0.0;
719                min: 0 GENLIST_PADDING_88_INC;
720             }
721          }
722          part { name: "disclip";
723              type: RECT;
724              description { state: "default" 0.0;
725              }
726              description { state: "disabled" 0.0;
727                 inherit: "default" 0.0;
728                 color: GENLIST_PART_DISCLIP_COLOR_INC;
729              }
730          }
731       }
732       programs {
733          program { name: "go_disabled";
734             signal: "elm,state,disabled";
735             source: "elm";
736             action: STATE_SET "disabled" 0.0;
737             target: "disclip";
738          }
739          program { name: "go_enabled";
740             signal: "elm,state,enabled";
741             source: "elm";
742             action: STATE_SET "default" 0.0;
743             target: "disclip";
744          }
745          program { name: "go_defaultview";
746             signal: "elm,state,select,disable";
747             source: "elm";
748             action: STATE_SET "default" 0.0;
749             //transition: DECELERATE 0.7;
750             target: "elm.swallow.select_icon";
751             target: "elm.icon";
752          }
753          program { name: "go_selectview";
754             signal: "elm,state,select,enable";
755             source: "elm";
756             action: STATE_SET "selectview" 0.0;
757             transition: DECELERATE 0.7;
758             target: "elm.swallow.select_icon";
759             target: "elm.icon";
760          }
761          program { name: "go_contents_on";
762             signal: "elm,state,contents,enabled";
763             source: "elm";
764             action: STATE_SET "contents_on" 0.0;
765             target: "elm.swallow.icon1";
766             target: "elm.swallow.icon2";
767             target: "elm.padding.bottom";
768          }
769          program { name: "go_contents_off";
770             signal: "elm,state,contents,disabled";
771             source: "elm";
772             action: STATE_SET "default" 0.0;
773             target: "elm.swallow.icon1";
774             target: "elm.swallow.icon2";
775             target: "elm.padding.bottom";
776          }
777       }
778    }
779
780    group { name: "elm/layout/bubble/sentmessage/default";
781       parts {
782          part { name: "base";
783             type: RECT;
784             repeat_events: 1;
785             description { state: "default" 0.0;
786                color: 0 0 0 0;
787             }
788          }
789          part { name: "elm.padding.left";
790             type: RECT;
791             scale: 1;
792             description { state: "default" 0.0;
793                min: GENLIST_PADDING_5_INC 0;
794                fixed: 1 0;
795                visible: 0;
796                rel1.relative: 0.0 0.0;
797                rel2 {
798                   relative: 0.0 1.0;
799                   to_y: "elm.padding.bottom";
800                }
801                align: 0.0 0.0;
802             }
803          }
804          part { name: "elm.swallow.select_icon";
805             clip_to: "disclip";
806             type: SWALLOW;
807             scale: 1;
808             description { state: "default" 0.0;
809                fixed: 1 1;
810                align: 0.0 0.5;
811                visible: 0;
812                rel1 {
813                   relative: 1.0 0.0;
814                   to_x: "elm.padding.left";
815                }
816                rel2 {
817                   relative: 1.0 0.0;
818                   to_x: "elm.padding.left";
819                   to_y: "elm.padding.bottom";
820                }
821             }
822             description { state: "selectview" 0.0;
823                inherit: "default" 0.0;
824                visible: 1;
825             }
826          }
827          part { name: "elm.padding.icon1.right";
828             type: RECT;
829             scale: 1;
830             description { state: "default" 0.0;
831                min: GENLIST_PADDING_5_INC 0;
832                fixed: 1 0;
833                visible: 0;
834                color: 0 255 255 255;
835                rel1 {
836                   relative: 1.0 0.0;
837                   to_x: "elm.swallow.select_icon";
838                }
839                rel2 {
840                   relative: 1.0 0.0;
841                   to_x: "elm.swallow.select_icon";
842                   to_y: "elm.padding.bottom";
843                }
844                align: 0.0 0.0;
845             }
846          }
847          part { name: "elm.icon";
848             clip_to: "disclip";
849             type: SWALLOW;
850             scale: 1;
851             description { state: "default" 0.0;
852                rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
853                rel2 {
854                   relative: 1.0 0.0;
855                   to_y: "elm.padding.bottom";
856                }
857             }
858             description { state: "selectview" 0.0;
859                inherit: "default" 0.0;
860                align: 1.0 0.0;
861                rel1 {
862                   relative: 0.28 0.0;
863                }
864             }
865          }
866          part { name: "elm.padding.contents";
867             type: RECT;
868             scale: 1;
869             description { state: "default" 0.0;
870                align: 0.0 0.0;
871                fixed: 1 1;
872                visible: 0;
873                rel1 { relative: 0.0 1.0; to_y: "elm.icon"; }
874                rel2 { relative: 1.0 1.0; to_y: "elm.icon"; }
875             }
876          }
877          part { name: "elm.swallow.icon1";
878             clip_to: "disclip";
879             type: SWALLOW;
880             scale: 1;
881             description { state: "default" 0.0;
882                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
883                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
884                align: 1.0 0.0;
885                fixed: 1 1;
886                visible: 0;
887                rel1 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; to_y: "elm.padding.contents"; }
888                rel2 { relative: 0.0 1.00; to_x: "elm.swallow.icon2"; }
889             }
890             description { state: "contents_on" 0.0;
891                inherit: "default" 0.0;
892                visible: 1;
893             }
894          }
895          part { name: "elm.swallow.icon2";
896             clip_to: "disclip";
897             type: SWALLOW;
898             scale: 1;
899             description { state: "default" 0.0;
900                min: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
901                max: GENLIST_PADDING_64_INC GENLIST_PADDING_64_INC;
902                align: 1.0 0.0;
903                fixed: 1 1;
904                visible: 0;
905                rel1 { relative: 0.9777 1.00; to_y: "elm.padding.contents"; }
906                rel2 { relative: 0.9777 1.00; }
907             }
908             description { state: "contents_on" 0.0;
909                inherit: "default" 0.0;
910                visible: 1;
911             }
912          }
913          part { name: "elm.padding.bottom";
914             type: RECT;
915             scale: 1;
916             description { state: "default" 0.0;
917                min: 0 GENLIST_PADDING_24_INC;
918                fixed: 0 1;
919                visible: 0;
920                rel1.relative: 0.0 1.0;
921                align: 0.0 1.0;
922             }
923             description { state: "contents_on" 0.0;
924                inherit: "default" 0.0;
925                min: 0 GENLIST_PADDING_88_INC;
926             }
927          }
928          part { name: "disclip";
929              type: RECT;
930              description { state: "default" 0.0;
931              }
932              description { state: "disabled" 0.0;
933                 inherit: "default" 0.0;
934                 color: GENLIST_PART_DISCLIP_COLOR_INC;
935              }
936          }
937       }
938       programs {
939          program { name: "go_disabled";
940             signal: "elm,state,disabled";
941             source: "elm";
942             action: STATE_SET "disabled" 0.0;
943             target: "disclip";
944          }
945          program { name: "go_enabled";
946             signal: "elm,state,enabled";
947             source: "elm";
948             action: STATE_SET "default" 0.0;
949             target: "disclip";
950          }
951          program { name: "go_defaultview";
952             signal: "elm,state,select,disable";
953             source: "elm";
954             action: STATE_SET "default" 0.0;
955             //transition: DECELERATE 0.7;
956             target: "elm.swallow.select_icon";
957             target: "elm.icon";
958          }
959          program { name: "go_selectview";
960             signal: "elm,state,select,enable";
961             source: "elm";
962             action: STATE_SET "selectview" 0.0;
963             //transition: DECELERATE 0.7;
964             target: "elm.swallow.select_icon";
965             target: "elm.icon";
966          }
967          program { name: "go_contents_on";
968             signal: "elm,state,contents,enabled";
969             source: "elm";
970             action: STATE_SET "contents_on" 0.0;
971             target: "elm.swallow.icon1";
972             target: "elm.swallow.icon2";
973             target: "elm.padding.bottom";
974          }
975          program { name: "go_contents_off";
976             signal: "elm,state,contents,disabled";
977             source: "elm";
978             action: STATE_SET "default" 0.0;
979             target: "elm.swallow.icon1";
980             target: "elm.swallow.icon2";
981             target: "elm.padding.bottom";
982          }
983       }
984    }
985
986    group { name: "elm/layout/bubble/seperator/default";
987       parts {
988          part { name: "base";
989             type: RECT;
990             repeat_events: 1;
991             description { state: "default" 0.0;
992                min: 0 GENLIST_PADDING_24_INC;
993                color: 0 0 0 0;
994             }
995          }
996       }
997    }
998