[controlbar] add the style navigationbar_noshadow, change image
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 25 Feb 2011 08:26:33 +0000 (17:26 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Fri, 25 Feb 2011 08:26:33 +0000 (17:26 +0900)
Change-Id: Ibe34dd78dce0939c2b35eeab64d8103f8f046b0f

themes/groups/controlbar.edc
themes/images/nbeat-black/00_winset_control_top_bg.png
themes/images/nbeat-black/00_winset_control_top_noshadow_bg.png [new file with mode: 0644]
themes/images/nbeat-blue/00_winset_control_top_bg.png
themes/images/nbeat-blue/00_winset_control_top_noshadow_bg.png [new file with mode: 0644]
themes/images/nbeat-green/00_winset_control_top_bg.png
themes/images/nbeat-green/00_winset_control_top_noshadow_bg.png [new file with mode: 0644]
themes/images/nbeat-purple/00_winset_control_top_bg.png
themes/images/nbeat-purple/00_winset_control_top_noshadow_bg.png [new file with mode: 0644]
themes/images/nbeat/00_winset_control_top_bg.png
themes/images/nbeat/00_winset_control_top_noshadow_bg.png [new file with mode: 0644]

index 3b97a33..458b014 100644 (file)
                        }
                }
        }
-
        
        group{
                name: "elm/controlbar/base/navigationbar";
                }
        }
 
+       group{
+               name: "elm/controlbar/base/navigationbar_noshadow";
+               
+               parts{
+                       part{
+                               name: "bg_rect";
+                               type: RECT;
+                               scale: 1;
+                               mouse_events:0;
+                               description{
+                                       state: "default" 0.0;
+                                       rel1 {relative: 0.0 0.0; offset: 0 0;}
+                                       rel2 {relative: 1.0 1.0; offset: -1 -1;}
+                                       color: 0 0 0 0;
+                               }
+                       }
+                       part{
+                               name: "bg_image";
+                               type: SWALLOW;
+                               scale: 1;
+                               mouse_events:0;
+                               description{
+                                       state: "default" 0.0;
+                                       rel1 {relative: 0.0 0.0; offset: 0 0;}
+                                       rel2 {relative: 1.0 1.0; offset: -1 -1;}
+                               }
+                               description{
+                                       state: "large" 0.0;
+                                       min: 0 TAB_BAR_H;
+                                       fixed: 0 1;
+                                       align: 0.5 1.0;
+                                       rel1 {relative: 0.0 1.0; offset: 0 -1;}
+                                       rel2 {relative: 1.0 1.0; offset: -1 -1;}
+                               }
+                               description{
+                                       state: "small" 0.0;
+                                       min: 0 TOOL_BAR_H;
+                                       fixed: 0 1;
+                                       align: 0.5 1.0;
+                                       rel1 {relative: 0.0 1.0; offset: 0 -1;}
+                                       rel2 {relative: 1.0 1.0; offset: -1 -1;}
+                               }
+                               description{
+                                       state: "left" 0.0;
+                                       min: TAB_BAR_H 0;
+                                       fixed: 1 0;
+                                       align: 0.0 0.5;
+                                       rel1 {relative: 0.0 0.0; offset: 0 0;}
+                                       rel2 {relative: 0.0 1.0; offset: 0 -1;}
+                               }
+                               description{
+                                       state: "right" 0.0;
+                                       min: TAB_BAR_H 0;
+                                       fixed: 1 0;
+                                       align: 1.0 0.5;
+                                       rel1 {relative: 1.0 0.0; offset: -1 0;}
+                                       rel2 {relative: 1.0 1.0; offset: -1 -1;}
+                               }
+                       }       
+                       part{
+                               name: "elm.swallow.items";
+                               type: SWALLOW;
+                               scale: 1;
+                               description{
+                                       state: "default" 0.0;
+                                       rel1 {relative: 0.0 0.0; offset: 5 0; to: "bg_image";}
+                                       rel2 {relative: 1.0 1.0; offset: -6 -1; to: "bg_image";}
+                               }
+                       }
+               }
+               programs{
+                       program{
+                               name: "default";
+                               signal: "elm,state,default";
+                               source: "elm";
+                               action: STATE_SET "default" 0.0;
+                               target: "bg_image";
+                       }
+                       program{
+                               name: "large";
+                               signal: "elm,state,large";
+                               source: "elm";
+                               action: STATE_SET "large" 0.0;
+                               target: "bg_image";
+                       }
+                       program{
+                               name: "small";
+                               signal: "elm,state,small";
+                               source: "elm";
+                               action: STATE_SET "small" 0.0;
+                               target: "bg_image";
+                       }
+                       program{
+                               name: "left";
+                               signal: "elm,state,left";
+                               source: "elm";
+                               action: STATE_SET "left" 0.0;
+                               target: "bg_image";
+                       }
+                       program{
+                               name: "right";
+                               signal: "elm,state,right";
+                               source: "elm";
+                               action: STATE_SET "right" 0.0;
+                               target: "bg_image";
+                       }
+               }
+       }
+
+       group{
+               name: "elm/controlbar/background/navigationbar_noshadow";
+
+               images{
+                       image: "00_winset_control_top_noshadow_bg.png" COMP;
+                       image: "00_winset_control_tabbar_bg.png" COMP;
+                       image: "00_winset_control_tabbar_left_bg.png" COMP;
+                       image: "00_winset_control_tabbar_right_bg.png" COMP;
+               }
+
+               parts{
+                       part{
+                               name: "bg_image";
+                               type: IMAGE;
+                               scale: 1;
+                               mouse_events:0;
+                               description{
+                                       state: "default" 0.0;
+                                       rel1 {relative: 0.0 0.0; offset: 0 0;}
+                                       rel2 {relative: 1.0 1.0; offset: -1 -1;}
+                                       image.normal: "00_winset_control_top_noshadow_bg.png";
+                                       image.border: 1 1 0 0;
+                                       color: 255 255 255 255; 
+                               }
+                               description{
+                                       state: "tabbar" 0.0;
+                                       inherit: "default" 0.0;
+                                       image.normal: "00_winset_control_tabbar_bg.png";
+                               }
+                               description{
+                                       state: "tabbar_left" 0.0;
+                                       inherit: "default" 0.0;
+                                       image.normal: "00_winset_control_tabbar_left_bg.png";
+                               }
+                               description{
+                                       state: "tabbar_right" 0.0;
+                                       inherit: "default" 0.0;
+                                       image.normal: "00_winset_control_tabbar_right_bg.png";
+                               }
+                       }
+               }
+               programs {
+                       program {
+                               name: "tabbar_bg";
+                               signal: "elm,state,tabbar";
+                               source: "elm";
+                               action: STATE_SET "tabbar" 0.0;
+                               target: "bg_image";
+                       }
+                       program {
+                               name: "toolbar_bg";
+                               signal: "elm,state,toolbar";
+                               source: "elm";
+                               action: STATE_SET "default" 0.0;
+                               target: "bg_image";
+                       }
+                       program {
+                               name: "tabbar_left_bg";
+                               signal: "elm,state,tabbar_left";
+                               source: "elm";
+                               action: STATE_SET "tabbar_left" 0.0;
+                               target: "bg_image";
+                       }
+                       program {
+                               name: "tabbar_right_bg";
+                               signal: "elm,state,tabbar_right";
+                               source: "elm";
+                               action: STATE_SET "tabbar_right" 0.0;
+                               target: "bg_image";
+                       }
+               }
+       }
 
        styles
        {
index 523ca78..e3e4b2b 100755 (executable)
Binary files a/themes/images/nbeat-black/00_winset_control_top_bg.png and b/themes/images/nbeat-black/00_winset_control_top_bg.png differ
diff --git a/themes/images/nbeat-black/00_winset_control_top_noshadow_bg.png b/themes/images/nbeat-black/00_winset_control_top_noshadow_bg.png
new file mode 100644 (file)
index 0000000..0cae35b
Binary files /dev/null and b/themes/images/nbeat-black/00_winset_control_top_noshadow_bg.png differ
index 523ca78..e3e4b2b 100755 (executable)
Binary files a/themes/images/nbeat-blue/00_winset_control_top_bg.png and b/themes/images/nbeat-blue/00_winset_control_top_bg.png differ
diff --git a/themes/images/nbeat-blue/00_winset_control_top_noshadow_bg.png b/themes/images/nbeat-blue/00_winset_control_top_noshadow_bg.png
new file mode 100644 (file)
index 0000000..0cae35b
Binary files /dev/null and b/themes/images/nbeat-blue/00_winset_control_top_noshadow_bg.png differ
index 523ca78..e3e4b2b 100755 (executable)
Binary files a/themes/images/nbeat-green/00_winset_control_top_bg.png and b/themes/images/nbeat-green/00_winset_control_top_bg.png differ
diff --git a/themes/images/nbeat-green/00_winset_control_top_noshadow_bg.png b/themes/images/nbeat-green/00_winset_control_top_noshadow_bg.png
new file mode 100644 (file)
index 0000000..0cae35b
Binary files /dev/null and b/themes/images/nbeat-green/00_winset_control_top_noshadow_bg.png differ
index 523ca78..e3e4b2b 100755 (executable)
Binary files a/themes/images/nbeat-purple/00_winset_control_top_bg.png and b/themes/images/nbeat-purple/00_winset_control_top_bg.png differ
diff --git a/themes/images/nbeat-purple/00_winset_control_top_noshadow_bg.png b/themes/images/nbeat-purple/00_winset_control_top_noshadow_bg.png
new file mode 100644 (file)
index 0000000..0cae35b
Binary files /dev/null and b/themes/images/nbeat-purple/00_winset_control_top_noshadow_bg.png differ
index 523ca78..e3e4b2b 100755 (executable)
Binary files a/themes/images/nbeat/00_winset_control_top_bg.png and b/themes/images/nbeat/00_winset_control_top_bg.png differ
diff --git a/themes/images/nbeat/00_winset_control_top_noshadow_bg.png b/themes/images/nbeat/00_winset_control_top_noshadow_bg.png
new file mode 100644 (file)
index 0000000..0cae35b
Binary files /dev/null and b/themes/images/nbeat/00_winset_control_top_noshadow_bg.png differ