[Toolbar] Add the feature for key event.
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 16 Apr 2013 10:56:20 +0000 (19:56 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 12 Jun 2013 08:52:37 +0000 (17:52 +0900)
Change-Id: I895b7b3a4fc84181d7bd227c738995310dbe39c1

themes/widgets/toolbar.edc

index 66d1e40..a480aad 100644 (file)
@@ -1396,6 +1396,7 @@ group { name: "elm/toolbar/item/tabbar";
    images {
       image: "00_tab_press.png" COMP;
       image: "00_badge_bg.png" COMP;
+      image: "00_focus.png" COMP;
    }
 
    data.item: "transition_animation_on" "1";
@@ -2048,6 +2049,20 @@ group { name: "elm/toolbar/item/tabbar";
             }
          }
       }
+      part { name: "highlight";
+         type: IMAGE;
+         description { state: "default" 0.0;
+            visible: 0;
+            image {
+                normal: "00_focus.png";
+                border: 8 8 8 8;
+            }
+         }
+         description { state: "highlighted" 0.0;
+            inherit: "default" 0.0;
+            visible: 1;
+         }
+      }
       part { name: "event";
          type: RECT;
          mouse_events: 1;
@@ -2492,6 +2507,18 @@ group { name: "elm/toolbar/item/tabbar";
          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";
+      }
    }
 }