[toolbar] added focus ui for toolbar
authorHosang Kim <hosang12.kim@samsung.com>
Wed, 19 Jun 2013 10:27:30 +0000 (19:27 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Thu, 27 Jun 2013 04:25:02 +0000 (13:25 +0900)
Change-Id: Ieb026530e93b50541354aa421b7cc0fdbb5a4864

themes/widgets/toolbar.edc

index a5e5a09..f4b0a92 100644 (file)
@@ -60,6 +60,9 @@ styles{
 }
 
 group { name: "elm/toolbar/base/default";
+   data {
+      item: "focus_highlight" "on";
+   }
    images {
        image: "00_toolbar_bg.png" COMP;
    }
@@ -128,6 +131,7 @@ group { name: "elm/toolbar/base/default";
 group { name: "elm/toolbar/item/default";
    images {
       image: "00_toolbar_press.png" COMP;
+      image: "00_tab_focus.png" COMP;
    }
 
    data.item: "transition_animation_on" "1";
@@ -350,6 +354,22 @@ group { name: "elm/toolbar/item/default";
             color: 0 0 0 0;
          }
       }
+      part { name: "highlight";
+         type: IMAGE;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            image {
+                normal: "00_tab_focus.png";
+                border: 8 8 8 8;
+                border_scale: 1;
+            }
+         }
+         description { state: "highlighted" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+         }
+      }
    }
    programs {
       program { name: "pressed";
@@ -499,6 +519,18 @@ group { name: "elm/toolbar/item/default";
          action: STATE_SET "hidden" 0.0;
          target: "divider";
       }
+      program { name: "highlight_on";
+         signal: "elm,highlight,on";
+         source: "elm";
+         action: STATE_SET "highlighted" 0.0;
+         target: "highlight";
+      }
+      program { name: "highlight_off";
+         signal: "elm,highlight,off";
+         source: "elm";
+         action: STATE_SET "default" 0.0;
+         target: "highlight";
+      }
    }
 }
 
@@ -564,6 +596,9 @@ group { name: "elm/toolbar/object/default";
 }
 
 group { name: "elm/toolbar/base/tabbar";
+   data {
+      item: "focus_highlight" "on";
+   }
    images {
       image: "00_effect_tab_bounce_left.png" COMP;
       image: "00_effect_tab_bounce_right.png" COMP;