From d5b1f4da8aa226b5bd2dded8a524618ccf9f1b7e Mon Sep 17 00:00:00 2001 From: Hosang Kim Date: Wed, 19 Jun 2013 19:27:30 +0900 Subject: [PATCH] [toolbar] added focus ui for toolbar Change-Id: Ieb026530e93b50541354aa421b7cc0fdbb5a4864 --- themes/widgets/toolbar.edc | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/themes/widgets/toolbar.edc b/themes/widgets/toolbar.edc index a5e5a09..f4b0a92 100644 --- a/themes/widgets/toolbar.edc +++ b/themes/widgets/toolbar.edc @@ -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; -- 2.7.4