summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJee-Yong Um <jc9.um@samsung.com>2016-01-28 18:57:10 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2016-01-28 19:01:27 +0900
commita61b38bbfefa17a4f987ec1d23d8c0e8351eedd5 (patch)
treedffb9b4fe45b29f2d789b84a4a37f3221460283b /data
parent9b2aa79f81b5df3859224cee671f25927b26bc4a (diff)
downloadelementary-a61b38bbfefa17a4f987ec1d23d8c0e8351eedd5.tar.gz
elm_focus: refine focus.edc
Summary: remove whitespaces and add programs block Reviewers: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D3616 Conflicts: data/themes/edc/elm/focus.edc
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/elm/focus.edc10
1 files changed, 6 insertions, 4 deletions
diff --git a/data/themes/edc/elm/focus.edc b/data/themes/edc/elm/focus.edc
index c080505d2..789a73a50 100644
--- a/data/themes/edc/elm/focus.edc
+++ b/data/themes/edc/elm/focus.edc
@@ -24,12 +24,12 @@ group { name: "elm/focus_highlight/top/default";
set_int(g_anim_id, 0);
}
}
-
+
public update_offset(x, y, w, h) {
set_state_val(PART:"base", STATE_REL1_OFFSET, x, y);
set_state_val(PART:"base", STATE_REL2_OFFSET, x + w, y + h);
}
-
+
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 1)) {
new x1, y1, w1, h1, x2, y2, w2, h2;
@@ -49,7 +49,7 @@ group { name: "elm/focus_highlight/top/default";
y2 = getarg(7);
w2 = getarg(8);
h2 = getarg(9);
-
+
set_int(s_x, x1);
set_int(s_y, y1);
set_int(s_w, w1);
@@ -58,7 +58,7 @@ group { name: "elm/focus_highlight/top/default";
set_int(dify, y2 - y1);
set_int(difw, w2 - w1);
set_int(difh, h2 - h1);
-
+
custom_state(PART:"base", "default", 0.0);
set_state_val(PART:"base", STATE_REL1, 0.0, 0.0);
set_state_val(PART:"base", STATE_REL2, 0.0, 0.0);
@@ -115,6 +115,8 @@ group { name: "elm/focus_highlight/top/default";
color: 255 255 255 255;
}
}
+ }
+ programs {
program {
signal: "elm,action,focus,show"; source: "elm";
action: ACTION_STOP;