summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinwoo.shin <jw0227.shin@samsung.com>2015-08-19 13:58:15 +0900
committerjinwoo.shin <jw0227.shin@samsung.com>2015-08-19 13:58:15 +0900
commit08c6b9853d52588b59a5bb138d201733224d6f37 (patch)
treee73421698116604323efc786488a2d6b94870401
parent94978098d7df5e96124991057db50350199def3c (diff)
downloadair_livetv-08c6b9853d52588b59a5bb138d201733224d6f37.tar.gz
air_livetv-08c6b9853d52588b59a5bb138d201733224d6f37.tar.bz2
air_livetv-08c6b9853d52588b59a5bb138d201733224d6f37.zip
Add button focus
Change-Id: I8ec643b06f78729df54375c5a372c99627465b61 Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
-rw-r--r--data/widget/button.edc28
1 files changed, 28 insertions, 0 deletions
diff --git a/data/widget/button.edc b/data/widget/button.edc
index ff68e9f..0e37d8e 100644
--- a/data/widget/button.edc
+++ b/data/widget/button.edc
@@ -29,6 +29,11 @@ group {
state, "default" 0.0;
min, 0 64;
}
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 0 119 246 255;
+ }
}
part {
@@ -86,6 +91,11 @@ group {
align, 0.5 0.5;
}
}
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ }
}
part {
@@ -166,6 +176,24 @@ group {
}
}
}
+ programs {
+ program {
+ name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "part.bg";
+ target: "elm.text";
+ }
+ program {
+ name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "part.bg";
+ target: "elm.text";
+ }
+ }
}
#define DEFAULT 1