[Cleanup]: Removed colorpalette and searchbar edc.
[profile/ivi/efl-theme-tizen.git] / themes / widgets / controlbar.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 // controlbar icon
20 ///////////////////////////////////////////////////////////////////////////////////////
21     group { name: "elm/icon/controlbar_more/default"; min: 40 40;
22         images.image: "00_winset_tab_icon_more.png" COMP;
23         parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
24                 aspect_preference: BOTH; image.normal: "00_winset_tab_icon_more.png"; } } } }
25
26 ////////////////////////////////////////////////////////////////////////////////////////
27 // controlbar
28 ///////////////////////////////////////////////////////////////////////////////////////
29
30         images{
31                 image: "00_winset_control_toolbar_bg.png" COMP;
32                 image: "00_winset_control_tabbar_bg.png" COMP;
33                 image: "00_winset_control_tabbar_bg_left.png" COMP;
34                 image: "00_winset_control_tabbar_bg_right.png" COMP;
35                 image: "00_winset_control_tabbar_bg_top.png" COMP;
36                 image: "00_winset_tabbar_press.png" COMP;
37                 image: "00_winset_tabbar_press_left.png" COMP;
38                 image: "00_winset_tabbar_press_right.png" COMP;
39                 image: "00_winset_tabbar_press_top.png" COMP;
40                 image: "00_winset_toolbar_press.png" COMP;
41                 image: "00_winset_tabbar_focus.png" COMP;
42         }
43
44         group{
45                 name: "elm/controlbar/base/default";
46
47                 parts{
48                         part{
49                                 name: "bg_rect";
50                                 type: RECT;
51                                 scale: 1;
52                                 mouse_events:0;
53                                 description{
54                                         state: "default" 0.0;
55                                         min: 0 30;
56                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
57                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
58                                         color: 0 0 0 0;
59                                 }
60                         }
61                         part{
62                                 name: "elm.swallow.view";
63                                 type: SWALLOW;
64                                 scale: 1;
65                                 mouse_events: 1;
66                                 description{
67                                         state: "default" 0.0;
68                                         rel1 {relative: 0.0 0.0;}
69                                         rel2 {relative: 1.0 0.0; to: "bg_image";}
70                                 }
71                         }
72                         part{
73                                 name: "bg_image";
74                                 type: SWALLOW;
75                                 scale: 1;
76                                 mouse_events:0;
77                                 description{
78                                         state: "default" 0.0;
79                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
80                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
81                                 }
82                                 description{
83                                         state: "large" 0.0;
84                                         min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
85                                         fixed: 0 1;
86                                         align: 0.5 1.0;
87                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
88                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
89                                 }
90                                 description{
91                                         state: "small" 0.0;
92                                         min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
93                                         fixed: 0 1;
94                                         align: 0.5 1.0;
95                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
96                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
97                                 }
98                                 description{
99                                         state: "left" 0.0;
100                                         min: CONTROLBAR_WIDTH_INC 0;
101                                         fixed: 1 0;
102                                         align: 0.0 0.5;
103                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
104                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
105                                 }
106                                 description{
107                                         state: "right" 0.0;
108                                         min: CONTROLBAR_WIDTH_INC 0;
109                                         fixed: 1 0;
110                                         align: 1.0 0.5;
111                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
112                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
113                                 }
114                         }
115                         part {
116                                 name: "elm.dragable.box";
117                                 type: GROUP;
118                                 source: "elm/controlbar/item_bg_move/default";
119                                 mouse_events: 0;
120                                 scale: 1;
121                                 dragable {
122                                         x: 1 1 0;
123                                         y: 1 1 0;
124                                         confine: "bg_image";
125                                 }
126                                 description {
127                                         state: "default" 0.0;
128                                         rel1 {
129                                                 relative: 0.0 0.0;
130                                                 to: "bg_image";
131                                         }
132                                         rel2 {
133                                                 relative: 0.0 1.0;
134                                                 to: "bg_image";
135                                         }
136                                         color: 0 0 0 0;
137                                 }
138                         }
139                         part{
140                                 name: "elm.swallow.items";
141                                 type: SWALLOW;
142                                 scale: 1;
143                                 description{
144                                         state: "default" 0.0;
145                                         rel1 {relative: 0.0 0.0; to: "bg_image";}
146                                         rel2 {relative: 1.0 1.0; to: "bg_image";}
147                                 }
148                         }
149                 }
150                 programs{
151                         program{
152                                 name: "default";
153                                 signal: "elm,state,default";
154                                 source: "elm";
155                                 action: STATE_SET "default" 0.0;
156                                 target: "bg_image";
157                         }
158                         program{
159                                 name: "large";
160                                 signal: "elm,state,large";
161                                 source: "elm";
162                                 action: STATE_SET "large" 0.0;
163                                 target: "bg_image";
164                         }
165                         program{
166                                 name: "small";
167                                 signal: "elm,state,small";
168                                 source: "elm";
169                                 action: STATE_SET "small" 0.0;
170                                 target: "bg_image";
171                         }
172                         program{
173                                 name: "left";
174                                 signal: "elm,state,left";
175                                 source: "elm";
176                                 action: STATE_SET "left" 0.0;
177                                 target: "bg_image";
178                         }
179                         program{
180                                 name: "right";
181                                 signal: "elm,state,right";
182                                 source: "elm";
183                                 action: STATE_SET "right" 0.0;
184                                 target: "bg_image";
185                         }
186                 }
187         }
188
189         group{
190                 name: "elm/controlbar/background/default";
191
192                 parts{
193                         part{
194                                 name: "bg_image";
195                                 type: IMAGE;
196                                 scale: 1;
197                                 mouse_events:0;
198                                 description{
199                                         state: "default" 0.0;
200                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
201                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
202                                         image.normal: "00_winset_control_toolbar_bg.png";
203                                         color: 255 255 255 255;
204                                 }
205                                 description{
206                                         state: "tabbar" 0.0;
207                                         inherit: "default" 0.0;
208                                         image.normal: "00_winset_control_tabbar_bg.png";
209                                 }
210                                 description{
211                                         state: "tabbar_left" 0.0;
212                                         inherit: "default" 0.0;
213                                         image.normal: "00_winset_control_tabbar_bg_left.png";
214                                 }
215                                 description{
216                                         state: "tabbar_right" 0.0;
217                                         inherit: "default" 0.0;
218                                         image.normal: "00_winset_control_tabbar_bg_right.png";
219                                 }
220                         }
221                         programs {
222                                 program {
223                                         name: "tabbar_bg";
224                                         signal: "elm,state,tabbar";
225                                         source: "elm";
226                                         action: STATE_SET "tabbar" 0.0;
227                                         target: "bg_image";
228                                 }
229                                 program {
230                                         name: "toolbar_bg";
231                                         signal: "elm,state,toolbar";
232                                         source: "elm";
233                                         action: STATE_SET "default" 0.0;
234                                         target: "bg_image";
235                                 }
236                                 program {
237                                         name: "tabbar_left_bg";
238                                         signal: "elm,state,tabbar_left";
239                                         source: "elm";
240                                         action: STATE_SET "tabbar_left" 0.0;
241                                         target: "bg_image";
242                                 }
243                                 program {
244                                         name: "tabbar_right_bg";
245                                         signal: "elm,state,tabbar_right";
246                                         source: "elm";
247                                         action: STATE_SET "tabbar_right" 0.0;
248                                         target: "bg_image";
249                                 }
250                         }
251                 }
252         }
253
254         group{
255                 name: "elm/controlbar/view/default";
256
257                 parts{
258                         part{
259                                 name: "bg_rect";
260                                 type: RECT;
261                                 mouse_events:1;
262                                 description{
263                                         state: "default" 0.0;
264                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
265                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
266                                         color: 0 0 0 0;
267                                 }
268                         }
269                         part{
270                                 name: "elm.swallow.view";
271                                 type: SWALLOW;
272                                 description{
273                                         state: "default" 0.0;
274                                         rel1 {relative: 0.0 0.0; to: "bg_rect";}
275                                         rel2 {relative: 1.0 1.0; to: "bg_rect";}
276                                 }
277                         }
278                 }
279         }
280
281         group{
282                 name: "elm/controlbar/item_bg/default";
283
284                 parts{
285                         part{
286                                 name: "bg_rect";
287                                 type: RECT;
288                                 scale: 1;
289                                 mouse_events: 1;
290                                 description{
291                                         state: "default" 0.0;
292                                         min: 0 0;
293                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
294                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
295                                         color: 0 0 0 0;
296                                 }
297                         }
298                         part{
299                                 name: "bg_img";
300                                 type: IMAGE;
301                                 scale: 1;
302                                 mouse_events: 0;
303                                 description{
304                                         state: "default" 0.0;
305                                         visible: 0;
306                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
307                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
308                                 }
309                                 description{
310                                         state: "pressed" 0.0;
311                                         inherit: "default" 0.0;
312                                         image.normal: "00_winset_tabbar_press.png";
313                                         image.border: 2 2 3 2;
314                                         color: 255 255 255 50;
315                                         visible: 1;
316                                         fill.smooth: 0;
317                                 }
318                                 description{
319                                         state: "pressed_left" 0.0;
320                                         inherit: "default" 0.0;
321                                         image.normal: "00_winset_tabbar_press_left.png";
322                                         image.border: 2 3 2 2;
323                                         color: 255 255 255 50;
324                                         visible: 1;
325                                         fill.smooth: 0;
326                                 }
327                                 description{
328                                         state: "pressed_right" 0.0;
329                                         inherit: "default" 0.0;
330                                         image.normal: "00_winset_tabbar_press_right.png";
331                                         image.border: 3 2 2 2;
332                                         color: 255 255 255 50;
333                                         visible: 1;
334                                         fill.smooth: 0;
335                                 }
336                                 description{
337                                         state: "focused" 0.0;
338                                         inherit: "default" 0.0;
339                                         image.normal: "00_winset_tabbar_focus.png";
340                                         image.border: 2 2 3 2;
341                                         visible: 1;
342                                         fill.smooth: 0;
343                                 }
344                                 description{
345                                         state: "focused_left" 0.0;
346                                         inherit: "default" 0.0;
347                                         image.normal: "00_winset_tabbar_focus.png";
348                                         image.border: 2 3 2 2;
349                                         visible: 1;
350                                         fill.smooth: 0;
351                                 }
352                                 description{
353                                         state: "focused_right" 0.0;
354                                         inherit: "default" 0.0;
355                                         image.normal: "00_winset_tabbar_focus.png";
356                                         image.border: 3 2 2 2;
357                                         visible: 1;
358                                         fill.smooth: 0;
359                                 }
360                                 description{
361                                         state: "toolbar_pressed" 0.0;
362                                         inherit: "default" 0.0;
363                                         rel1 {relative: 0.0 0.07; offset: 3 0;}
364                                         rel2 {relative: 1.0 0.93; offset: -3 0;}
365                                         image.normal: "00_winset_toolbar_press.png";
366                                         image.border: 3 3 3 3;
367                                         visible: 1;
368                                         fill.smooth: 0;
369                                 }
370                         }
371                         part{
372                                 name: "left_line";
373                                 type: RECT;
374                                 scale: 1;
375                                 mouse_events: 0;
376                                 description{
377                                         state: "default" 0.0;
378                                         visible: 0;
379                                         rel1 {relative: 0.0 0.0; offset: 0 5;}
380                                         rel2 {relative: 0.0 1.0; offset: 1 -3;}
381                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
382                                 }
383                                 description{
384                                         state: "show" 0.0;
385                                         inherit: "default" 0.0;
386                                         visible: 0;
387                                 }
388                         }
389                         part{
390                                 name: "right_line";
391                                 type: RECT;
392                                 scale: 1;
393                                 mouse_events: 0;
394                                 description{
395                                         state: "default" 0.0;
396                                         visible: 0;
397                                         rel1 {relative: 1.0 0.0; offset: -1 5;}
398                                         rel2 {relative: 1.0 1.0; offset: 0 -3;}
399                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
400                                 }
401                                 description{
402                                         state: "show" 0.0;
403                                         inherit: "default" 0.0;
404                                         visible: 0;
405                                 }
406                         }
407                         part{
408                                 name: "top_line";
409                                 type: RECT;
410                                 scale: 1;
411                                 mouse_events: 0;
412                                 description{
413                                         state: "default" 0.0;
414                                         visible: 0;
415                                         rel1 {relative: 0.0 0.0; offset: 5 0;}
416                                         rel2 {relative: 1.0 0.0; offset: -5 1;}
417                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
418                                 }
419                                 description{
420                                         state: "show" 0.0;
421                                         inherit: "default" 0.0;
422                                         visible: 0;
423                                 }
424                         }
425                         part{
426                                 name: "bottom_line";
427                                 type: RECT;
428                                 scale: 1;
429                                 mouse_events: 0;
430                                 description{
431                                         state: "default" 0.0;
432                                         visible: 0;
433                                         rel1 {relative: 0.0 1.0; offset: 5 -1;}
434                                         rel2 {relative: 1.0 1.0; offset: -5 0;}
435                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
436                                 }
437                                 description{
438                                         state: "show" 0.0;
439                                         inherit: "default" 0.0;
440                                         visible: 0;
441                                 }
442                         }
443                         part{
444                                 name: "item";
445                                 type: SWALLOW;
446                                 scale: 1;
447                                 mouse_events: 1;
448                                 description{
449                                         state: "default" 0.0;
450                                         rel1 {to: "bg_rect";}
451                                         rel2 {to: "bg_rect";}
452                                 }
453                         }
454                 }
455                 programs {
456                         program {
457                                 name: "selected";
458                                 signal: "elm,state,selected";
459                                 source: "elm";
460                                 action: STATE_SET "focused" 0.0;
461                                 target: "bg_img";
462                         }
463                         program {
464                                 name: "selected_left";
465                                 signal: "elm,state,selected_left";
466                                 source: "elm";
467                                 action: STATE_SET "focused_left" 0.0;
468                                 target: "bg_img";
469                         }
470                         program {
471                                 name: "selected_right";
472                                 signal: "elm,state,selected_right";
473                                 source: "elm";
474                                 action: STATE_SET "focused_right" 0.0;
475                                 target: "bg_img";
476                         }
477                         program {
478                                 name: "pressed";
479                                 signal: "elm,state,pressed";
480                                 source: "elm";
481                                 action: STATE_SET "pressed" 0.0;
482                                 target: "bg_img";
483                         }
484                         program {
485                                 name: "pressed_left";
486                                 signal: "elm,state,pressed_left";
487                                 source: "elm";
488                                 action: STATE_SET "pressed_left" 0.0;
489                                 target: "bg_img";
490                         }
491                         program {
492                                 name: "pressed_right";
493                                 signal: "elm,state,pressed_right";
494                                 source: "elm";
495                                 action: STATE_SET "pressed_right" 0.0;
496                                 target: "bg_img";
497                         }
498                         program {
499                                 name: "toolbar_pressed";
500                                 signal: "elm,state,toolbar_pressed";
501                                 source: "elm";
502                                 action: STATE_SET "toolbar_pressed" 0.0;
503                                 target: "bg_img";
504                         }
505                         program {
506                                 name: "unselected";
507                                 signal: "elm,state,unselected";
508                                 source: "elm";
509                                 action: STATE_SET "default" 0.0;
510                                 target: "bg_img";
511                         }
512                         program {
513                                 name: "unpressed";
514                                 signal: "elm,state,unpressed";
515                                 source: "elm";
516                                 action: STATE_SET "default" 0.0;
517                                 target: "bg_img";
518                         }
519                         program {
520                                 name: "left_line_show";
521                                 signal: "elm,state,left_line_show";
522                                 source: "elm";
523                                 action: STATE_SET "show" 0.0;
524                                 target: "left_line";
525                         }
526                         program {
527                                 name: "left_line_hide";
528                                 signal: "elm,state,left_line_hide";
529                                 source: "elm";
530                                 action: STATE_SET "default" 0.0;
531                                 target: "left_line";
532                         }
533                         program {
534                                 name: "right_line_show";
535                                 signal: "elm,state,right_line_show";
536                                 source: "elm";
537                                 action: STATE_SET "show" 0.0;
538                                 target: "right_line";
539                         }
540                         program {
541                                 name: "right_line_hide";
542                                 signal: "elm,state,right_line_hide";
543                                 source: "elm";
544                                 action: STATE_SET "default" 0.0;
545                                 target: "right_line";
546                         }
547                         program {
548                                 name: "top_line_show";
549                                 signal: "elm,state,top_line_show";
550                                 source: "elm";
551                                 action: STATE_SET "show" 0.0;
552                                 target: "top_line";
553                         }
554                         program {
555                                 name: "top_line_hide";
556                                 signal: "elm,state,top_line_hide";
557                                 source: "elm";
558                                 action: STATE_SET "default" 0.0;
559                                 target: "top_line";
560                         }
561                         program {
562                                 name: "bottom_line_show";
563                                 signal: "elm,state,bottom_line_show";
564                                 source: "elm";
565                                 action: STATE_SET "show" 0.0;
566                                 target: "bottom_line";
567                         }
568                         program {
569                                 name: "bottom_line_hide";
570                                 signal: "elm,state,bottom_line_hide";
571                                 source: "elm";
572                                 action: STATE_SET "default" 0.0;
573                                 target: "bottom_line";
574                         }
575                 }
576         }
577
578         group{
579                 name: "elm/controlbar/item_bg_move/default";
580
581                 parts{
582                         part{
583                                 name: "selected_box";
584                                 type: IMAGE;
585                                 mouse_events: 0;
586                                 description{
587                                         state: "default" 0.0;
588                                         visible: 1;
589                                         image.normal: "00_winset_tabbar_focus.png";
590                                         image.border: 2 2 3 2;
591                                         fill.smooth: 0;
592                                 }
593                                 description{
594                                         state: "left" 0.0;
595                                         visible: 1;
596                                         image.normal: "00_winset_tabbar_focus_left.png";
597                                         image.border: 2 3 2 2;
598                                         fill.smooth: 0;
599                                 }
600                                 description{
601                                         state: "right" 0.0;
602                                         visible: 1;
603                                         image.normal: "00_winset_tabbar_focus_right.png";
604                                         image.border: 3 2 2 2;
605                                         fill.smooth: 0;
606                                 }
607                         }
608                 }
609
610                 programs{
611                         program{
612                                 name: "default";
613                                 signal: "elm,state,default";
614                                 source: "elm";
615                                 action: STATE_SET "default" 0.0;
616                                 target: "selected_box";
617                         }
618                         program{
619                                 name: "left";
620                                 signal: "elm,state,left";
621                                 source: "elm";
622                                 action: STATE_SET "left" 0.0;
623                                 target: "selected_box";
624                         }
625                         program{
626                                 name: "right";
627                                 signal: "elm,state,right";
628                                 source: "elm";
629                                 action: STATE_SET "right" 0.0;
630                                 target: "selected_box";
631                         }
632                 }
633         }
634
635     group{
636                 name: "elm/controlbar/base/top";
637                 inherit: "elm/controlbar/base/default";
638
639                 parts{
640                         part{
641                                 name: "elm.swallow.view";
642                                 description{
643                                         state: "default" 0.0;
644                                         rel1 {relative: 0.0 1.0; to: "bg_image";}
645                                         rel2 {relative: 1.0 1.0; to: "";}
646                                 }
647                         }
648                         part{
649                                 name: "bg_image";
650                                 description{
651                                         state: "large" 0.0;
652                                         align: 0.5 0.0;
653                                         rel1.relative: 0.0 0.0;
654                                         rel2.relative: 1.0 0.0;
655                                 }
656                                 description{
657                                         state: "small" 0.0;
658                                         align: 0.5 0.0;
659                                         rel1.relative: 0.0 0.0;
660                                         rel2.relative: 1.0 0.0;
661                                 }
662                         }
663                         part{
664                                 name: "elm.dragable.box";
665                                 source: "elm/controlbar/item_bg_move/top";
666                         }
667                 }
668         }
669
670         group{
671                 name: "elm/controlbar/background/top";
672                 inherit: "elm/controlbar/background/default";
673
674                 parts{
675                         part{
676                                 name: "bg_image";
677                                 description{
678                                         state: "tabbar" 0.0;
679                                         image.normal: "00_winset_control_tabbar_bg_top.png";
680                                 }
681                         }
682                 }
683         }
684
685         group{
686                 name: "elm/controlbar/item_bg/top";
687                 inherit: "elm/controlbar/item_bg/default";
688
689                 parts{
690                         part{
691                                 name: "bg_img";
692                                 description{
693                                         state: "pressed" 0.0;
694                                         image.normal: "00_winset_tabbar_press_top.png";
695                                         image.border: 2 2 2 3;
696                                 }
697                                 description{
698                                         state: "focused" 0.0;
699                                         image.normal: "00_winset_tabbar_focus.png";
700                                         image.border: 2 2 2 3;
701                                 }
702                         }
703                 }
704         }
705
706         group{
707                 name: "elm/controlbar/item_bg_move/top";
708                 inherit: "elm/controlbar/item_bg_move/default";
709
710                 parts{
711                         part{
712                                 name: "selected_box";
713                                 description{
714                                         state: "default" 0.0;
715                                         image.normal: "00_winset_tabbar_focus.png";
716                                         image.border: 2 2 2 3;
717                                 }
718                         }
719                 }
720         }
721
722         group{
723                 name: "elm/controlbar/base/naviframe";
724
725                 parts{
726                         part{
727                                 name: "bg_rect";
728                                 type: RECT;
729                                 scale: 1;
730                                 mouse_events:0;
731                                 description{
732                                         state: "default" 0.0;
733                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
734                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
735                                         color: 0 0 0 0;
736                                 }
737                         }
738                         part{
739                                 name: "bg_image";
740                                 type: SWALLOW;
741                                 scale: 1;
742                                 mouse_events:0;
743                                 description{
744                                         state: "default" 0.0;
745                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
746                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
747                                 }
748                                 description{
749                                         state: "large" 0.0;
750                                         min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
751                                         fixed: 0 1;
752                                         align: 0.5 1.0;
753                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
754                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
755                                 }
756                                 description{
757                                         state: "small" 0.0;
758                                         min: 0 CONTROLBAR_SMALL_HEIGHT_INC;
759                                         fixed: 0 1;
760                                         align: 0.5 1.0;
761                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
762                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
763                                 }
764                                 description{
765                                         state: "left" 0.0;
766                                         min: CONTROLBAR_WIDTH_INC 0;
767                                         fixed: 1 0;
768                                         align: 0.0 0.5;
769                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
770                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
771                                 }
772                                 description{
773                                         state: "right" 0.0;
774                                         min: CONTROLBAR_WIDTH_INC 0;
775                                         fixed: 1 0;
776                                         align: 1.0 0.5;
777                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
778                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
779                                 }
780                         }
781                         part {
782                                 name: "elm.dragable.box";
783                                 type: GROUP;
784                                 source: "elm/controlbar/item_bg_move/default";
785                                 mouse_events: 0;
786                                 scale: 1;
787                                 dragable {
788                                         x: 1 1 0;
789                                         y: 1 1 0;
790                                         confine: "bg_image";
791                                 }
792                                 description {
793                                         state: "default" 0.0;
794                                         rel1 {
795                                                 relative: 0.0 0.0;
796                                                 to: "bg_image";
797                                         }
798                                         rel2 {
799                                                 relative: 0.0 1.0;
800                                                 to: "bg_image";
801                                         }
802                                         color: 0 0 0 0;
803                                 }
804                         }
805                         part{
806                                 name: "elm.swallow.items";
807                                 type: SWALLOW;
808                                 scale: 1;
809                                 description{
810                                         state: "default" 0.0;
811                                         rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
812                                         rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
813                                 }
814                         }
815                 }
816                 programs{
817                         program{
818                                 name: "default";
819                                 signal: "elm,state,default";
820                                 source: "elm";
821                                 action: STATE_SET "default" 0.0;
822                                 target: "bg_image";
823                         }
824                         program{
825                                 name: "large";
826                                 signal: "elm,state,large";
827                                 source: "elm";
828                                 action: STATE_SET "large" 0.0;
829                                 target: "bg_image";
830                         }
831                         program{
832                                 name: "small";
833                                 signal: "elm,state,small";
834                                 source: "elm";
835                                 action: STATE_SET "small" 0.0;
836                                 target: "bg_image";
837                         }
838                         program{
839                                 name: "left";
840                                 signal: "elm,state,left";
841                                 source: "elm";
842                                 action: STATE_SET "left" 0.0;
843                                 target: "bg_image";
844                         }
845                         program{
846                                 name: "right";
847                                 signal: "elm,state,right";
848                                 source: "elm";
849                                 action: STATE_SET "right" 0.0;
850                                 target: "bg_image";
851                         }
852                 }
853         }
854
855         group{
856                 name: "elm/controlbar/background/naviframe";
857
858                 parts{
859                         part{
860                                 name: "bg_image";
861                                 type: RECT;
862                                 scale: 1;
863                                 mouse_events:0;
864                                 description{
865                                         state: "default" 0.0;
866                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
867                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
868                                         color: 255 255 255 0;
869                                 }
870                                 description{
871                                         state: "tabbar" 0.0;
872                                         inherit: "default" 0.0;
873                                 }
874                                 description{
875                                         state: "tabbar_left" 0.0;
876                                         inherit: "default" 0.0;
877                                 }
878                                 description{
879                                         state: "tabbar_right" 0.0;
880                                         inherit: "default" 0.0;
881                                 }
882                         }
883                 }
884                 programs {
885                         program {
886                                 name: "tabbar_bg";
887                                 signal: "elm,state,tabbar";
888                                 source: "elm";
889                                 action: STATE_SET "tabbar" 0.0;
890                                 target: "bg_image";
891                         }
892                         program {
893                                 name: "toolbar_bg";
894                                 signal: "elm,state,toolbar";
895                                 source: "elm";
896                                 action: STATE_SET "default" 0.0;
897                                 target: "bg_image";
898                         }
899                         program {
900                                 name: "tabbar_left_bg";
901                                 signal: "elm,state,tabbar_left";
902                                 source: "elm";
903                                 action: STATE_SET "tabbar_left" 0.0;
904                                 target: "bg_image";
905                         }
906                         program {
907                                 name: "tabbar_right_bg";
908                                 signal: "elm,state,tabbar_right";
909                                 source: "elm";
910                                 action: STATE_SET "tabbar_right" 0.0;
911                                 target: "bg_image";
912                         }
913                 }
914         }
915
916         group{
917                 name: "elm/controlbar/item_bg/naviframe";
918                 images{
919                         image: "00_winset_tabbar_press.png" COMP;
920                         image: "00_winset_tabbar_press_left.png" COMP;
921                         image: "00_winset_tabbar_press_right.png" COMP;
922                         image: "00_winset_toolbar_press.png" COMP;
923                         image: "00_winset_tabbar_focus.png" COMP;
924                         image: "00_winset_tabbar_focus_left.png" COMP;
925                         image: "00_winset_tabbar_focus_right.png" COMP;
926                 }
927
928                 parts{
929                         part{
930                                 name: "bg_rect";
931                                 type: RECT;
932                                 scale: 1;
933                                 mouse_events: 1;
934                                 description{
935                                         state: "default" 0.0;
936                                         min: 0 0;
937                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
938                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
939                                         color: 0 0 0 0;
940                                 }
941                         }
942                         part{
943                                 name: "bg_img";
944                                 type: IMAGE;
945                                 scale: 1;
946                                 mouse_events: 0;
947                                 description{
948                                         state: "default" 0.0;
949                                         visible: 0;
950                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
951                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
952                                 }
953                                 description{
954                                         state: "pressed" 0.0;
955                                         inherit: "default" 0.0;
956                                         image.normal: "00_winset_tabbar_press.png";
957                                         image.border: 2 2 3 2;
958                                         color: 255 255 255 50;
959                                         visible: 1;
960                                 }
961                                 description{
962                                         state: "pressed_left" 0.0;
963                                         inherit: "default" 0.0;
964                                         image.normal: "00_winset_tabbar_press_left.png";
965                                         image.border: 2 3 2 2;
966                                         color: 255 255 255 50;
967                                         visible: 1;
968                                 }
969                                 description{
970                                         state: "pressed_right" 0.0;
971                                         inherit: "default" 0.0;
972                                         image.normal: "00_winset_tabbar_press_right.png";
973                                         image.border: 3 2 2 2;
974                                         color: 255 255 255 50;
975                                         visible: 1;
976                                 }
977                                 description{
978                                         state: "focused" 0.0;
979                                         inherit: "default" 0.0;
980                                         image.normal: "00_winset_tabbar_focus.png";
981                                         image.border: 2 2 3 2;
982                                         visible: 1;
983                                 }
984                                 description{
985                                         state: "focused_left" 0.0;
986                                         inherit: "default" 0.0;
987                                         image.normal: "00_winset_tabbar_focus_left.png";
988                                         image.border: 2 3 2 2;
989                                         visible: 1;
990                                 }
991                                 description{
992                                         state: "focused_right" 0.0;
993                                         inherit: "default" 0.0;
994                                         image.normal: "00_winset_tabbar_focus_right.png";
995                                         image.border: 3 2 2 2;
996                                         visible: 1;
997                                 }
998                                 description{
999                                         state: "toolbar_pressed" 0.0;
1000                                         inherit: "default" 0.0;
1001                                         rel1 {relative: 0.0 0.07; offset: 3 0;}
1002                                         rel2 {relative: 1.0 0.93; offset: -3 0;}
1003                                         image.normal: "00_winset_toolbar_press.png";
1004                                         image.border: 3 3 3 3;
1005                                         visible: 1;
1006                                 }
1007                         }
1008                         part{
1009                                 name: "left_line";
1010                                 type: RECT;
1011                                 scale: 1;
1012                                 mouse_events: 0;
1013                                 description{
1014                                         state: "default" 0.0;
1015                                         visible: 0;
1016                                         rel1 {relative: 0.0 0.0; offset: 0 5;}
1017                                         rel2 {relative: 0.0 1.0; offset: 1 -3;}
1018                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
1019                                 }
1020                                 description{
1021                                         state: "show" 0.0;
1022                                         inherit: "default" 0.0;
1023                                         visible: 0;
1024                                 }
1025                         }
1026                         part{
1027                                 name: "right_line";
1028                                 type: RECT;
1029                                 scale: 1;
1030                                 mouse_events: 0;
1031                                 description{
1032                                         state: "default" 0.0;
1033                                         visible: 0;
1034                                         rel1 {relative: 1.0 0.0; offset: -1 5;}
1035                                         rel2 {relative: 1.0 1.0; offset: 0 -3;}
1036                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
1037                                 }
1038                                 description{
1039                                         state: "show" 0.0;
1040                                         inherit: "default" 0.0;
1041                                         visible: 0;
1042                                 }
1043                         }
1044                         part{
1045                                 name: "top_line";
1046                                 type: RECT;
1047                                 scale: 1;
1048                                 mouse_events: 0;
1049                                 description{
1050                                         state: "default" 0.0;
1051                                         visible: 0;
1052                                         rel1 {relative: 0.0 0.0; offset: 5 0;}
1053                                         rel2 {relative: 1.0 0.0; offset: -5 1;}
1054                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
1055                                 }
1056                                 description{
1057                                         state: "show" 0.0;
1058                                         inherit: "default" 0.0;
1059                                         visible: 0;
1060                                 }
1061                         }
1062                         part{
1063                                 name: "bottom_line";
1064                                 type: RECT;
1065                                 scale: 1;
1066                                 mouse_events: 0;
1067                                 description{
1068                                         state: "default" 0.0;
1069                                         visible: 0;
1070                                         rel1 {relative: 0.0 1.0; offset: 5 -1;}
1071                                         rel2 {relative: 1.0 1.0; offset: -5 0;}
1072                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
1073                                 }
1074                                 description{
1075                                         state: "show" 0.0;
1076                                         inherit: "default" 0.0;
1077                                         visible: 0;
1078                                 }
1079                         }
1080                         part{
1081                                 name: "item";
1082                                 type: SWALLOW;
1083                                 scale: 1;
1084                                 mouse_events: 1;
1085                                 description{
1086                                         state: "default" 0.0;
1087                                         rel1 {to: "bg_rect"; offset: 5 0;}
1088                                         rel2 {to: "bg_rect"; offset: -6 0;}
1089                                 }
1090                         }
1091                 }
1092                 programs {
1093                         program {
1094                                 name: "selected";
1095                                 signal: "elm,state,selected";
1096                                 source: "elm";
1097                                 action: STATE_SET "focused" 0.0;
1098                                 target: "bg_img";
1099                         }
1100                         program {
1101                                 name: "selected_left";
1102                                 signal: "elm,state,selected_left";
1103                                 source: "elm";
1104                                 action: STATE_SET "focused_left" 0.0;
1105                                 target: "bg_img";
1106                         }
1107                         program {
1108                                 name: "selected_right";
1109                                 signal: "elm,state,selected_right";
1110                                 source: "elm";
1111                                 action: STATE_SET "focused_right" 0.0;
1112                                 target: "bg_img";
1113                         }
1114                         program {
1115                                 name: "pressed";
1116                                 signal: "elm,state,pressed";
1117                                 source: "elm";
1118                                 action: STATE_SET "pressed" 0.0;
1119                                 target: "bg_img";
1120                         }
1121                         program {
1122                                 name: "pressed_left";
1123                                 signal: "elm,state,pressed_left";
1124                                 source: "elm";
1125                                 action: STATE_SET "pressed_left" 0.0;
1126                                 target: "bg_img";
1127                         }
1128                         program {
1129                                 name: "pressed_right";
1130                                 signal: "elm,state,pressed_right";
1131                                 source: "elm";
1132                                 action: STATE_SET "pressed_right" 0.0;
1133                                 target: "bg_img";
1134                         }
1135                         program {
1136                                 name: "toolbar_pressed";
1137                                 signal: "elm,state,toolbar_pressed";
1138                                 source: "elm";
1139                                 action: STATE_SET "toolbar_pressed" 0.0;
1140                                 target: "bg_img";
1141                         }
1142                         program {
1143                                 name: "unselected";
1144                                 signal: "elm,state,unselected";
1145                                 source: "elm";
1146                                 action: STATE_SET "default" 0.0;
1147                                 target: "bg_img";
1148                         }
1149                         program {
1150                                 name: "unpressed";
1151                                 signal: "elm,state,unpressed";
1152                                 source: "elm";
1153                                 action: STATE_SET "default" 0.0;
1154                                 target: "bg_img";
1155                         }
1156                         program {
1157                                 name: "left_line_show";
1158                                 signal: "elm,state,left_line_show";
1159                                 source: "elm";
1160                                 action: STATE_SET "show" 0.0;
1161                                 target: "left_line";
1162                         }
1163                         program {
1164                                 name: "left_line_hide";
1165                                 signal: "elm,state,left_line_hide";
1166                                 source: "elm";
1167                                 action: STATE_SET "default" 0.0;
1168                                 target: "left_line";
1169                         }
1170                         program {
1171                                 name: "right_line_show";
1172                                 signal: "elm,state,right_line_show";
1173                                 source: "elm";
1174                                 action: STATE_SET "show" 0.0;
1175                                 target: "right_line";
1176                         }
1177                         program {
1178                                 name: "right_line_hide";
1179                                 signal: "elm,state,right_line_hide";
1180                                 source: "elm";
1181                                 action: STATE_SET "default" 0.0;
1182                                 target: "right_line";
1183                         }
1184                         program {
1185                                 name: "top_line_show";
1186                                 signal: "elm,state,top_line_show";
1187                                 source: "elm";
1188                                 action: STATE_SET "show" 0.0;
1189                                 target: "top_line";
1190                         }
1191                         program {
1192                                 name: "top_line_hide";
1193                                 signal: "elm,state,top_line_hide";
1194                                 source: "elm";
1195                                 action: STATE_SET "default" 0.0;
1196                                 target: "top_line";
1197                         }
1198                         program {
1199                                 name: "bottom_line_show";
1200                                 signal: "elm,state,bottom_line_show";
1201                                 source: "elm";
1202                                 action: STATE_SET "show" 0.0;
1203                                 target: "bottom_line";
1204                         }
1205                         program {
1206                                 name: "bottom_line_hide";
1207                                 signal: "elm,state,bottom_line_hide";
1208                                 source: "elm";
1209                                 action: STATE_SET "default" 0.0;
1210                                 target: "bottom_line";
1211                         }
1212                 }
1213         }
1214