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