summaryrefslogtreecommitdiff
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
parent9b2aa79f81b5df3859224cee671f25927b26bc4a (diff)
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
-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";
24 set_int(g_anim_id, 0); 24 set_int(g_anim_id, 0);
25 } 25 }
26 } 26 }
27 27
28 public update_offset(x, y, w, h) { 28 public update_offset(x, y, w, h) {
29 set_state_val(PART:"base", STATE_REL1_OFFSET, x, y); 29 set_state_val(PART:"base", STATE_REL1_OFFSET, x, y);
30 set_state_val(PART:"base", STATE_REL2_OFFSET, x + w, y + h); 30 set_state_val(PART:"base", STATE_REL2_OFFSET, x + w, y + h);
31 } 31 }
32 32
33 public message(Msg_Type:type, id, ...) { 33 public message(Msg_Type:type, id, ...) {
34 if ((type == MSG_INT_SET) && (id == 1)) { 34 if ((type == MSG_INT_SET) && (id == 1)) {
35 new x1, y1, w1, h1, x2, y2, w2, h2; 35 new x1, y1, w1, h1, x2, y2, w2, h2;
@@ -49,7 +49,7 @@ group { name: "elm/focus_highlight/top/default";
49 y2 = getarg(7); 49 y2 = getarg(7);
50 w2 = getarg(8); 50 w2 = getarg(8);
51 h2 = getarg(9); 51 h2 = getarg(9);
52 52
53 set_int(s_x, x1); 53 set_int(s_x, x1);
54 set_int(s_y, y1); 54 set_int(s_y, y1);
55 set_int(s_w, w1); 55 set_int(s_w, w1);
@@ -58,7 +58,7 @@ group { name: "elm/focus_highlight/top/default";
58 set_int(dify, y2 - y1); 58 set_int(dify, y2 - y1);
59 set_int(difw, w2 - w1); 59 set_int(difw, w2 - w1);
60 set_int(difh, h2 - h1); 60 set_int(difh, h2 - h1);
61 61
62 custom_state(PART:"base", "default", 0.0); 62 custom_state(PART:"base", "default", 0.0);
63 set_state_val(PART:"base", STATE_REL1, 0.0, 0.0); 63 set_state_val(PART:"base", STATE_REL1, 0.0, 0.0);
64 set_state_val(PART:"base", STATE_REL2, 0.0, 0.0); 64 set_state_val(PART:"base", STATE_REL2, 0.0, 0.0);
@@ -115,6 +115,8 @@ group { name: "elm/focus_highlight/top/default";
115 color: 255 255 255 255; 115 color: 255 255 255 255;
116 } 116 }
117 } 117 }
118 }
119 programs {
118 program { 120 program {
119 signal: "elm,action,focus,show"; source: "elm"; 121 signal: "elm,action,focus,show"; source: "elm";
120 action: ACTION_STOP; 122 action: ACTION_STOP;