[Progressbar] issue image getting invisible for list progressbar. fixed.
[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 TAB_BAR_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 TOOL_BAR_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: TAB_BAR_H 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: TAB_BAR_H 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_focus.png" COMP;
292                         image: "00_winset_tab_press_left.png" COMP;
293                         image: "00_winset_tab_press_right.png" COMP;
294                         image: "00_winset_toolbar_press.png" COMP;
295                         image: "00_winset_tabbar_focus.png" COMP;
296                         image: "00_winset_tab_focus_left.png" COMP;
297                         image: "00_winset_tab_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 TOOL_BAR_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_focus.png";
329                                         image.border: 2 2 2 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_focus.png";
337                                         image.border: 2 2 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_focus.png";
345                                         image.border: 2 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 2 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.png";
360                                         image.border: 2 2 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.png";
367                                         image.border: 2 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: 136 121 100 255;
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: 101 86 65 255;
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: 136 121 100 255;
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: 101 86 65 255;
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_shadow";
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                                         visible: 0;
653                                         rel1{offset: 2 2; to: "elm.swallow.icon";}
654                                         rel2{offset: 2 2; to: "elm.swallow.icon";}
655                                 }
656                                 description{
657                                         state: "show" 0.0;
658                                         inherit: "default" 0.0;
659                                         visible: 1;
660                                 }
661                         }
662                         part{
663                                 name: "elm.swallow.icon";
664                                 type: SWALLOW;
665                                 scale: 1;
666                                 mouse_events:1;
667                                 description{
668                                         state: "default" 0.0;
669                                         min: 44 44;
670                                         max: 44 44;
671                                         fixed: 1 1;
672                                         align: 0.5 0.5;
673                                         rel1{to: "bg_rect";}
674                                         rel2{to: "bg_rect";}
675                                 }
676                                 description{
677                                         state: "icon_text" 0.0;
678                                         inherit: "default" 0.0;
679                                         align: 0.5 1.0;
680                                         rel1 {relative: 0.0 0.1; to: "bg_rect";}
681                                         rel2 {relative: 1.0 0.0; to_x: "bg_rect"; to_y: "elm.swallow.text";}
682                                 }
683                         }
684                         part{
685                                 name: "elm.swallow.text_shadow";
686                                 type: SWALLOW;
687                                 scale: 1;
688                                 mouse_events:1;
689                                 description{
690                                         state: "default" 0.0;
691                                         fixed: 1 1;
692                                         visible: 0;
693                                         rel1{offset: 2 2; to: "elm.swallow.text";}
694                                         rel2{offset: 2 2; to: "elm.swallow.text";}
695                                 }
696                                 description{
697                                         state: "show" 0.0;
698                                         inherit: "default" 0.0;
699                                         visible: 1;
700                                 }
701                         }
702                         part{
703                                 name: "elm.swallow.text";
704                                 type: SWALLOW;
705                                 scale: 1;
706                                 mouse_events: 1;
707                                 description{
708                                         state: "default" 0.0;
709                                         fixed: 1 1;
710                                         align: 0.5 0.5;
711                                         rel1{relative: 0.0 0.5; to: "bg_rect";}
712                                         rel2{relative: 1.0 0.5; to: "bg_rect";}
713                                 }
714                                 description{
715                                         state: "icon_text" 0.0;
716                                         inherit: "default" 0.0;
717                                         fixed: 1 1;
718                                         align: 0.5 0.5;
719                                         rel1 {relative: 0.5 0.6; }
720                                         rel2 {relative: 0.5 1.0; }
721                                 }
722                         }       
723                 }
724
725                 programs {
726                         program {
727                                 name: "default";
728                                 signal: "elm,state,default";
729                                 source: "elm";
730                                 action: STATE_SET "default" 0.0;
731                                 target: "elm.swallow.text";
732                                 target: "elm.swallow.icon";
733                         }
734                         program {
735                                 name: "icon_text";
736                                 signal: "elm,state,icon_text";
737                                 source: "elm";
738                                 action: STATE_SET "icon_text" 0.0;
739                                 target: "elm.swallow.text";
740                                 target: "elm.swallow.icon";
741                         }
742                         program {
743                                 name: "shadow_show";
744                                 signal: "elm,state,shadow_show";
745                                 source: "elm";
746                                 action: STATE_SET "show" 0.0;
747                                 target: "elm.swallow.icon_shadow";
748                                 target: "elm.swallow.text_shadow";
749                         }
750                         program {
751                                 name: "shadow_hide";
752                                 signal: "elm,state,shadow_hide";
753                                 source: "elm";
754                                 action: STATE_SET "default" 0.0;
755                                 target: "elm.swallow.icon_shadow";
756                                 target: "elm.swallow.text_shadow";
757                         }
758                 }
759         }
760
761         group{
762                 name: "elm/controlbar/item_bg_move/default";
763                 images{
764                         image: "00_winset_tabbar_focus.png" COMP;
765                 }
766
767                 parts{
768                         part{
769                                 name: "bg_img";
770                                 type: IMAGE;
771                                 mouse_events: 0;
772                                 description{
773                                         state: "default" 0.0;
774                                         visible: 1;
775                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
776                                         rel2 {relative: 1.0 1.0; offset: 0 0;}
777                                         image.normal: "00_winset_tabbar_focus.png";
778                                         image.border: 2 2 2 2;
779                                 }
780                         }
781                 }
782         }
783
784         group{
785                 name: "elm/controlbar/item_bg_move_left/default";
786                 images{
787                         image: "00_winset_tabbar_focus.png" COMP;
788                 }
789
790                 parts{
791                         part{
792                                 name: "bg_img";
793                                 type: IMAGE;
794                                 mouse_events: 0;
795                                 description{
796                                         state: "default" 0.0;
797                                         visible: 1;
798                                         image.normal: "00_winset_tabbar_focus.png";
799                                         image.border: 2 2 2 2;
800                                 }
801                         }
802                 }
803         }
804
805         group{
806                 name: "elm/controlbar/item_bg_move_right/default";
807                 images{
808                         image: "00_winset_tabbar_focus.png" COMP;
809                 }
810
811                 parts{
812                         part{
813                                 name: "bg_img";
814                                 type: IMAGE;
815                                 mouse_events: 0;
816                                 description{
817                                         state: "default" 0.0;
818                                         visible: 1;
819                                         image.normal: "00_winset_tabbar_focus.png";
820                                         image.border: 2 2 2 2;
821                                 }
822                         }
823                 }
824         }
825         
826         group{
827                 name: "elm/controlbar/base/navigationbar";
828                 
829                 parts{
830                         part{
831                                 name: "bg_rect";
832                                 type: RECT;
833                                 scale: 1;
834                                 mouse_events:0;
835                                 description{
836                                         state: "default" 0.0;
837                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
838                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
839                                         color: 0 0 0 0;
840                                 }
841                         }
842                         part{
843                                 name: "bg_image";
844                                 type: SWALLOW;
845                                 scale: 1;
846                                 mouse_events:0;
847                                 description{
848                                         state: "default" 0.0;
849                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
850                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
851                                 }
852                                 description{
853                                         state: "large" 0.0;
854                                         min: 0 TAB_BAR_H;
855                                         fixed: 0 1;
856                                         align: 0.5 1.0;
857                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
858                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
859                                 }
860                                 description{
861                                         state: "small" 0.0;
862                                         min: 0 TOOL_BAR_H;
863                                         fixed: 0 1;
864                                         align: 0.5 1.0;
865                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
866                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
867                                 }
868                                 description{
869                                         state: "left" 0.0;
870                                         min: TAB_BAR_H 0;
871                                         fixed: 1 0;
872                                         align: 0.0 0.5;
873                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
874                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
875                                 }
876                                 description{
877                                         state: "right" 0.0;
878                                         min: TAB_BAR_H 0;
879                                         fixed: 1 0;
880                                         align: 1.0 0.5;
881                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
882                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
883                                 }
884                         }       
885                         part{
886                                 name: "elm.swallow.items";
887                                 type: SWALLOW;
888                                 scale: 1;
889                                 description{
890                                         state: "default" 0.0;
891                                         rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
892                                         rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
893                                 }
894                         }
895                 }
896                 programs{
897                         program{
898                                 name: "default";
899                                 signal: "elm,state,default";
900                                 source: "elm";
901                                 action: STATE_SET "default" 0.0;
902                                 target: "bg_image";
903                         }
904                         program{
905                                 name: "large";
906                                 signal: "elm,state,large";
907                                 source: "elm";
908                                 action: STATE_SET "large" 0.0;
909                                 target: "bg_image";
910                         }
911                         program{
912                                 name: "small";
913                                 signal: "elm,state,small";
914                                 source: "elm";
915                                 action: STATE_SET "small" 0.0;
916                                 target: "bg_image";
917                         }
918                         program{
919                                 name: "left";
920                                 signal: "elm,state,left";
921                                 source: "elm";
922                                 action: STATE_SET "left" 0.0;
923                                 target: "bg_image";
924                         }
925                         program{
926                                 name: "right";
927                                 signal: "elm,state,right";
928                                 source: "elm";
929                                 action: STATE_SET "right" 0.0;
930                                 target: "bg_image";
931                         }
932                 }
933         }
934
935         group{
936                 name: "elm/controlbar/background/navigationbar";
937
938                 images{
939                         image: "00_winset_control_top_bg.png" COMP;
940                         image: "00_winset_control_tabbar_bg.png" COMP;
941                         image: "00_winset_control_tabbar_left_bg.png" COMP;
942                         image: "00_winset_control_tabbar_right_bg.png" COMP;
943                 }
944
945                 parts{
946                         part{
947                                 name: "bg_image";
948                                 type: IMAGE;
949                                 scale: 1;
950                                 mouse_events:0;
951                                 description{
952                                         state: "default" 0.0;
953                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
954                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
955                                         image.normal: "00_winset_control_top_bg.png";
956                                         image.border: 1 1 2 6;
957                                         color: 255 255 255 255; 
958                                 }
959                                 description{
960                                         state: "tabbar" 0.0;
961                                         inherit: "default" 0.0;
962                                         image.normal: "00_winset_control_tabbar_bg.png";
963                                 }
964                                 description{
965                                         state: "tabbar_left" 0.0;
966                                         inherit: "default" 0.0;
967                                         image.normal: "00_winset_control_tabbar_left_bg.png";
968                                 }
969                                 description{
970                                         state: "tabbar_right" 0.0;
971                                         inherit: "default" 0.0;
972                                         image.normal: "00_winset_control_tabbar_right_bg.png";
973                                 }
974                         }
975                 }
976                 programs {
977                         program {
978                                 name: "tabbar_bg";
979                                 signal: "elm,state,tabbar";
980                                 source: "elm";
981                                 action: STATE_SET "tabbar" 0.0;
982                                 target: "bg_image";
983                         }
984                         program {
985                                 name: "toolbar_bg";
986                                 signal: "elm,state,toolbar";
987                                 source: "elm";
988                                 action: STATE_SET "default" 0.0;
989                                 target: "bg_image";
990                         }
991                         program {
992                                 name: "tabbar_left_bg";
993                                 signal: "elm,state,tabbar_left";
994                                 source: "elm";
995                                 action: STATE_SET "tabbar_left" 0.0;
996                                 target: "bg_image";
997                         }
998                         program {
999                                 name: "tabbar_right_bg";
1000                                 signal: "elm,state,tabbar_right";
1001                                 source: "elm";
1002                                 action: STATE_SET "tabbar_right" 0.0;
1003                                 target: "bg_image";
1004                         }
1005                 }
1006         }
1007
1008         group{
1009                 name: "elm/controlbar/base/navigationbar_noshadow";
1010                 
1011                 parts{
1012                         part{
1013                                 name: "bg_rect";
1014                                 type: RECT;
1015                                 scale: 1;
1016                                 mouse_events:0;
1017                                 description{
1018                                         state: "default" 0.0;
1019                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
1020                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
1021                                         color: 0 0 0 0;
1022                                 }
1023                         }
1024                         part{
1025                                 name: "bg_image";
1026                                 type: SWALLOW;
1027                                 scale: 1;
1028                                 mouse_events:0;
1029                                 description{
1030                                         state: "default" 0.0;
1031                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
1032                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
1033                                 }
1034                                 description{
1035                                         state: "large" 0.0;
1036                                         min: 0 TAB_BAR_H;
1037                                         fixed: 0 1;
1038                                         align: 0.5 1.0;
1039                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
1040                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
1041                                 }
1042                                 description{
1043                                         state: "small" 0.0;
1044                                         min: 0 TOOL_BAR_H;
1045                                         fixed: 0 1;
1046                                         align: 0.5 1.0;
1047                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
1048                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
1049                                 }
1050                                 description{
1051                                         state: "left" 0.0;
1052                                         min: TAB_BAR_H 0;
1053                                         fixed: 1 0;
1054                                         align: 0.0 0.5;
1055                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
1056                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
1057                                 }
1058                                 description{
1059                                         state: "right" 0.0;
1060                                         min: TAB_BAR_H 0;
1061                                         fixed: 1 0;
1062                                         align: 1.0 0.5;
1063                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
1064                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
1065                                 }
1066                         }       
1067                         part{
1068                                 name: "elm.swallow.items";
1069                                 type: SWALLOW;
1070                                 scale: 1;
1071                                 description{
1072                                         state: "default" 0.0;
1073                                         rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
1074                                         rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
1075                                 }
1076                         }
1077                 }
1078                 programs{
1079                         program{
1080                                 name: "default";
1081                                 signal: "elm,state,default";
1082                                 source: "elm";
1083                                 action: STATE_SET "default" 0.0;
1084                                 target: "bg_image";
1085                         }
1086                         program{
1087                                 name: "large";
1088                                 signal: "elm,state,large";
1089                                 source: "elm";
1090                                 action: STATE_SET "large" 0.0;
1091                                 target: "bg_image";
1092                         }
1093                         program{
1094                                 name: "small";
1095                                 signal: "elm,state,small";
1096                                 source: "elm";
1097                                 action: STATE_SET "small" 0.0;
1098                                 target: "bg_image";
1099                         }
1100                         program{
1101                                 name: "left";
1102                                 signal: "elm,state,left";
1103                                 source: "elm";
1104                                 action: STATE_SET "left" 0.0;
1105                                 target: "bg_image";
1106                         }
1107                         program{
1108                                 name: "right";
1109                                 signal: "elm,state,right";
1110                                 source: "elm";
1111                                 action: STATE_SET "right" 0.0;
1112                                 target: "bg_image";
1113                         }
1114                 }
1115         }
1116
1117         group{
1118                 name: "elm/controlbar/background/navigationbar_noshadow";
1119
1120                 images{
1121                         image: "00_winset_control_top_noshadow_bg.png" COMP;
1122                         image: "00_winset_control_tabbar_bg.png" COMP;
1123                         image: "00_winset_control_tabbar_left_bg.png" COMP;
1124                         image: "00_winset_control_tabbar_right_bg.png" COMP;
1125                 }
1126
1127                 parts{
1128                         part{
1129                                 name: "bg_image";
1130                                 type: IMAGE;
1131                                 scale: 1;
1132                                 mouse_events:0;
1133                                 description{
1134                                         state: "default" 0.0;
1135                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
1136                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
1137                                         image.normal: "00_winset_control_top_noshadow_bg.png";
1138                                         image.border: 1 1 0 0;
1139                                         color: 255 255 255 255; 
1140                                 }
1141                                 description{
1142                                         state: "tabbar" 0.0;
1143                                         inherit: "default" 0.0;
1144                                         image.normal: "00_winset_control_tabbar_bg.png";
1145                                 }
1146                                 description{
1147                                         state: "tabbar_left" 0.0;
1148                                         inherit: "default" 0.0;
1149                                         image.normal: "00_winset_control_tabbar_left_bg.png";
1150                                 }
1151                                 description{
1152                                         state: "tabbar_right" 0.0;
1153                                         inherit: "default" 0.0;
1154                                         image.normal: "00_winset_control_tabbar_right_bg.png";
1155                                 }
1156                         }
1157                 }
1158                 programs {
1159                         program {
1160                                 name: "tabbar_bg";
1161                                 signal: "elm,state,tabbar";
1162                                 source: "elm";
1163                                 action: STATE_SET "tabbar" 0.0;
1164                                 target: "bg_image";
1165                         }
1166                         program {
1167                                 name: "toolbar_bg";
1168                                 signal: "elm,state,toolbar";
1169                                 source: "elm";
1170                                 action: STATE_SET "default" 0.0;
1171                                 target: "bg_image";
1172                         }
1173                         program {
1174                                 name: "tabbar_left_bg";
1175                                 signal: "elm,state,tabbar_left";
1176                                 source: "elm";
1177                                 action: STATE_SET "tabbar_left" 0.0;
1178                                 target: "bg_image";
1179                         }
1180                         program {
1181                                 name: "tabbar_right_bg";
1182                                 signal: "elm,state,tabbar_right";
1183                                 source: "elm";
1184                                 action: STATE_SET "tabbar_right" 0.0;
1185                                 target: "bg_image";
1186                         }
1187                 }
1188         }
1189
1190         styles
1191         {
1192            style { name: "controlbar_textblock_style";
1193                   base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=char";
1194               tag:  "br" "\n";
1195               tag:  "hilight" "+ font=SLP:style=Bold";
1196               tag:  "b" "+ font=SLP:style=Bold";
1197               tag:  "tab" "\t";
1198            }
1199            style { name: "controlbar_textblock_wrap_style";
1200                   base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=mixed";
1201               tag:  "br" "\n";
1202               tag:  "hilight" "+ font=SLP:style=Bold";
1203               tag:  "b" "+ font=SLP:style=Bold";
1204               tag:  "tab" "\t";
1205            }
1206            style { name: "controlbar_textblock_wordwrap_style";
1207               base: "font=SLP:style=Medium font_size=22 align=center color=#ffffff wrap=mixed";
1208               tag:  "br" "\n";
1209               tag:  "hilight" "+ font=SLP:style=Bold";
1210               tag:  "b" "+ font=SLP:style=Bold";
1211               tag:  "tab" "\t";
1212            }
1213         }
1214         
1215         group { name: "elm/label/base/controlbar";
1216       data.item: "default_font_size" "18";
1217       data.item: "min_font_size" "14";
1218       data.item: "max_font_size" "60";
1219       
1220       parts {
1221                  part { name: "label.swallow.background";
1222                         type: SWALLOW;
1223                         description { state: "default" 0.0;
1224                            visible: 1;
1225                            rel1 { relative: 0 0; to: "elm.text"; }
1226                            rel2 { relative: 1 1; to: "elm.text"; }
1227                         }
1228                  }
1229                  part { name: "elm.text";
1230                         type: TEXTBLOCK;
1231                         mouse_events: 0;
1232                         scale: 1;
1233                         description { state: "default" 0.0;
1234                            text {
1235                           style: "controlbar_textblock_style";
1236                           min: 1 1;
1237                            }
1238                         }
1239                  }
1240       }
1241    }
1242
1243    group { name: "elm/label/base_wrap/controlbar";
1244       data.item: "default_font_size" "22";
1245       data.item: "min_font_size" "18";
1246       data.item: "max_font_size" "60";
1247       parts {
1248                  part { name: "label.swallow.background";
1249                         type: SWALLOW;
1250                         description { state: "default" 0.0;
1251                            visible: 1;
1252                            rel1 { relative: 0 0; to: "elm.text"; }
1253                            rel2 { relative: 1 1; to: "elm.text"; }
1254                         }
1255                  }
1256                  part { name: "elm.text";
1257                         type: TEXTBLOCK;
1258                         mouse_events: 0;
1259                         scale: 1;
1260                         multiline: 1;
1261                         description { state: "default" 0.0;
1262                            text {
1263                           style: "controlbar_textblock_wrap_style";
1264                           min: 0 1;
1265                            }
1266                         }
1267                  }
1268       }
1269    }
1270
1271         group { name: "elm/label/base_wrap_ellipsis/controlbar";
1272       data.item: "default_font_size" "22";
1273       data.item: "min_font_size" "18";
1274       data.item: "max_font_size" "60";
1275       parts {
1276          part { name: "label.swallow.background";
1277             type: SWALLOW;
1278             description { state: "default" 0.0;
1279                    visible: 1;
1280                    rel1 { relative: 0 0; to: "elm.text"; }
1281                    rel2 { relative: 1 1; to: "elm.text"; }
1282             }
1283      }
1284          part { name: "elm.text";
1285             type: TEXTBLOCK;
1286             mouse_events: 0;
1287             scale: 1;
1288             multiline: 1;
1289             description { state: "default" 0.0;
1290                 // FIXME : fixed for multiline ellipsis.
1291                 //         does it need to make another ellipsis style? 
1292                fixed: 0 1; 
1293                text {
1294                   style: "controlbar_textblock_style";
1295                   min: 0 1;
1296                }
1297             }
1298             description { state: "wordwrap_mode" 0.0;
1299                 // FIXME : fixed for multiline ellipsis.
1300                 //         does it need to make another ellipsis style? 
1301                fixed: 0 1; 
1302                text {
1303                   style: "controlbar_textblock_wordwrap_style";
1304                   min: 0 1;
1305                }
1306             }
1307          }
1308       }
1309         programs {
1310                 program { name: "default_on";
1311                         signal: "elm,state,default";
1312                         source: "elm";
1313                         action: STATE_SET "default" 0.0;
1314                         target: "elm.text";
1315                 }
1316                 program { name: "wordwrap_on";
1317                         signal: "elm,state,wordwrap";
1318                         source: "elm";
1319                         action: STATE_SET "wordwrap_mode" 0.0;
1320                         target: "elm.text";
1321                 }
1322         } // end programs
1323    } // end group
1324
1325