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