Merge "[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 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_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 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_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";
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_shadow";
666                                 type: SWALLOW;
667                                 scale: 1;
668                                 mouse_events:1;
669                                 description{
670                                         state: "default" 0.0;
671                                         fixed: 1 1;
672                                         visible: 0;
673                                         rel1{offset: 2 2; to: "elm.swallow.text";}
674                                         rel2{offset: 2 2; to: "elm.swallow.text";}
675                                 }
676                                 description{
677                                         state: "show" 0.0;
678                                         inherit: "default" 0.0;
679                                         visible: 1;
680                                 }
681                         }
682                         part{
683                                 name: "elm.swallow.text";
684                                 type: SWALLOW;
685                                 scale: 1;
686                                 mouse_events: 1;
687                                 description{
688                                         state: "default" 0.0;
689                                         fixed: 1 1;
690                                         align: 0.5 0.5;
691                                         rel1{relative: 0.0 0.5; to: "bg_rect";}
692                                         rel2{relative: 1.0 0.5; to: "bg_rect";}
693                                 }
694                                 description{
695                                         state: "icon_text" 0.0;
696                                         inherit: "default" 0.0;
697                                         fixed: 1 1;
698                                         align: 0.5 0.5;
699                                         rel1 {relative: 0.5 0.6; }
700                                         rel2 {relative: 0.5 1.0; }
701                                 }
702                         }
703                 }
704
705                 programs {
706                         program {
707                                 name: "default";
708                                 signal: "elm,state,default";
709                                 source: "elm";
710                                 action: STATE_SET "default" 0.0;
711                                 target: "elm.swallow.text";
712                                 target: "elm.swallow.icon";
713                         }
714                         program {
715                                 name: "icon_text";
716                                 signal: "elm,state,icon_text";
717                                 source: "elm";
718                                 action: STATE_SET "icon_text" 0.0;
719                                 target: "elm.swallow.text";
720                                 target: "elm.swallow.icon";
721                         }
722                 }
723         }
724
725         group{
726                 name: "elm/controlbar/item_bg_move/default";
727                 images{
728                         image: "00_winset_tabbar_focus.png" COMP;
729                 }
730
731                 parts{
732                         part{
733                                 name: "bg_img";
734                                 type: IMAGE;
735                                 mouse_events: 0;
736                                 description{
737                                         state: "default" 0.0;
738                                         visible: 1;
739                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
740                                         rel2 {relative: 1.0 1.0; offset: 0 0;}
741                                         image.normal: "00_winset_tabbar_focus.png";
742                                         image.border: 2 2 2 2;
743                                 }
744                         }
745                 }
746         }
747
748         group{
749                 name: "elm/controlbar/item_bg_move_left/default";
750                 images{
751                         image: "00_winset_tabbar_focus.png" COMP;
752                 }
753
754                 parts{
755                         part{
756                                 name: "bg_img";
757                                 type: IMAGE;
758                                 mouse_events: 0;
759                                 description{
760                                         state: "default" 0.0;
761                                         visible: 1;
762                                         image.normal: "00_winset_tabbar_focus.png";
763                                         image.border: 2 2 2 2;
764                                 }
765                         }
766                 }
767         }
768
769         group{
770                 name: "elm/controlbar/item_bg_move_right/default";
771                 images{
772                         image: "00_winset_tabbar_focus.png" COMP;
773                 }
774
775                 parts{
776                         part{
777                                 name: "bg_img";
778                                 type: IMAGE;
779                                 mouse_events: 0;
780                                 description{
781                                         state: "default" 0.0;
782                                         visible: 1;
783                                         image.normal: "00_winset_tabbar_focus.png";
784                                         image.border: 2 2 2 2;
785                                 }
786                         }
787                 }
788         }
789
790         group{
791                 name: "elm/controlbar/base/navigationbar";
792
793                 parts{
794                         part{
795                                 name: "bg_rect";
796                                 type: RECT;
797                                 scale: 1;
798                                 mouse_events:0;
799                                 description{
800                                         state: "default" 0.0;
801                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
802                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
803                                         color: 0 0 0 0;
804                                 }
805                         }
806                         part{
807                                 name: "bg_image";
808                                 type: SWALLOW;
809                                 scale: 1;
810                                 mouse_events:0;
811                                 description{
812                                         state: "default" 0.0;
813                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
814                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
815                                 }
816                                 description{
817                                         state: "large" 0.0;
818                                         min: 0 CONTROLBAR_LARGE_H;
819                                         fixed: 0 1;
820                                         align: 0.5 1.0;
821                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
822                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
823                                 }
824                                 description{
825                                         state: "small" 0.0;
826                                         min: 0 CONTROLBAR_SMALL_H;
827                                         fixed: 0 1;
828                                         align: 0.5 1.0;
829                                         rel1 {relative: 0.0 1.0; offset: 0 -1;}
830                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
831                                 }
832                                 description{
833                                         state: "left" 0.0;
834                                         min: CONTROLBAR_W 0;
835                                         fixed: 1 0;
836                                         align: 0.0 0.5;
837                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
838                                         rel2 {relative: 0.0 1.0; offset: 0 -1;}
839                                 }
840                                 description{
841                                         state: "right" 0.0;
842                                         min: CONTROLBAR_W 0;
843                                         fixed: 1 0;
844                                         align: 1.0 0.5;
845                                         rel1 {relative: 1.0 0.0; offset: -1 0;}
846                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
847                                 }
848                         }
849                         part{
850                                 name: "elm.swallow.items";
851                                 type: SWALLOW;
852                                 scale: 1;
853                                 description{
854                                         state: "default" 0.0;
855                                         rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
856                                         rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
857                                 }
858                         }
859                 }
860                 programs{
861                         program{
862                                 name: "default";
863                                 signal: "elm,state,default";
864                                 source: "elm";
865                                 action: STATE_SET "default" 0.0;
866                                 target: "bg_image";
867                         }
868                         program{
869                                 name: "large";
870                                 signal: "elm,state,large";
871                                 source: "elm";
872                                 action: STATE_SET "large" 0.0;
873                                 target: "bg_image";
874                         }
875                         program{
876                                 name: "small";
877                                 signal: "elm,state,small";
878                                 source: "elm";
879                                 action: STATE_SET "small" 0.0;
880                                 target: "bg_image";
881                         }
882                         program{
883                                 name: "left";
884                                 signal: "elm,state,left";
885                                 source: "elm";
886                                 action: STATE_SET "left" 0.0;
887                                 target: "bg_image";
888                         }
889                         program{
890                                 name: "right";
891                                 signal: "elm,state,right";
892                                 source: "elm";
893                                 action: STATE_SET "right" 0.0;
894                                 target: "bg_image";
895                         }
896                 }
897         }
898
899         group{
900                 name: "elm/controlbar/background/navigationbar";
901
902                 parts{
903                         part{
904                                 name: "bg_image";
905                                 type: RECT;
906                                 scale: 1;
907                                 mouse_events:0;
908                                 description{
909                                         state: "default" 0.0;
910                                         rel1 {relative: 0.0 0.0; offset: 0 0;}
911                                         rel2 {relative: 1.0 1.0; offset: -1 -1;}
912                                         color: 255 255 255 0;
913                                 }
914                                 description{
915                                         state: "tabbar" 0.0;
916                                         inherit: "default" 0.0;
917                                 }
918                                 description{
919                                         state: "tabbar_left" 0.0;
920                                         inherit: "default" 0.0;
921                                 }
922                                 description{
923                                         state: "tabbar_right" 0.0;
924                                         inherit: "default" 0.0;
925                                 }
926                         }
927                 }
928                 programs {
929                         program {
930                                 name: "tabbar_bg";
931                                 signal: "elm,state,tabbar";
932                                 source: "elm";
933                                 action: STATE_SET "tabbar" 0.0;
934                                 target: "bg_image";
935                         }
936                         program {
937                                 name: "toolbar_bg";
938                                 signal: "elm,state,toolbar";
939                                 source: "elm";
940                                 action: STATE_SET "default" 0.0;
941                                 target: "bg_image";
942                         }
943                         program {
944                                 name: "tabbar_left_bg";
945                                 signal: "elm,state,tabbar_left";
946                                 source: "elm";
947                                 action: STATE_SET "tabbar_left" 0.0;
948                                 target: "bg_image";
949                         }
950                         program {
951                                 name: "tabbar_right_bg";
952                                 signal: "elm,state,tabbar_right";
953                                 source: "elm";
954                                 action: STATE_SET "tabbar_right" 0.0;
955                                 target: "bg_image";
956                         }
957                 }
958         }
959
960         styles
961         {
962            style { name: "controlbar_textblock_style";
963                   base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=char";
964               tag:  "br" "\n";
965               tag:  "hilight" "+ font=SLP:style=Bold";
966               tag:  "b" "+ font=SLP:style=Bold";
967               tag:  "tab" "\t";
968            }
969            style { name: "controlbar_textblock_wrap_style";
970                   base: "font=SLP:style=Medium font_size=18 align=center color=#ffffff wrap=mixed";
971               tag:  "br" "\n";
972               tag:  "hilight" "+ font=SLP:style=Bold";
973               tag:  "b" "+ font=SLP:style=Bold";
974               tag:  "tab" "\t";
975            }
976            style { name: "controlbar_textblock_wordwrap_style";
977               base: "font=SLP:style=Medium font_size=22 align=center color=#ffffff wrap=mixed";
978               tag:  "br" "\n";
979               tag:  "hilight" "+ font=SLP:style=Bold";
980               tag:  "b" "+ font=SLP:style=Bold";
981               tag:  "tab" "\t";
982            }
983         }
984
985         group { name: "elm/label/base/controlbar";
986       data.item: "default_font_size" "18";
987       data.item: "min_font_size" "14";
988       data.item: "max_font_size" "60";
989
990       parts {
991                  part { name: "label.swallow.background";
992                         type: SWALLOW;
993                         description { state: "default" 0.0;
994                            visible: 1;
995                            rel1 { relative: 0 0; to: "elm.text"; }
996                            rel2 { relative: 1 1; to: "elm.text"; }
997                         }
998                  }
999                  part { name: "elm.text";
1000                         type: TEXTBLOCK;
1001                         mouse_events: 0;
1002                         scale: 1;
1003                         description { state: "default" 0.0;
1004                            text {
1005                           style: "controlbar_textblock_style";
1006                           min: 1 1;
1007                            }
1008                         }
1009                  }
1010       }
1011    }
1012
1013    group { name: "elm/label/base_wrap/controlbar";
1014       data.item: "default_font_size" "22";
1015       data.item: "min_font_size" "18";
1016       data.item: "max_font_size" "60";
1017       parts {
1018                  part { name: "label.swallow.background";
1019                         type: SWALLOW;
1020                         description { state: "default" 0.0;
1021                            visible: 1;
1022                            rel1 { relative: 0 0; to: "elm.text"; }
1023                            rel2 { relative: 1 1; to: "elm.text"; }
1024                         }
1025                  }
1026                  part { name: "elm.text";
1027                         type: TEXTBLOCK;
1028                         mouse_events: 0;
1029                         scale: 1;
1030                         multiline: 1;
1031                         description { state: "default" 0.0;
1032                            text {
1033                           style: "controlbar_textblock_wrap_style";
1034                           min: 0 1;
1035                            }
1036                         }
1037                  }
1038       }
1039    }
1040
1041         group { name: "elm/label/base_wrap_ellipsis/controlbar";
1042       data.item: "default_font_size" "22";
1043       data.item: "min_font_size" "18";
1044       data.item: "max_font_size" "60";
1045       parts {
1046          part { name: "label.swallow.background";
1047             type: SWALLOW;
1048             description { state: "default" 0.0;
1049                    visible: 1;
1050                    rel1 { relative: 0 0; to: "elm.text"; }
1051                    rel2 { relative: 1 1; to: "elm.text"; }
1052             }
1053      }
1054          part { name: "elm.text";
1055             type: TEXTBLOCK;
1056             mouse_events: 0;
1057             scale: 1;
1058             multiline: 1;
1059             description { state: "default" 0.0;
1060                 // FIXME : fixed for multiline ellipsis.
1061                 //         does it need to make another ellipsis style? 
1062                fixed: 0 1;
1063                text {
1064                   style: "controlbar_textblock_style";
1065                   min: 0 1;
1066                }
1067             }
1068             description { state: "wordwrap_mode" 0.0;
1069                 // FIXME : fixed for multiline ellipsis.
1070                 //         does it need to make another ellipsis style? 
1071                fixed: 0 1;
1072                text {
1073                   style: "controlbar_textblock_wordwrap_style";
1074                   min: 0 1;
1075                }
1076             }
1077          }
1078       }
1079         programs {
1080                 program { name: "default_on";
1081                         signal: "elm,state,default";
1082                         source: "elm";
1083                         action: STATE_SET "default" 0.0;
1084                         target: "elm.text";
1085                 }
1086                 program { name: "wordwrap_on";
1087                         signal: "elm,state,wordwrap";
1088                         source: "elm";
1089                         action: STATE_SET "wordwrap_mode" 0.0;
1090                         target: "elm.text";
1091                 }
1092         } // end programs
1093    } // end group
1094
1095