summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWonguk Jeong <wonguk.jeong@samsung.com>2014-07-23 00:49:43 +0900
committerWonguk Jeong <wonguk.jeong@samsung.com>2014-07-23 00:49:43 +0900
commit508fad6a85b0307466919f204d0d0228e532a7cb (patch)
tree498428b625e954280915a229bcd4a3cc4cd60e8c /data
parentf08f457697a41014ae7d61bff671d1750579be27 (diff)
theme: align transparency msg formatting with default theme
Diffstat (limited to 'data')
-rw-r--r--data/themes/mild.edc6
-rw-r--r--data/themes/nyanology/default.edc4
-rw-r--r--data/themes/nyanology/nyanology.edc4
3 files changed, 7 insertions, 7 deletions
diff --git a/data/themes/mild.edc b/data/themes/mild.edc
index c976b34..43e31c8 100644
--- a/data/themes/mild.edc
+++ b/data/themes/mild.edc
@@ -43,9 +43,9 @@ collections {
43 public message(Msg_Type:type, id, ...) { 43 public message(Msg_Type:type, id, ...) {
44 new r, g, b, a, v; 44 new r, g, b, a, v;
45 45
46 if (type != MSG_INT || id != 1) return; 46 if ((type != MSG_INT) || (id != 1)) return;
47 47
48 v = getarg(2) * 255 / 100; 48 v = (getarg(2) * 255) / 100;
49 49
50 custom_state(PART:"base", "default", 0.0); 50 custom_state(PART:"base", "default", 0.0);
51 get_state_val(PART:"base", STATE_COLOR, r, g, b, a); 51 get_state_val(PART:"base", STATE_COLOR, r, g, b, a);
@@ -1276,7 +1276,7 @@ collections {
1276 } 1276 }
1277 script { 1277 script {
1278 public message(Msg_Type:type, id, ...) { 1278 public message(Msg_Type:type, id, ...) {
1279 if (type != MSG_INT || id != 1) return; 1279 if ((type != MSG_INT) || (id != 1)) return;
1280 1280
1281 if (getarg(2) < 100) 1281 if (getarg(2) < 100)
1282 set_state(PART:"fill", "translucent", 0.0); 1282 set_state(PART:"fill", "translucent", 0.0);
diff --git a/data/themes/nyanology/default.edc b/data/themes/nyanology/default.edc
index 8515657..cb04970 100644
--- a/data/themes/nyanology/default.edc
+++ b/data/themes/nyanology/default.edc
@@ -20,9 +20,9 @@ collections {
20 public message(Msg_Type:type, id, ...) { 20 public message(Msg_Type:type, id, ...) {
21 new r, g, b, a, v; 21 new r, g, b, a, v;
22 22
23 if (type != MSG_INT || id != 1) return; 23 if ((type != MSG_INT) || (id != 1)) return;
24 24
25 v = getarg(2) * 255 / 100; 25 v = (getarg(2) * 255) / 100;
26 26
27 custom_state(PART:"shadow", "default", 0.0); 27 custom_state(PART:"shadow", "default", 0.0);
28 get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a); 28 get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);
diff --git a/data/themes/nyanology/nyanology.edc b/data/themes/nyanology/nyanology.edc
index bbbe90e..9c63bdd 100644
--- a/data/themes/nyanology/nyanology.edc
+++ b/data/themes/nyanology/nyanology.edc
@@ -16,9 +16,9 @@ collections {
16 public message(Msg_Type:type, id, ...) { 16 public message(Msg_Type:type, id, ...) {
17 new r, g, b, a, v; 17 new r, g, b, a, v;
18 18
19 if (type != MSG_INT || id != 1) return; 19 if ((type != MSG_INT) || (id != 1)) return;
20 20
21 v = getarg(2) * 255 / 100; 21 v = (getarg(2) * 255) / 100;
22 22
23 custom_state(PART:"base", "default", 0.0); 23 custom_state(PART:"base", "default", 0.0);
24 get_state_val(PART:"base", STATE_COLOR, r, g, b, a); 24 get_state_val(PART:"base", STATE_COLOR, r, g, b, a);