summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-21 18:16:22 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-21 18:16:22 +0900
commit96b43d79dd0fbf31046cd38dc975ea5b76c5b23f (patch)
tree49c72720b48300de873d8ba2d12bc29963d135ae /data
parentc029c9fe9bc7456c77353b9c0447f1a14c67de93 (diff)
theme - improve transparency msg formatting with brackets
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc12
1 files changed, 6 insertions, 6 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index fdf2455..e758974 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -114,9 +114,9 @@ collections {
114 public message(Msg_Type:type, id, ...) { 114 public message(Msg_Type:type, id, ...) {
115 new r, g, b, a, v; 115 new r, g, b, a, v;
116 116
117 if (type != MSG_INT || id != 1) return; 117 if ((type != MSG_INT) || (id != 1)) return;
118 118
119 v = getarg(2) * 255 / 100; 119 v = (getarg(2) * 255) / 100;
120 120
121 custom_state(PART:"fade", "default", 0.0); 121 custom_state(PART:"fade", "default", 0.0);
122 get_state_val(PART:"fade", STATE_COLOR, r, g, b, a); 122 get_state_val(PART:"fade", STATE_COLOR, r, g, b, a);
@@ -216,9 +216,9 @@ collections {
216 public message(Msg_Type:type, id, ...) { 216 public message(Msg_Type:type, id, ...) {
217 new r, g, b, a, v; 217 new r, g, b, a, v;
218 218
219 if (type != MSG_INT || id != 1) return; 219 if ((type != MSG_INT) || (id != 1)) return;
220 220
221 v = getarg(2) * 255 / 100; 221 v = (getarg(2) * 255) / 100;
222 222
223 custom_state(PART:"shadow", "default", 0.0); 223 custom_state(PART:"shadow", "default", 0.0);
224 get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a); 224 get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);
@@ -2609,9 +2609,9 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
2609 public message(Msg_Type:type, id, ...) { 2609 public message(Msg_Type:type, id, ...) {
2610 new r, g, b, a, v; 2610 new r, g, b, a, v;
2611 2611
2612 if (type != MSG_INT || id != 1) return; 2612 if ((type != MSG_INT) || (id != 1)) return;
2613 2613
2614 v = getarg(2) * 255 / 100; 2614 v = (getarg(2) * 255) / 100;
2615 2615
2616 custom_state(PART:"shadow", "default", 0.0); 2616 custom_state(PART:"shadow", "default", 0.0);
2617 get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a); 2617 get_state_val(PART:"shadow", STATE_COLOR, r, g, b, a);