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