[SLP master Merge] 2011/07/19 10:40
[profile/ivi/efl-theme-tizen.git] / themes / groups / controlbar.edc
1 /*
2  *  nbeat-theme
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, IlKook Yun <ilkook.yun@samsung.com>, CinWoo Kim <cinoo.kim@samsung.com> JiYeon Park <jy0703.park@samsung.com>
7  * 
8  * This library is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by the
10  * Free Software Foundation; either version 2.1 of the License, or (at your option)
11  * any later version.
12  * 
13  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; if not, write to the Free Software Foundation, Inc., 51
20  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23
24
25 ////////////////////////////////////////////////////////////////////////////////////////
26 // controlbar icon
27 ///////////////////////////////////////////////////////////////////////////////////////
28
29         group { name: "elm/icon/controlbar_albums/default"; min: 40 40;
30                 images.image: "00_winset_tab_icon_albums.png" COMP;
31                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
32                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_albums.png"; } } } }
33
34         group { name: "elm/icon/controlbar_artists/default"; min: 40 40;
35                 images.image: "00_winset_tab_icon_artists.png" COMP;
36                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
37                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_artists.png"; } } } }
38
39         group { name: "elm/icon/controlbar_songs/default"; min: 40 40;
40                 images.image: "00_winset_tab_icon_songs.png" COMP;
41                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
42                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_songs.png"; } } } }
43
44         group { name: "elm/icon/controlbar_more/default"; min: 40 40;
45                 images.image: "00_winset_tab_icon_more.png" COMP;
46                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
47                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_more.png"; } } } }
48
49         group { name: "elm/icon/controlbar_playlist/default"; min: 40 40;
50                 images.image: "00_winset_tab_icon_playlist.png" COMP;
51                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
52                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_playlist.png"; } } } }
53
54         group { name: "elm/icon/controlbar_contacts/default"; min: 40 40;
55                 images.image: "00_winset_tab_icon_contacts.png" COMP;
56                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
57                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_contacts.png"; } } } }
58
59         group { name: "elm/icon/controlbar_dialer/default"; min: 40 40;
60                 images.image: "00_winset_tab_icon_dialer.png" COMP;
61                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
62                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_dialer.png"; } } } }
63
64         group { name: "elm/icon/controlbar_favorites/default"; min: 40 40;
65                 images.image: "00_winset_tab_icon_favorites.png" COMP;
66                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
67                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_favorites.png"; } } } }
68
69         group { name: "elm/icon/controlbar_logs/default"; min: 40 40;
70                 images.image: "00_winset_tab_icon_logs.png" COMP;
71                 parts { part { name: "base"; description { state: "default" 0.0; aspect: 1.0 1.0;
72                         aspect_preference: BOTH; image.normal: "00_winset_tab_icon_logs.png"; } } } }
73
74 ////////////////////////////////////////////////////////////////////////////////////////
75 // controlbar
76 ///////////////////////////////////////////////////////////////////////////////////////
77
78         group{
79                 name: "elm/controlbar/base/default";
80
81                 parts{
82                         part{
83                                 name: "bg_rect";
84                                 type: RECT;
85                                 scale: 1;
86                                 mouse_events:0;
87                                 description{
88                                         state: "default" 0.0;
89                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
90                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
91                                         color: 0 0 0 0;
92                                 }
93                         }
94                         part{
95                                 name: "bg_image";
96                                 type: SWALLOW;
97                                 scale: 1;
98                                 mouse_events:0;
99                                 description{
100                                         state: "default" 0.0;
101                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
102                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
103                                 }
104                                 description{
105                                         state: "large" 0.0;
106                                         min: 0 CONTROLBAR_LARGE_H;
107                                         fixed: 0 1;
108                                         align: 0.5 1.0;
109                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
110                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
111                                 }
112                                 description{
113                                         state: "small" 0.0;
114                                         min: 0 CONTROLBAR_SMALL_H;
115                                         fixed: 0 1;
116                                         align: 0.5 1.0;
117                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
118                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
119                                 }
120                                 description{
121                                         state: "left" 0.0;
122                                         min: CONTROLBAR_W 0;
123                                         fixed: 1 0;
124                                         align: 0.0 0.5;
125                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
126                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
127                                 }
128                                 description{
129                                         state: "right" 0.0;
130                                         min: CONTROLBAR_W 0;
131                                         fixed: 1 0;
132                                         align: 1.0 0.5;
133                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
134                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
135                                 }
136                         }
137                         part{
138                                 name: "elm.swallow.items";
139                                 type: SWALLOW;
140                                 scale: 1;
141                                 description{
142                                         state: "default" 0.0;
143                                         rel1 {relative: 0.0 0.0; to: "bg_image";}
144                                         rel2 {relative: 1.0 1.0; to: "bg_image";}
145                                 }
146                         }
147                 }
148                 programs{
149                         program{
150                                 name: "default";
151                                 signal: "elm,state,default";
152                                 source: "elm";
153                                 action: STATE_SET "default" 0.0;
154                                 target: "bg_image";
155                         }
156                         program{
157                                 name: "large";
158                                 signal: "elm,state,large";
159                                 source: "elm";
160                                 action: STATE_SET "large" 0.0;
161                                 target: "bg_image";
162                         }
163                         program{
164                                 name: "small";
165                                 signal: "elm,state,small";
166                                 source: "elm";
167                                 action: STATE_SET "small" 0.0;
168                                 target: "bg_image";
169                         }
170                         program{
171                                 name: "left";
172                                 signal: "elm,state,left";
173                                 source: "elm";
174                                 action: STATE_SET "left" 0.0;
175                                 target: "bg_image";
176                         }
177                         program{
178                                 name: "right";
179                                 signal: "elm,state,right";
180                                 source: "elm";
181                                 action: STATE_SET "right" 0.0;
182                                 target: "bg_image";
183                         }
184                 }
185         }
186
187         group{
188                 name: "elm/controlbar/background/default";
189
190                 images{
191                         image: "00_winset_control_toolbar_bg.png" COMP;
192                         image: "00_winset_control_tabbar_bg.png" COMP;
193                         image: "00_winset_control_tabbar_left_bg.png" COMP;
194                         image: "00_winset_control_tabbar_right_bg.png" COMP;
195                 }
196
197                 parts{
198                         part{
199                                 name: "bg_image";
200                                 type: IMAGE;
201                                 scale: 1;
202                                 mouse_events:0;
203                                 description{
204                                         state: "default" 0.0;
205                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
206                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
207                                         image.normal: "00_winset_control_toolbar_bg.png";
208                                         color: 255 255 255 255;
209                                 }
210                                 description{
211                                         state: "tabbar" 0.0;
212                                         inherit: "default" 0.0;
213                                         image.normal: "00_winset_control_tabbar_bg.png";
214                                 }
215                                 description{
216                                         state: "tabbar_left" 0.0;
217                                         inherit: "default" 0.0;
218                                         image.normal: "00_winset_control_tabbar_left_bg.png";
219                                 }
220                                 description{
221                                         state: "tabbar_right" 0.0;
222                                         inherit: "default" 0.0;
223                                         image.normal: "00_winset_control_tabbar_right_bg.png";
224                                 }
225                         }
226                         programs {
227                                 program {
228                                         name: "tabbar_bg";
229                                         signal: "elm,state,tabbar";
230                                         source: "elm";
231                                         action: STATE_SET "tabbar" 0.0;
232                                         target: "bg_image";
233                                 }
234                                 program {
235                                         name: "toolbar_bg";
236                                         signal: "elm,state,toolbar";
237                                         source: "elm";
238                                         action: STATE_SET "default" 0.0;
239                                         target: "bg_image";
240                                 }
241                                 program {
242                                         name: "tabbar_left_bg";
243                                         signal: "elm,state,tabbar_left";
244                                         source: "elm";
245                                         action: STATE_SET "tabbar_left" 0.0;
246                                         target: "bg_image";
247                                 }
248                                 program {
249                                         name: "tabbar_right_bg";
250                                         signal: "elm,state,tabbar_right";
251                                         source: "elm";
252                                         action: STATE_SET "tabbar_right" 0.0;
253                                         target: "bg_image";
254                                 }
255                         }
256                 }
257         }
258
259         group{
260                 name: "elm/controlbar/view/default";
261
262                 parts{
263                         part{
264                                 name: "bg_rect";
265                                 type: RECT;
266                                 mouse_events:1;
267                                 description{
268                                         state: "default" 0.0;
269                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
270                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
271                                         color: 0 0 0 0;
272                                 }
273                         }
274                         part{
275                                 name: "elm.swallow.view";
276                                 type: SWALLOW;
277                                 description{
278                                         state: "default" 0.0;
279                                         rel1 {relative: 0.0 0.0; to: "bg_rect";}
280                                         rel2 {relative: 1.0 1.0; to: "bg_rect";}
281                                 }
282                         }
283                 }
284         }
285
286         group{
287                 name: "elm/controlbar/item_bg/default";
288                 images{
289                         image: "00_winset_tabbar_press.png" COMP;
290                         image: "00_winset_tabbar_press_left.png" COMP;
291                         image: "00_winset_tabbar_press_right.png" COMP;
292                         image: "00_winset_toolbar_press.png" COMP;
293                         image: "00_winset_tabbar_focus.png" COMP;
294                         image: "00_winset_tabbar_focus_left.png" COMP;
295                         image: "00_winset_tabbar_focus_right.png" COMP;
296                 }
297
298                 parts{
299                         part{
300                                 name: "bg_rect";
301                                 type: RECT;
302                                 scale: 1;
303                                 mouse_events: 1;
304                                 description{
305                                         state: "default" 0.0;
306                                         min: 0 CONTROLBAR_SMALL_H;
307                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
308                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
309                                         color: 0 0 0 0;
310                                 }
311                         }
312                         part{
313                                 name: "bg_img";
314                                 type: IMAGE;
315                                 scale: 1;
316                                 mouse_events: 0;
317                                 description{
318                                         state: "default" 0.0;
319                                         visible: 0;
320                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
321                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
322                                 }
323                                 description{
324                                         state: "pressed" 0.0;
325                                         inherit: "default" 0.0;
326                                         image.normal: "00_winset_tabbar_press.png";
327                                         image.border: 2 2 3 2;
328                                         color: 255 255 255 50;
329                                         visible: 1;
330                                 }
331                                 description{
332                                         state: "pressed_left" 0.0;
333                                         inherit: "default" 0.0;
334                                         image.normal: "00_winset_tabbar_press_left.png";
335                                         image.border: 2 3 2 2;
336                                         color: 255 255 255 50;
337                                         visible: 1;
338                                 }
339                                 description{
340                                         state: "pressed_right" 0.0;
341                                         inherit: "default" 0.0;
342                                         image.normal: "00_winset_tabbar_press_right.png";
343                                         image.border: 3 2 2 2;
344                                         color: 255 255 255 50;
345                                         visible: 1;
346                                 }
347                                 description{
348                                         state: "focused" 0.0;
349                                         inherit: "default" 0.0;
350                                         image.normal: "00_winset_tabbar_focus.png";
351                                         image.border: 2 2 3 2;
352                                         visible: 1;
353                                 }
354                                 description{
355                                         state: "focused_left" 0.0;
356                                         inherit: "default" 0.0;
357                                         image.normal: "00_winset_tabbar_focus_left.png";
358                                         image.border: 2 3 2 2;
359                                         visible: 1;
360                                 }
361                                 description{
362                                         state: "focused_right" 0.0;
363                                         inherit: "default" 0.0;
364                                         image.normal: "00_winset_tabbar_focus_right.png";
365                                         image.border: 3 2 2 2;
366                                         visible: 1;
367                                 }
368                                 description{
369                                         state: "toolbar_pressed" 0.0;
370                                         inherit: "default" 0.0;
371                                         rel1 {relative: 0.0 0.07; offset: 3 0;}
372                                         rel2 {relative: 1.0 0.93; offset: -3 0;}
373                                         image.normal: "00_winset_toolbar_press.png";
374                                         image.border: 2 2 2 2;
375                                         visible: 1;
376                                 }
377                         }
378                         part{
379                                 name: "left_line";
380                                 type: RECT;
381                                 scale: 1;
382                                 mouse_events: 0;
383                                 description{
384                                         state: "default" 0.0;
385                                         visible: 0;
386                                         rel1 {relative: 0.0 0.0; offset: 0 5;}
387                                         rel2 {relative: 0.0 1.0; offset: 1 -3;}
388                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
389                                 }
390                                 description{
391                                         state: "show" 0.0;
392                                         inherit: "default" 0.0;
393                                         visible: 1;
394                                 }
395                         }
396                         part{
397                                 name: "right_line";
398                                 type: RECT;
399                                 scale: 1;
400                                 mouse_events: 0;
401                                 description{
402                                         state: "default" 0.0;
403                                         visible: 0;
404                                         rel1 {relative: 1.0 0.0; offset: -1 5;}
405                                         rel2 {relative: 1.0 1.0; offset: 0 -3;}
406                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
407                                 }
408                                 description{
409                                         state: "show" 0.0;
410                                         inherit: "default" 0.0;
411                                         visible: 1;
412                                 }
413                         }
414                         part{
415                                 name: "top_line";
416                                 type: RECT;
417                                 scale: 1;
418                                 mouse_events: 0;
419                                 description{
420                                         state: "default" 0.0;
421                                         visible: 0;
422                                         rel1 {relative: 0.0 0.0; offset: 5 0;}
423                                         rel2 {relative: 1.0 0.0; offset: -5 1;}
424                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
425                                 }
426                                 description{
427                                         state: "show" 0.0;
428                                         inherit: "default" 0.0;
429                                         visible: 1;
430                                 }
431                         }
432                         part{
433                                 name: "bottom_line";
434                                 type: RECT;
435                                 scale: 1;
436                                 mouse_events: 0;
437                                 description{
438                                         state: "default" 0.0;
439                                         visible: 0;
440                                         rel1 {relative: 0.0 1.0; offset: 5 -1;}
441                                         rel2 {relative: 1.0 1.0; offset: -5 0;}
442                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
443                                 }
444                                 description{
445                                         state: "show" 0.0;
446                                         inherit: "default" 0.0;
447                                         visible: 1;
448                                 }
449                         }
450                         part{
451                                 name: "item";
452                                 type: SWALLOW;
453                                 scale: 1;
454                                 mouse_events: 1;
455                                 description{
456                                         state: "default" 0.0;
457                                         rel1 {to: "bg_rect";}
458                                         rel2 {to: "bg_rect";}
459                                 }
460                         }
461                 }
462                 programs {
463                         program {
464                                 name: "selected";
465                                 signal: "elm,state,selected";
466                                 source: "elm";
467                                 action: STATE_SET "focused" 0.0;
468                                 target: "bg_img";
469                         }
470                         program {
471                                 name: "selected_left";
472                                 signal: "elm,state,selected_left";
473                                 source: "elm";
474                                 action: STATE_SET "focused_left" 0.0;
475                                 target: "bg_img";
476                         }
477                         program {
478                                 name: "selected_right";
479                                 signal: "elm,state,selected_right";
480                                 source: "elm";
481                                 action: STATE_SET "focused_right" 0.0;
482                                 target: "bg_img";
483                         }
484                         program {
485                                 name: "pressed";
486                                 signal: "elm,state,pressed";
487                                 source: "elm";
488                                 action: STATE_SET "pressed" 0.0;
489                                 target: "bg_img";
490                         }
491                         program {
492                                 name: "pressed_left";
493                                 signal: "elm,state,pressed_left";
494                                 source: "elm";
495                                 action: STATE_SET "pressed_left" 0.0;
496                                 target: "bg_img";
497                         }
498                         program {
499                                 name: "pressed_right";
500                                 signal: "elm,state,pressed_right";
501                                 source: "elm";
502                                 action: STATE_SET "pressed_right" 0.0;
503                                 target: "bg_img";
504                         }
505                         program {
506                                 name: "toolbar_pressed";
507                                 signal: "elm,state,toolbar_pressed";
508                                 source: "elm";
509                                 action: STATE_SET "toolbar_pressed" 0.0;
510                                 target: "bg_img";
511                         }
512                         program {
513                                 name: "unselected";
514                                 signal: "elm,state,unselected";
515                                 source: "elm";
516                                 action: STATE_SET "default" 0.0;
517                                 target: "bg_img";
518                         }
519                         program {
520                                 name: "unpressed";
521                                 signal: "elm,state,unpressed";
522                                 source: "elm";
523                                 action: STATE_SET "default" 0.0;
524                                 target: "bg_img";
525                         }
526                         program {
527                                 name: "left_line_show";
528                                 signal: "elm,state,left_line_show";
529                                 source: "elm";
530                                 action: STATE_SET "show" 0.0;
531                                 target: "left_line";
532                         }
533                         program {
534                                 name: "left_line_hide";
535                                 signal: "elm,state,left_line_hide";
536                                 source: "elm";
537                                 action: STATE_SET "default" 0.0;
538                                 target: "left_line";
539                         }
540                         program {
541                                 name: "right_line_show";
542                                 signal: "elm,state,right_line_show";
543                                 source: "elm";
544                                 action: STATE_SET "show" 0.0;
545                                 target: "right_line";
546                         }
547                         program {
548                                 name: "right_line_hide";
549                                 signal: "elm,state,right_line_hide";
550                                 source: "elm";
551                                 action: STATE_SET "default" 0.0;
552                                 target: "right_line";
553                         }
554                         program {
555                                 name: "top_line_show";
556                                 signal: "elm,state,top_line_show";
557                                 source: "elm";
558                                 action: STATE_SET "show" 0.0;
559                                 target: "top_line";
560                         }
561                         program {
562                                 name: "top_line_hide";
563                                 signal: "elm,state,top_line_hide";
564                                 source: "elm";
565                                 action: STATE_SET "default" 0.0;
566                                 target: "top_line";
567                         }
568                         program {
569                                 name: "bottom_line_show";
570                                 signal: "elm,state,bottom_line_show";
571                                 source: "elm";
572                                 action: STATE_SET "show" 0.0;
573                                 target: "bottom_line";
574                         }
575                         program {
576                                 name: "bottom_line_hide";
577                                 signal: "elm,state,bottom_line_hide";
578                                 source: "elm";
579                                 action: STATE_SET "default" 0.0;
580                                 target: "bottom_line";
581                         }
582                 }
583         }
584
585         group{
586                 name: "elm/controlbar/item_bg_move/default";
587                 images{
588                         image: "00_winset_tabbar_focus.png" COMP;
589                         image: "00_winset_tabbar_focus_left.png" COMP;
590                         image: "00_winset_tabbar_focus_right.png" COMP;
591                 }
592
593                 parts{
594                         part{
595                                 name: "selected_box";
596                                 type: IMAGE;
597                                 mouse_events: 0;
598                                 description{
599                                         state: "default" 0.0;
600                                         visible: 1;
601                                         image.normal: "00_winset_tabbar_focus.png";
602                                         image.border: 2 2 3 2;
603                                 }
604                                 description{
605                                         state: "left" 0.0;
606                                         visible: 1;
607                                         image.normal: "00_winset_tabbar_focus_left.png";
608                                         image.border: 2 3 2 2;
609                                 }
610                                 description{
611                                         state: "right" 0.0;
612                                         visible: 1;
613                                         image.normal: "00_winset_tabbar_focus_right.png";
614                                         image.border: 3 2 2 2;
615                                 }
616                         }
617                 }
618
619                 programs{
620                         program{
621                                 name: "default";
622                                 signal: "elm,state,default";
623                                 source: "elm";
624                                 action: STATE_SET "default" 0.0;
625                                 target: "selected_box";
626                         }
627                         program{
628                                 name: "left";
629                                 signal: "elm,state,left";
630                                 source: "elm";
631                                 action: STATE_SET "left" 0.0;
632                                 target: "selected_box";
633                         }
634                         program{
635                                 name: "right";
636                                 signal: "elm,state,right";
637                                 source: "elm";
638                                 action: STATE_SET "right" 0.0;
639                                 target: "selected_box";
640                         }
641                 }
642         }
643
644         group{
645                 name: "elm/controlbar/base/navigationbar";
646
647                 parts{
648                         part{
649                                 name: "bg_rect";
650                                 type: RECT;
651                                 scale: 1;
652                                 mouse_events:0;
653                                 description{
654                                         state: "default" 0.0;
655                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
656                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
657                                         color: 0 0 0 0;
658                                 }
659                         }
660                         part{
661                                 name: "bg_image";
662                                 type: SWALLOW;
663                                 scale: 1;
664                                 mouse_events:0;
665                                 description{
666                                         state: "default" 0.0;
667                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
668                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
669                                 }
670                                 description{
671                                         state: "large" 0.0;
672                                         min: 0 CONTROLBAR_LARGE_H;
673                                         fixed: 0 1;
674                                         align: 0.5 1.0;
675                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
676                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
677                                 }
678                                 description{
679                                         state: "small" 0.0;
680                                         min: 0 CONTROLBAR_SMALL_H;
681                                         fixed: 0 1;
682                                         align: 0.5 1.0;
683                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
684                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
685                                 }
686                                 description{
687                                         state: "left" 0.0;
688                                         min: CONTROLBAR_W 0;
689                                         fixed: 1 0;
690                                         align: 0.0 0.5;
691                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
692                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
693                                 }
694                                 description{
695                                         state: "right" 0.0;
696                                         min: CONTROLBAR_W 0;
697                                         fixed: 1 0;
698                                         align: 1.0 0.5;
699                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
700                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
701                                 }
702                         }
703                         part{
704                                 name: "elm.swallow.items";
705                                 type: SWALLOW;
706                                 scale: 1;
707                                 description{
708                                         state: "default" 0.0;
709                                         rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
710                                         rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
711                                 }
712                         }
713                 }
714                 programs{
715                         program{
716                                 name: "default";
717                                 signal: "elm,state,default";
718                                 source: "elm";
719                                 action: STATE_SET "default" 0.0;
720                                 target: "bg_image";
721                         }
722                         program{
723                                 name: "large";
724                                 signal: "elm,state,large";
725                                 source: "elm";
726                                 action: STATE_SET "large" 0.0;
727                                 target: "bg_image";
728                         }
729                         program{
730                                 name: "small";
731                                 signal: "elm,state,small";
732                                 source: "elm";
733                                 action: STATE_SET "small" 0.0;
734                                 target: "bg_image";
735                         }
736                         program{
737                                 name: "left";
738                                 signal: "elm,state,left";
739                                 source: "elm";
740                                 action: STATE_SET "left" 0.0;
741                                 target: "bg_image";
742                         }
743                         program{
744                                 name: "right";
745                                 signal: "elm,state,right";
746                                 source: "elm";
747                                 action: STATE_SET "right" 0.0;
748                                 target: "bg_image";
749                         }
750                 }
751         }
752
753         group{
754                 name: "elm/controlbar/background/navigationbar";
755
756                 parts{
757                         part{
758                                 name: "bg_image";
759                                 type: RECT;
760                                 scale: 1;
761                                 mouse_events:0;
762                                 description{
763                                         state: "default" 0.0;
764                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
765                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
766                                         color: 255 255 255 0;
767                                 }
768                                 description{
769                                         state: "tabbar" 0.0;
770                                         inherit: "default" 0.0;
771                                 }
772                                 description{
773                                         state: "tabbar_left" 0.0;
774                                         inherit: "default" 0.0;
775                                 }
776                                 description{
777                                         state: "tabbar_right" 0.0;
778                                         inherit: "default" 0.0;
779                                 }
780                         }
781                 }
782                 programs {
783                         program {
784                                 name: "tabbar_bg";
785                                 signal: "elm,state,tabbar";
786                                 source: "elm";
787                                 action: STATE_SET "tabbar" 0.0;
788                                 target: "bg_image";
789                         }
790                         program {
791                                 name: "toolbar_bg";
792                                 signal: "elm,state,toolbar";
793                                 source: "elm";
794                                 action: STATE_SET "default" 0.0;
795                                 target: "bg_image";
796                         }
797                         program {
798                                 name: "tabbar_left_bg";
799                                 signal: "elm,state,tabbar_left";
800                                 source: "elm";
801                                 action: STATE_SET "tabbar_left" 0.0;
802                                 target: "bg_image";
803                         }
804                         program {
805                                 name: "tabbar_right_bg";
806                                 signal: "elm,state,tabbar_right";
807                                 source: "elm";
808                                 action: STATE_SET "tabbar_right" 0.0;
809                                 target: "bg_image";
810                         }
811                 }
812         }
813
814         group{
815                 name: "elm/controlbar/item_bg/navigationbar";
816                 images{
817                         image: "00_winset_tabbar_press.png" COMP;
818                         image: "00_winset_tabbar_press_left.png" COMP;
819                         image: "00_winset_tabbar_press_right.png" COMP;
820                         image: "00_winset_toolbar_press.png" COMP;
821                         image: "00_winset_tabbar_focus.png" COMP;
822                         image: "00_winset_tabbar_focus_left.png" COMP;
823                         image: "00_winset_tabbar_focus_right.png" COMP;
824                 }
825
826                 parts{
827                         part{
828                                 name: "bg_rect";
829                                 type: RECT;
830                                 scale: 1;
831                                 mouse_events: 1;
832                                 description{
833                                         state: "default" 0.0;
834                                         min: 0 CONTROLBAR_SMALL_H;
835                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
836                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
837                                         color: 0 0 0 0;
838                                 }
839                         }
840                         part{
841                                 name: "bg_img";
842                                 type: IMAGE;
843                                 scale: 1;
844                                 mouse_events: 0;
845                                 description{
846                                         state: "default" 0.0;
847                                         visible: 0;
848                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
849                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
850                                 }
851                                 description{
852                                         state: "pressed" 0.0;
853                                         inherit: "default" 0.0;
854                                         image.normal: "00_winset_tabbar_press.png";
855                                         image.border: 2 2 3 2;
856                                         color: 255 255 255 50;
857                                         visible: 1;
858                                 }
859                                 description{
860                                         state: "pressed_left" 0.0;
861                                         inherit: "default" 0.0;
862                                         image.normal: "00_winset_tabbar_press_left.png";
863                                         image.border: 2 3 2 2;
864                                         color: 255 255 255 50;
865                                         visible: 1;
866                                 }
867                                 description{
868                                         state: "pressed_right" 0.0;
869                                         inherit: "default" 0.0;
870                                         image.normal: "00_winset_tabbar_press_right.png";
871                                         image.border: 3 2 2 2;
872                                         color: 255 255 255 50;
873                                         visible: 1;
874                                 }
875                                 description{
876                                         state: "focused" 0.0;
877                                         inherit: "default" 0.0;
878                                         image.normal: "00_winset_tabbar_focus.png";
879                                         image.border: 2 2 3 2;
880                                         visible: 1;
881                                 }
882                                 description{
883                                         state: "focused_left" 0.0;
884                                         inherit: "default" 0.0;
885                                         image.normal: "00_winset_tabbar_focus_left.png";
886                                         image.border: 2 3 2 2;
887                                         visible: 1;
888                                 }
889                                 description{
890                                         state: "focused_right" 0.0;
891                                         inherit: "default" 0.0;
892                                         image.normal: "00_winset_tabbar_focus_right.png";
893                                         image.border: 3 2 2 2;
894                                         visible: 1;
895                                 }
896                                 description{
897                                         state: "toolbar_pressed" 0.0;
898                                         inherit: "default" 0.0;
899                                         rel1 {relative: 0.0 0.07; offset: 3 0;}
900                                         rel2 {relative: 1.0 0.93; offset: -3 0;}
901                                         image.normal: "00_winset_toolbar_press.png";
902                                         image.border: 2 2 2 2;
903                                         visible: 1;
904                                 }
905                         }
906                         part{
907                                 name: "left_line";
908                                 type: RECT;
909                                 scale: 1;
910                                 mouse_events: 0;
911                                 description{
912                                         state: "default" 0.0;
913                                         visible: 0;
914                                         rel1 {relative: 0.0 0.0; offset: 0 5;}
915                                         rel2 {relative: 0.0 1.0; offset: 1 -3;}
916                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
917                                 }
918                                 description{
919                                         state: "show" 0.0;
920                                         inherit: "default" 0.0;
921                                         visible: 1;
922                                 }
923                         }
924                         part{
925                                 name: "right_line";
926                                 type: RECT;
927                                 scale: 1;
928                                 mouse_events: 0;
929                                 description{
930                                         state: "default" 0.0;
931                                         visible: 0;
932                                         rel1 {relative: 1.0 0.0; offset: -1 5;}
933                                         rel2 {relative: 1.0 1.0; offset: 0 -3;}
934                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
935                                 }
936                                 description{
937                                         state: "show" 0.0;
938                                         inherit: "default" 0.0;
939                                         visible: 1;
940                                 }
941                         }
942                         part{
943                                 name: "top_line";
944                                 type: RECT;
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: 5 0;}
951                                         rel2 {relative: 1.0 0.0; offset: -5 1;}
952                                         color: CONTROLBAR_SEPARATEBAR_BRIGHT_COLOR_INC;
953                                 }
954                                 description{
955                                         state: "show" 0.0;
956                                         inherit: "default" 0.0;
957                                         visible: 1;
958                                 }
959                         }
960                         part{
961                                 name: "bottom_line";
962                                 type: RECT;
963                                 scale: 1;
964                                 mouse_events: 0;
965                                 description{
966                                         state: "default" 0.0;
967                                         visible: 0;
968                                         rel1 {relative: 0.0 1.0; offset: 5 -1;}
969                                         rel2 {relative: 1.0 1.0; offset: -5 0;}
970                                         color: CONTROLBAR_SEPARATEBAR_DARK_COLOR_INC;
971                                 }
972                                 description{
973                                         state: "show" 0.0;
974                                         inherit: "default" 0.0;
975                                         visible: 1;
976                                 }
977                         }
978                         part{
979                                 name: "item";
980                                 type: SWALLOW;
981                                 scale: 1;
982                                 mouse_events: 1;
983                                 description{
984                                         state: "default" 0.0;
985                                         rel1 {to: "bg_rect"; offset: 5 10;}
986                                         rel2 {to: "bg_rect"; offset: -6 -10;}
987                                 }
988                         }
989                 }
990                 programs {
991                         program {
992                                 name: "selected";
993                                 signal: "elm,state,selected";
994                                 source: "elm";
995                                 action: STATE_SET "focused" 0.0;
996                                 target: "bg_img";
997                         }
998                         program {
999                                 name: "selected_left";
1000                                 signal: "elm,state,selected_left";
1001                                 source: "elm";
1002                                 action: STATE_SET "focused_left" 0.0;
1003                                 target: "bg_img";
1004                         }
1005                         program {
1006                                 name: "selected_right";
1007                                 signal: "elm,state,selected_right";
1008                                 source: "elm";
1009                                 action: STATE_SET "focused_right" 0.0;
1010                                 target: "bg_img";
1011                         }
1012                         program {
1013                                 name: "pressed";
1014                                 signal: "elm,state,pressed";
1015                                 source: "elm";
1016                                 action: STATE_SET "pressed" 0.0;
1017                                 target: "bg_img";
1018                         }
1019                         program {
1020                                 name: "pressed_left";
1021                                 signal: "elm,state,pressed_left";
1022                                 source: "elm";
1023                                 action: STATE_SET "pressed_left" 0.0;
1024                                 target: "bg_img";
1025                         }
1026                         program {
1027                                 name: "pressed_right";
1028                                 signal: "elm,state,pressed_right";
1029                                 source: "elm";
1030                                 action: STATE_SET "pressed_right" 0.0;
1031                                 target: "bg_img";
1032                         }
1033                         program {
1034                                 name: "toolbar_pressed";
1035                                 signal: "elm,state,toolbar_pressed";
1036                                 source: "elm";
1037                                 action: STATE_SET "toolbar_pressed" 0.0;
1038                                 target: "bg_img";
1039                         }
1040                         program {
1041                                 name: "unselected";
1042                                 signal: "elm,state,unselected";
1043                                 source: "elm";
1044                                 action: STATE_SET "default" 0.0;
1045                                 target: "bg_img";
1046                         }
1047                         program {
1048                                 name: "unpressed";
1049                                 signal: "elm,state,unpressed";
1050                                 source: "elm";
1051                                 action: STATE_SET "default" 0.0;
1052                                 target: "bg_img";
1053                         }
1054                         program {
1055                                 name: "left_line_show";
1056                                 signal: "elm,state,left_line_show";
1057                                 source: "elm";
1058                                 action: STATE_SET "show" 0.0;
1059                                 target: "left_line";
1060                         }
1061                         program {
1062                                 name: "left_line_hide";
1063                                 signal: "elm,state,left_line_hide";
1064                                 source: "elm";
1065                                 action: STATE_SET "default" 0.0;
1066                                 target: "left_line";
1067                         }
1068                         program {
1069                                 name: "right_line_show";
1070                                 signal: "elm,state,right_line_show";
1071                                 source: "elm";
1072                                 action: STATE_SET "show" 0.0;
1073                                 target: "right_line";
1074                         }
1075                         program {
1076                                 name: "right_line_hide";
1077                                 signal: "elm,state,right_line_hide";
1078                                 source: "elm";
1079                                 action: STATE_SET "default" 0.0;
1080                                 target: "right_line";
1081                         }
1082                         program {
1083                                 name: "top_line_show";
1084                                 signal: "elm,state,top_line_show";
1085                                 source: "elm";
1086                                 action: STATE_SET "show" 0.0;
1087                                 target: "top_line";
1088                         }
1089                         program {
1090                                 name: "top_line_hide";
1091                                 signal: "elm,state,top_line_hide";
1092                                 source: "elm";
1093                                 action: STATE_SET "default" 0.0;
1094                                 target: "top_line";
1095                         }
1096                         program {
1097                                 name: "bottom_line_show";
1098                                 signal: "elm,state,bottom_line_show";
1099                                 source: "elm";
1100                                 action: STATE_SET "show" 0.0;
1101                                 target: "bottom_line";
1102                         }
1103                         program {
1104                                 name: "bottom_line_hide";
1105                                 signal: "elm,state,bottom_line_hide";
1106                                 source: "elm";
1107                                 action: STATE_SET "default" 0.0;
1108                                 target: "bottom_line";
1109                         }
1110                 }
1111         }
1112