8d158a891f8b565d8e0bf5fdaf5be5d360f0c70e
[apps/core/preloaded/settings.git] / resource / setting-theme.edc
1 /*
2  * setting
3  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 #include "../setting-common/include/setting-common-data-edj-define.h"
19
20 images
21 {
22 }
23
24 collections
25 {
26         styles
27         {
28                 style
29                 {
30                         name: "textblock_style";
31                         base: "font=HelveN_Asia font_size=30 align=left color=#ffffff wrap=char";
32                         tag:  "br" "\n";
33                         tag:  "hilight" "+ font=HelveN_Asia:style=Bold";
34                         tag:  "b" "+ font=HelveN_Asia:style=Bold";
35                         tag:  "whitecolor" "+ color=#ffffff";
36                         tag:  "tab" "\t";
37                 }
38                 style
39                 {
40                         name: "description_style";
41                         base: "font=SLP:style=Roman font_size=24 align=left color=#ff0000 wrap=mixed";
42                         tag:  "br" "\n";
43                         tag:  "hilight" "+ font=SLP:style=Regular";
44                         tag:  "b" "+ font=SLP:style=Regular";
45                         tag:  "whitecolor" "+ color=#ffffff";
46                         tag:  "tab" "\t";
47                 }
48         }
49         group {
50                 name: "search_layout";
51
52                 parts {
53                         /* background */
54                         part {
55                                 name: "bg";
56                                 type: RECT;
57                                 scale: 1;
58                                 description {
59                                         state: "default" 0.0;
60                                         rel1 { relative: 0.0 0.0; offset: 0 0;}
61                                         rel2 { relative: 1.0 1.0; offset: 0 0;}
62                                         color: 0 0 0 0;
63                                 }
64                         }
65                         part {
66                                 name: "bg_swallow";
67                                 type: SWALLOW;
68                                 mouse_events: 0;
69                                 scale: 1;
70                                 description {
71                                         state: "default" 0.0;
72                                         rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg";}
73                                         rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg";}
74                                 }
75                         }
76
77                         /******Begin adding middle icon and its text*******/
78                         part { name: "middle_icon_text";/*middle allign*/
79                                     type: TEXT;
80                                     scale: 1;
81                                     description { state: "default" 0.0;
82                                            align: 0.5 1.0;
83                                            rel1 { relative: 0.0 0.54; offset: 0 0; to: "bg"; }
84                                            rel2 { relative: 1.0 0.6; offset: 0 0; to: "bg"; }
85
86                                        color: 0 255 0 255;
87                                        text
88                                            {
89                                                   font: "SLP:style=Regular";
90                                                   text_class:"slp_regular";
91                                                   size: 32;
92                                                   min: 0 0;
93                                                   align: 0.5 0.5;
94                                        }
95                                 }
96                         }
97
98                         part {
99                                 name: "middle_icon";
100                                 type: SWALLOW;
101                                 mouse_events: 1;
102                                 scale: 1;
103                                 description {
104                                         state: "default" 0.0;
105                                         //min: 130 116;
106                                         fixed: 1 1;
107                                         align: 0.5 0.5;
108                                         rel1 { relative: 0.33 0.6; offset: 0 0; to: "bg"; }
109                                         rel2 { relative: 0.66 0.8; offset: 0 0; to: "bg"; }
110                                 }
111                         }
112
113                         /******End adding middle icon and its text*******/
114
115                         /* search area swallow */
116                         part {
117                                 name: "search_bar";
118                                 type: SWALLOW;
119                                 mouse_events: 1;
120                                 scale: 1;
121                                 description {
122                                         state: "default" 0.0;
123                                         min: 0 ITEM_Y_DEN;
124                                         fixed: 1 1;
125                                         align: 0.0 0.0;
126                                         rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg"; }
127                                         rel2 { relative: 1.0 0.0; offset: 0 0; to: "bg"; }
128                                 }
129                         }
130
131                         /* genlist swallow */
132                         part {
133                                 name: "search_list";
134                                 type: SWALLOW;
135                                 mouse_events: 1;
136                                 scale: 1;
137                                 description {
138                                         state: "default" 0.0;
139                                         align: 0.0 0.0;
140                                         //rel1 { relative: 0.0 1.0; offset: 0 0; to: "search_bar"; }
141                                         rel1 { relative: 0.0 1.0; offset: 0 1; to: "search_bar"; }
142                                         rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg"; }
143                                 }
144                         }
145
146                         part {
147                                 name: "search_list2";
148                                 type: SWALLOW;
149                                 mouse_events: 1;
150                                 scale: 1;
151                                 description {
152                                         state: "default" 0.0;
153                                         align: 0.0 0.0;
154                                         rel1 { relative: 0.0 0.0; offset: 0 0; to: "bg"; }
155                                         rel2 { relative: 1.0 1.0; offset: 0 0; to: "bg"; }
156
157                                 }
158                         }
159
160                 } // end of parts
161         }
162
163         group
164         {
165                 name:"thumbnail_icon2";
166                 min: 110 50;
167                 max: 121 55;
168                 parts
169                 {
170                         part
171                         {
172                                 name:"checkbox";
173                                 type:SWALLOW;
174                                 scale: 1;
175                                 description
176                                 {
177                                         state: "default" 0.0;
178                                         rel1 { relative: 0.0 0.0; offset: 0 0;}
179                                         rel2 { relative: 0.45 1.0; offset: 0 0;}
180                                 }
181                         }
182                         part
183                         {
184                                 name: "space";
185                                 type: RECT;
186                                 scale: 1;
187                                 description
188                                 { state: "default" 0.0;
189                                    min: 45 0;
190                                    fixed: 1 0;
191                                    rel1
192                                    {
193                                           relative: 1.0 0.0;
194                                           to_x: "checkbox";
195                                    }
196                                    rel2.to_x: "checkbox";
197                                    color: 0 0 0 0;
198                                    align: 0.0 0.0;
199                                 }
200
201                         }
202                         part
203                         {
204                                 name:"thumbnail";
205                                 type:SWALLOW;
206                                 scale: 1;
207                                 description
208                                 {
209                                         state: "default" 0.0;
210                                         rel1 { relative: 0.45 0.0; offset: 0 0;}
211                                         rel2 { relative: 1.0 1.0; offset: 0 0;}
212                                 }
213                         }
214                 }
215         }
216
217         group {
218                 name: "wallpaper_layout";
219                 #define FONT_SIZE 24
220                 parts {
221                         /* background */
222                         part {
223                                 name: "bg";
224                                 type: RECT;
225                                 scale: 1;
226                                 description {
227                                         state: "default" 0.0;
228                                         rel1 { relative: 0.0 0.0; offset: 0 0;}
229                                         rel2 { relative: 1.0 1.0; offset: 0 0;}
230                                         color: 0 0 0 0;
231                                 }
232                         }
233                         part {
234                                 name: "bg_swallow";
235                                 type: SWALLOW;
236                                 mouse_events: 0;
237                                 scale: 1;
238                                 description {
239                                         state: "default" 0.0;
240                                         align: 0.0 0.0;
241                                         rel1 { relative: 0.0 0.0; offset: 0 0;}
242                                         rel2 { relative: 1.0 1.0; offset: 0 0;}
243                                         //color: 0 0 0 0;
244                                 }
245                         }
246
247                         part {
248                                 name: "left_swallow_bg";
249                                 type: RECT;
250                                 scale: 1;
251                                 description {
252                                         state: "default" 0.0;
253                                         rel1 { relative: 16/720 30/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
254                                         rel2 { relative: 352/720 630/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
255                                         color: 0 0 0 0;
256                                 }
257                                 /*
258                                 description {
259                                         state: "pressed" 0.0;
260                                         inherit: "default" 0.0;
261                                         color: 255 102 28 255;
262                                 }*/
263                         }
264
265                         part {
266                                 name: "left_swallow";
267                                 type: SWALLOW;
268                                 mouse_events: 1;
269                                 scale: 1;
270                                 description {
271                                         state: "default" 0.0;
272                                         align: 0.5 0.5;
273                                         rel1 { relative: 0.0 0.0; offset: 0 0; to: "left_swallow_bg"; }
274                                         rel2 { relative: 1.0 1.0; offset: 0 0; to: "left_swallow_bg"; }
275
276                                 }
277                         }
278                 part { name: "left_text";
279                             type: TEXT;
280                             scale: 1;
281                             description { state: "default" 0.0;
282                                    align: 0.5 0.5;
283                                    rel1 { relative: 16/720 652/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
284                                    rel2 { relative: 352/720 690/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
285
286                                color: 0 0 0 255;
287                                text
288                                    {
289                                           font: "SLP:style=Regular";
290                                           text_class:"slp_regular";
291                                           size: FONT_SIZE;
292                                           min: 0 0;
293                                           align: 0.5 0.5;
294                                }
295                             }
296                                 /*Support other theme display*/
297                                 description {
298                                         state: "white" 0.0;
299                                         inherit: "default" 0.0;
300                                         color: 255 255 255 255;//white color
301                                 }
302
303                         }
304
305                         part {
306                                 name: "right_swallow_bg";
307                                 type: RECT;
308                                 scale: 1;
309                                 description {
310                                         state: "default" 0.0;
311                                         rel1 { relative: 368/720 30/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
312                                         rel2 { relative: 704/720 630/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
313                                         color: 0 0 0 0;
314                                 }
315                                 /*description {
316                                         state: "pressed" 0.0;
317                                         inherit: "default" 0.0;
318                                         color: 255 102 28 255;
319                                 }*/
320                         }
321
322                         part {
323                                 name: "right_swallow";
324                                 type: SWALLOW;
325                                 mouse_events: 1;
326                                 scale: 1;
327                                 description {
328                                         state: "default" 0.0;
329                                         align: 0.5 0.5;
330                                         rel1 { relative: 0.0 0.0; offset: 0 0; to: "right_swallow_bg"; }
331                                         rel2 { relative: 1.0 1.0; offset: 0 0; to: "right_swallow_bg"; }
332                                 }
333                         }
334                 part { name: "right_text";
335                             type: TEXT;
336                             scale: 1;
337                             description { state: "default" 0.0;
338                                    align: 0.5 0.5;
339                                    rel1 { relative: 368/720 652/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
340                                    rel2 { relative: 704/720 690/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
341
342                                    color: 0 0 0 255;
343                                text
344                                    {
345                                           font: "SLP:style=Regular";
346                                           text_class:"slp_regular";
347                                           size: FONT_SIZE;
348                                           min: 0 0;
349                                           align: 0.5 0.5;
350                                }
351                             }
352                                 description {
353                                         state: "white" 0.0;
354                                         inherit: "default" 0.0;
355                                         color: 255 255 255 255;//white color
356                                 }
357                         }
358
359                         part {
360                                 name: "btn";
361                                 type: SWALLOW;
362                                 mouse_events: 1;
363                                 scale: 1;
364                                 description {
365                                         state: "default" 0.0;
366                                         align: 0.0 0.0;
367                                         rel1 { relative: 16/720 712/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
368                                         rel2 { relative: 704/720 786/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
369                                 }
370                         }
371
372                         part {
373                                 name: "lock_btn";
374                                 type: SWALLOW;
375                                 mouse_events: 1;
376                                 scale: 1;
377                                 description {
378                                         state: "default" 0.0;
379                                         align: 0.0 0.0;
380                                         rel1 { relative: 16/720 818/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
381                                         rel2 { relative: 704/720 892/WALLPAPER_LAYOUT_H; offset: 0 0; to: "bg"; }
382                                 }
383                         }
384
385                 } // end of parts
386             programs {
387                         program { name: "left_mouse_press,";
388                             signal: "mouse,down,1";
389                             source: "left_swallow_bg";
390                                 //action: STATE_SET "default" 0.0;
391                             script {
392                                 set_state(PART:"right_swallow_bg", "default", 0.0);
393                                         set_state(PART:"left_swallow_bg", "pressed", 0.0);
394                             }
395                         }
396
397                         program { name: "right_mouse_press,";
398                             signal: "mouse,down,1";
399                             source: "right_swallow_bg";
400                                 //action: STATE_SET "default" 0.0;
401                             script {
402                                 set_state(PART:"right_swallow_bg", "pressed", 0.0);
403                                         set_state(PART:"left_swallow_bg", "default", 0.0);
404                             }
405                         }
406
407             /*Support other theme display*/
408             program {//black theme need white text
409                     name: "Change_non_white_theme";
410                     signal: "change,non-white,theme";
411                     source: "elm";
412                     action: STATE_SET "white" 0.0;
413                     target: "left_text";
414                     target: "right_text";
415             }
416
417
418                 }
419
420         }
421
422         group
423         {
424         name: "selinfo_bottom";
425
426         parts {
427                 part {
428                         name: "background";
429                         type: RECT;
430                         scale: 1;
431                         description {
432                                 state: "default" 0.0;
433                                 rel1 { relative: 0.0 0.0; }
434                                 rel2 { relative: 1.0 1.0; }
435                                 color: 0 0 0 0;
436                         }
437                 }
438
439                 part {
440                         name: "elm.swallow.contents";
441                         type: SWALLOW;
442                         scale: 1;
443                         description {
444                                 state: "default" 0.0;
445                                 rel1 { relative: 0.0 0.0; to: "background"; }
446                                 rel2 { relative: 1.0 0.0; to_x: "background"; to_y:"bottom_padding"; }
447                         }
448                 }
449
450                 part {
451                         name: "bottom_padding";
452                         type: RECT;
453                         scale: 1;
454                         description {
455                                 state: "default" 0.0;
456                                 min: 0 0;
457                                 fixed: 0 1;
458                                 align: 0.5 1.0;
459                                 rel1 { relative: 0.0 1.0; to: "background"; }
460                                 rel2 { relative: 1.0 1.0; to: "background"; }
461                                 color: 0 0 0 0;
462                         }
463                         description {
464                                 state: "padding" 0.0;
465                                 inherit: "default" 0.0;
466                                 min: 0 5; // 66+4+12
467                         }
468                 }
469         }
470
471         programs {
472                 program {
473                         name: "bottom_padding_content_area";
474                         signal: "elm,layout,content,bottom_padding";
475                         source: "layout";
476                         action: STATE_SET "padding" 0.0;
477                         target: "bottom_padding";
478                 }
479                 program {
480                         name: "default_content_area";
481                         signal: "elm,layout,content,default";
482                         source: "layout";
483                         action: STATE_SET "default" 0.0;
484                         target: "bottom_padding";
485                 }
486         }
487         }
488
489         group { name: "popup_checkview";
490            parts{
491               part { name: "pad_t";
492                  scale : 1;
493                  mouse_events: 0;
494                  repeat_events: 1;
495                  description { state: "default" 0.0;
496                     align: 0.5 0.0;
497                     min: 0 22;
498                     fixed: 0 1;
499                     rel1 {
500                        relative: 1.0 0.0;to_x: "pad_l";
501                     }
502                     rel2 {
503                        relative: 0.0 0.0;to_x: "pad_r";
504                     }
505                  }
506               }
507               part { name: "pad_l";
508                  scale: 1;
509                  description { state: "default" 0.0;
510                     min : 16 0;
511                     fixed: 1 0;
512                     rel1 {
513                        relative: 0.0 0.0;
514                     }
515                     rel2 {
516                        relative: 0.0 1.0;
517                     }
518                     align: 0.0 0.0;
519                  }
520               }
521               part { name: "pad_r";
522                  scale: 1;
523                  description { state: "default" 0.0;
524                     min : 16 0;
525                     fixed: 1 0;
526                     rel1 {
527                        relative: 1.0 0.0;
528                     }
529                     rel2 {
530                        relative: 1.0 1.0;
531                     }
532                     align: 1.0 0.0;
533                  }
534               }
535               part{ name:"elm.swallow.content";
536                  type: SWALLOW;
537                  scale : 1;
538                  description { state: "default" 0.0;
539                     min: 380 0;
540                     align: 0.5 0.5;
541                     fixed: 1 0;
542                     rel1 {
543                        relative: 0.5 1.0;
544                        to: "pad_t";
545                     }
546                     rel2 {
547                        relative: 0.5 0.0;
548                        to: "pad_b";
549                     }
550                  }
551               }
552               part { name: "pad_b";
553                  scale : 1;
554                  mouse_events: 0;
555                  description { state: "default" 0.0;
556                     align: 0.5 1.0;
557                     min: 0 66;
558                     fixed: 0 1;
559                     rel1 {
560                        relative: 1.0 1.0;to_x: "pad_l";
561                     }
562                     rel2 {
563                        relative: 0.0 1.0;to_x: "pad_r";
564                     }
565                  }
566               }
567               part { name: "elm.swallow.end";
568                  type: SWALLOW;
569                  scale : 1;
570                  mouse_events: 1;
571                  repeat_events: 1;
572                  description { state: "default" 0.0;
573                     align: 0.0 0.5;
574                     rel1 {
575                        relative: 0.18 0.0;
576                        to: "pad_b";
577                     }
578                     rel2 {
579                        relative: 1.0 1.0;
580                        to: "pad_b";
581                     }
582                  }
583               }
584               part { name: "elm.text";
585                  type: TEXT;
586                  scale : 1;
587                  description { state: "default" 0.0;
588                     text {
589                        font: "SLP:style=Medium";
590                        size: 24;
591                        min: 0 0;
592                        align: 0.5 0.5;
593                       }
594                     color: 0 0 0 255;
595                     align: 0.0 0.5;
596                     rel1 {
597                        relative: 0.0 0.0;
598                        to: "pad_b";
599                     }
600                     rel2 {
601                        relative: 1.0 1.0;
602                        to: "pad_b";
603                     }
604                  }
605               }
606            }
607         }
608
609         group { name: "popup_checkview_image";
610            parts {
611               part { name: "pad_t";
612                  scale: 1;
613                  mouse_events: 0;
614                  repeat_events: 1;
615                  description { state: "default" 0.0;
616                     align: 0.5 0.0;
617                     min: 0 2;
618                     fixed: 0 1;
619                     rel1 {
620                        relative: 1.0 0.0;to_x: "pad_l";
621                     }
622                     rel2 {
623                        relative: 0.0 0.0;to_x: "pad_r";
624                     }
625                  }
626               }
627               part { name: "pad_l";
628                  scale: 1;
629                  description { state: "default" 0.0;
630                     min : 2 0;
631                     fixed: 1 0;
632                     rel1 {
633                        relative: 0.0 0.0;
634                     }
635                     rel2 {
636                        relative: 0.0 1.0;
637                     }
638                     align: 0.0 0.0;
639                  }
640               }
641               part { name: "pad_r";
642                  scale: 1;
643                  description { state: "default" 0.0;
644                     min : 2 0;
645                     fixed: 1 0;
646                     rel1 {
647                        relative: 1.0 0.0;
648                     }
649                     rel2 {
650                        relative: 1.0 1.0;
651                     }
652                     align: 1.0 0.0;
653                  }
654               }
655               part { name:"elm.swallow.content";
656                  type: SWALLOW;
657                  scale : 1;
658                  mouse_events: 1;
659                  repeat_events: 1;
660                  description { state: "default" 0.0;
661                     min: 0 350;
662                     align: 0.5 1.0;
663                     fixed: 1 0;
664                     rel1 {
665                        relative: 0.0 1.0;
666                        to: "pad_t";
667                     }
668                     rel2 {
669                        relative: 1.0 0.0;
670                        to: "pad_b";
671                     }
672                  }
673               }
674               part { name: "pad_b";
675                  scale : 1;
676                  mouse_events: 0;
677                  type: RECT;
678                  description { state: "default" 0.0;
679                     align: 0.5 1.0;
680                     min: 0 40;
681                     visible: 0;
682                     fixed: 0 1;
683                     rel1 {
684                        relative: 1.0 1.0;to_x: "pad_l";
685                     }
686                     rel2 {
687                        relative: 0.0 1.0;to_x: "pad_r";
688                     }
689                  }
690               }
691               part { name: "elm.swallow.end";
692                  type: SWALLOW;
693                  scale : 1;
694                  mouse_events: 1;
695                  repeat_events: 1;
696                  description { state: "default" 0.0;
697                     align: 0.0 0.5;
698                     min: 42 42;
699                     max: 42 42;
700                     fixed: 1 1;
701                     rel1 {
702                        relative: 0.0 0.0;
703                        to: "pad_b";
704                     }
705                     rel2 {
706                        relative: 0.0 1.0;
707                        to: "pad_b";
708                     }
709                  }
710               }
711               part { name: "elm.text";
712                  type: TEXT;
713                  scale : 1;
714                  description { state: "default" 0.0;
715                     text {
716                        font: "SLP:style=Medium";
717                        size: 38;
718                        min: 0 0;
719                        align: 0.0 0.5;
720                     }
721                     color: 0 0 0 255;
722                     align: 0.0 0.5;
723                     rel1 {
724                        relative: 1.0 0.0;
725                        to_x:"elm.swallow.end"; to_y: "pad_b";
726                     }
727                     rel2 {
728                        relative: 1.0 1.0;
729                        to: "pad_b";
730                     }
731                  }
732               }
733            }
734         }
735
736         group {
737                 name: "screen_mode";
738
739                 parts {
740                         part {
741                                 name: "bg";
742                                 type: RECT;
743                                 scale: 1;
744                                 description {
745                                         state: "default" 0.0;
746                                         rel1 { relative: 0.0 0.0; offset: 0 0;}
747                                         rel2 { relative: 1.0 1.0; offset: 0 0;}
748                                         color: 0 0 0 0;
749                                 }
750                         }
751                         part {
752                                 name: "elm.padding.top";
753                                 type: RECT;
754                                 scale: 1;
755                                 description {
756                                         state: "default" 0.0;
757                                         min: 0 16;
758                                         fixed: 0 1;
759                                         visible: 0;
760                                         rel2.relative: 1.0 0.0;
761                                         align: 0.0 0.0;
762                                 }
763                         }
764                         part {
765                                 name: "elm.padding.bottom";
766                                 type: RECT;
767                                 scale: 1;
768                                 description {
769                                         state: "default" 0.0;
770                                         min: 0 16;
771                                         fixed: 0 1;
772                                         visible: 0;
773                                         rel1.relative: 0.0 1.0;
774                                         align: 0.0 1.0;
775                                 }
776                         }
777                         part {
778                                 name: "elm.padding.left";
779                                 type: RECT;
780                                 scale: 1;
781                                 description {
782                                         state: "default" 0.0;
783                                         min: 16 0;
784                                         fixed: 1 0;
785                                         visible: 0;
786                                         rel2.relative: 0.0 1.0;
787                                         align: 0.0 0.0;
788                                 }
789                         }
790                         part {
791                                 name: "elm.padding.right";
792                                 type: RECT;
793                                 scale: 1;
794                                 description { state: "default" 0.0;
795                                         min: 16 0;
796                                         fixed: 1 0;
797                                         visible: 0;
798                                         rel1.relative: 1.0  0.0;
799                                         align: 1.0 0.0;
800                                 }
801                         }
802                         part {
803                                 name: "content";
804                                 type: SWALLOW;
805                                 mouse_events: 1;
806                                 scale: 1;
807                                 description {
808                                         state: "default" 0.0;
809                                         align: 0.5 0.5;
810                                         rel1 {
811                                                 relative: 1 1;
812                                                 to_x: "elm.padding.left";
813                                                 to_y: "elm.padding.top";
814                                         }
815                                         rel2 {
816                                                 relative: 0 0;
817                                                 to_x: "elm.padding.right";
818                                                 to_y: "elm.padding.bottom";
819                                         }
820                                 }
821                         }
822                 }
823         }
824     group {
825                 name: "custom_popup";
826                   parts{
827                         part {
828                                 name: "left_padding";
829                                 type: RECT;
830                                 scale: 1;
831                                 description {
832                                         state: "default" 0.0;
833                                         fixed: 1 0;
834                                         visible: 0;
835                                         align: 0.0 0.5;
836                                         min: 32 0;
837                                         rel1 {
838                                                 relative: 0.0 0.0;
839                                         }
840                                         rel2 {
841                                                 relative: 0.0 1.0;
842                                         }
843                                 }
844                         }
845                         part{
846                                 name:"content";
847                                 type: SWALLOW;
848                                 scale : 1;
849                                 description {
850                                         state: "default" 0.0;
851                                         min: 1 1;
852                                         align: 0.0 0.5;
853                                         fixed: 1 0;
854                                         rel1 {
855                                                 relative: 1.0 0.0;
856                                                 to_x: "left_padding";
857                                         }
858                                         rel2 {
859                                                 relative: 0.0 1.0;
860                                                 to_x: "right_padding";
861                                         }
862                                 }
863                         }
864                         part{
865                                 name:"content2";
866                                 type: SWALLOW;
867                                 scale : 1;
868                                 description {
869                                         state: "default" 0.0;
870                                         min: 1 1;
871                                         align: 0.0 0.0;
872                                         fixed: 1 0;
873                                         rel1 {
874                                                 relative: 1.0 1.0;
875                                                 to_x: "left_padding";
876                                                 to_y: "content";
877                                         }
878                                         rel2 {
879                                                 relative: 0.0 1.0;
880                                                 to_x: "right_padding";
881                                                 to_y: "content";
882                                         }
883                                 }
884                         }
885                         part {
886                                 name: "right_padding";
887                                 type: RECT;
888                                 scale: 1;
889                                 description {
890                                         state: "default" 0.0;
891                                         fixed: 1 0;
892                                         visible: 0;
893                                         align: 1.0 0.5;
894                                         min: 32 0;
895                                         rel1 {
896                                                 relative: 1.0 0.0;
897                                         }
898                                         rel2 {
899                                                 relative: 1.0 1.0;
900                                         }
901                                 }
902                         }
903                 }
904         }
905
906         group {
907                 name: "silder_text_layout";
908                 parts {
909                         part {
910                                 name: "padding1";
911                                 type: RECT;
912                                 scale: 1;
913                                 description {
914                                         state: "default" 0.0;
915                                         min: 0 1;
916                                         fixed: 0 1;
917                                         align: 0.5 0.0;
918                                         rel1 { relative: 0 0; }
919                                         rel2 { relative: 1 0; }
920                                         color: 0 0 0 0;
921                                 }
922                         }
923                         part {
924                                 name: "text1";
925                                 type: TEXT;
926                                 scale: 1;
927                                 description {
928                                         state: "default" 0.0;
929                                         min: 0 60;
930                                         fixed: 0 1;
931                                         align: 0.5 0.0;
932                                         rel1 { relative: 0 1; to: padding1; }
933                                         rel2 { relative: 1 1; to: padding1; }
934                                         color: 0 0 0 255;
935                                         text {
936                                                 font: "SLP:style=Roman";
937                                                 size: 36;
938                                                 min:  1 0;
939                                                 align: 0.0 0.5;
940                                         }
941                                 }
942                         }
943                 }
944         }
945 }