[Genlist] apply theme blue #1
[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.swallow.button1";
659             clip_to: "disclip";
660             type: SWALLOW;
661             scale: 1;
662             description { state: "default" 0.0;
663                align: 0.0 1.0;
664                fixed: 1 1;
665                rel1 { relative: 0.80 0.80; to_y: "elm.icon"; }
666                rel2 { relative: 0.88 0.95; to_y: "elm.icon"; }
667             }
668          }
669          part { name: "elm.swallow.button2";
670             clip_to: "disclip";
671             type: SWALLOW;
672             scale: 1;
673             description { state: "default" 0.0;
674                align: 0.0 1.0;
675                fixed: 1 1;
676                rel1 { relative: 0.89 0.80; to_y: "elm.icon"; }
677                rel2 { relative: 0.97 0.95; to_y: "elm.icon"; }
678             }
679          }
680          part { name: "elm.padding.bottom";
681               type: RECT;
682               scale: 1;
683               description { state: "default" 0.0;
684                  min: 0 GENLIST_PADDING_24_INC;
685                  fixed: 0 1;
686                  visible: 0;
687                  rel1.relative: 0.0 1.0;
688                  align: 0.0 1.0;
689               }
690          }
691          part { name: "disclip";
692              type: RECT;
693              description { state: "default" 0.0;
694              }
695              description { state: "disabled" 0.0;
696                 inherit: "default" 0.0;
697                 color: GENLIST_PART_DISCLIP_COLOR_INC;
698              }
699          }
700       }
701       programs {
702          program { name: "go_disabled";
703             signal: "elm,state,disabled";
704             source: "elm";
705             action: STATE_SET "disabled" 0.0;
706             target: "disclip";
707          }
708          program { name: "go_enabled";
709             signal: "elm,state,enabled";
710             source: "elm";
711             action: STATE_SET "default" 0.0;
712             target: "disclip";
713          }
714          program { name: "go_defaultview";
715             signal: "elm,state,select,disable";
716             source: "elm";
717             action: STATE_SET "default" 0.0;
718             //transition: DECELERATE 0.7;
719            target: "elm.swallow.select_icon";
720             target: "elm.icon";
721          }
722          program { name: "go_selectview";
723             signal: "elm,state,select,enable";
724             source: "elm";
725             action: STATE_SET "selectview" 0.0;
726             transition: DECELERATE 0.7;
727             target: "elm.swallow.select_icon";
728             target: "elm.icon";
729          }
730       }
731    }
732
733    group { name: "elm/layout/bubble/sentmessage/default";
734       parts {
735          part { name: "base";
736             type: RECT;
737             repeat_events: 1;
738             description { state: "default" 0.0;
739                color: 0 0 0 0;
740             }
741          }
742          part { name: "elm.padding.left";
743             type: RECT;
744             scale: 1;
745             description { state: "default" 0.0;
746                min: GENLIST_PADDING_5_INC 0;
747                fixed: 1 0;
748                visible: 0;
749                rel1.relative: 0.0 0.0;
750                rel2 {
751                   relative: 0.0 1.0;
752                   to_y: "elm.padding.bottom";
753                }
754                align: 0.0 0.0;
755             }
756          }
757          part { name: "elm.swallow.select_icon";
758             clip_to: "disclip";
759             type: SWALLOW;
760             scale: 1;
761             description { state: "default" 0.0;
762                fixed: 1 1;
763                align: 0.0 0.5;
764                visible: 0;
765                rel1 {
766                   relative: 1.0 0.0;
767                   to_x: "elm.padding.left";
768                }
769                rel2 {
770                   relative: 1.0 0.0;
771                   to_x: "elm.padding.left";
772                   to_y: "elm.padding.bottom";
773                }
774             }
775             description { state: "selectview" 0.0;
776                inherit: "default" 0.0;
777                visible: 1;
778             }
779          }
780          part { name: "elm.padding.icon1.right";
781             type: RECT;
782             scale: 1;
783             description { state: "default" 0.0;
784                min: GENLIST_PADDING_5_INC 0;
785                fixed: 1 0;
786                visible: 0;
787                color: 0 255 255 255;
788                rel1 {
789                   relative: 1.0 0.0;
790                   to_x: "elm.swallow.select_icon";
791                }
792                rel2 {
793                   relative: 1.0 0.0;
794                   to_x: "elm.swallow.select_icon";
795                   to_y: "elm.padding.bottom";
796                }
797                align: 0.0 0.0;
798             }
799          }
800          part { name: "elm.icon";
801             clip_to: "disclip";
802             type: SWALLOW;
803             scale: 1;
804             description { state: "default" 0.0;
805                rel1.relative: 0.24 0.0; //to_y: "elm.rect.top.pad"; }
806                rel2 {
807                   relative: 1.0 0.0;
808                   to_y: "elm.padding.bottom";
809                }
810             }
811             description { state: "selectview" 0.0;
812                inherit: "default" 0.0;
813                align: 1.0 0.0;
814                rel1 {
815                   relative: 0.28 0.0;
816                }
817             }
818          }
819          part { name: "elm.swallow.button1";
820             clip_to: "disclip";
821             type: SWALLOW;
822             scale: 1;
823             description { state: "default" 0.0;
824                align: 0.0 1.0;
825                fixed: 1 1;
826                max: 40 40;
827                rel1 { relative: 0.03 0.80; to_y: "elm.icon"; }
828                rel2 { relative: 0.11 0.95; to_y: "elm.icon"; }
829             }
830          }
831          part { name: "elm.swallow.button2";
832             clip_to: "disclip";
833             type: SWALLOW;
834             scale: 1;
835             description { state: "default" 0.0;
836                align: 0.0 1.0;
837                fixed: 1 1;
838                max: 40 40;
839                rel1 { relative: 0.12 0.80; to_y: "elm.icon"; }
840                rel2 { relative: 0.20 0.95; to_y: "elm.icon"; }
841             }
842          }
843          part { name: "elm.padding.bottom";
844               type: RECT;
845               scale: 1;
846               description { state: "default" 0.0;
847                  min: 0 GENLIST_PADDING_24_INC;
848                  fixed: 0 1;
849                  visible: 0;
850                  rel1.relative: 0.0 1.0;
851                  align: 0.0 1.0;
852               }
853          }
854          part { name: "disclip";
855              type: RECT;
856              description { state: "default" 0.0;
857              }
858              description { state: "disabled" 0.0;
859                 inherit: "default" 0.0;
860                 color: GENLIST_PART_DISCLIP_COLOR_INC;
861              }
862          }
863       }
864       programs {
865          program { name: "go_disabled";
866             signal: "elm,state,disabled";
867             source: "elm";
868             action: STATE_SET "disabled" 0.0;
869             target: "disclip";
870          }
871          program { name: "go_enabled";
872             signal: "elm,state,enabled";
873             source: "elm";
874             action: STATE_SET "default" 0.0;
875             target: "disclip";
876          }
877          program { name: "go_defaultview";
878             signal: "elm,state,select,disable";
879             source: "elm";
880             action: STATE_SET "default" 0.0;
881             //transition: DECELERATE 0.7;
882             target: "elm.swallow.select_icon";
883             target: "elm.icon";
884          }
885          program { name: "go_selectview";
886             signal: "elm,state,select,enable";
887             source: "elm";
888             action: STATE_SET "selectview" 0.0;
889             //transition: DECELERATE 0.7;
890             target: "elm.swallow.select_icon";
891             target: "elm.icon";
892          }
893       }
894    }
895