summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorStephen 'Okra' Houston <smhouston88@gmail.com>2017-07-12 13:07:22 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-07-12 13:07:58 -0500
commitd2ce06c69ba9e65ee5490108c0b21d0049ece5a1 (patch)
treeeec01aa419f842664855fea2260e19debb320065 /data
parent599cdc93fa69dd54e132aec65cdda313db0133c6 (diff)
Thermal theme: Remove text from theme and quit wasting space.
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/temperature.edc99
1 files changed, 97 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/temperature.edc b/data/elementary/themes/edc/temperature.edc
index d21f3a7a97..41a0d49e62 100644
--- a/data/elementary/themes/edc/temperature.edc
+++ b/data/elementary/themes/edc/temperature.edc
@@ -1,6 +1,4 @@
1group { name: "e/modules/temperature/main"; 1group { name: "e/modules/temperature/main";
2 alias: "e/gadget/thermal/main";
3 alias: "e/gadget/thermal/main_vert";
4 images.image: "therm_content.png" COMP; 2 images.image: "therm_content.png" COMP;
5 images.image: "therm_shadow.png" COMP; 3 images.image: "therm_shadow.png" COMP;
6 images.image: "therm_shine.png" COMP; 4 images.image: "therm_shine.png" COMP;
@@ -115,4 +113,101 @@ group { name: "e/modules/temperature/main";
115 } 113 }
116} 114}
117 115
116group { name: "e/gadget/thermal/main";
117 alias: "e/gadget/thermal/main_vert";
118 images.image: "therm_content.png" COMP;
119 images.image: "therm_shadow.png" COMP;
120 images.image: "therm_shine.png" COMP;
121 script {
122 public message(Msg_Type:type, id, ...) {
123 if ((type == MSG_FLOAT) && (id == 1)) {
124 new Float:val;
125 val = getfarg(2);
126 set_drag(PART:"temp_top", 0.0, val);
127 }
128 }
129 }
130 parts {
131 part { name: "base"; type: SPACER;
132 description { state: "default" 0.0;
133 aspect: (80 / 160) (80 / 160);
134 aspect_preference: BOTH;
135 }
136 }
137 part { name: "shadow";
138 description { state: "default" 0.0;
139 rel1.to: "base";
140 rel2.to: "base";
141 image.normal: "therm_shadow.png";
142 }
143 }
144 part { name: "temp";
145 clip_to: "temp_clip";
146 description { state: "default" 0.0;
147 rel1.to: "base";
148 rel2.to: "base";
149 image.normal: "therm_content.png";
150 }
151 }
152 part { name: "overlay";
153 description { state: "default" 0.0;
154 rel1.to: "base";
155 rel2.to: "base";
156 image.normal: "therm_shine.png";
157 }
158 }
159 part { name: "fade_clip"; type: RECT;
160 description { state: "default" 0.0;
161 rel1.to_x: "base";
162 rel2.to_x: "base";
163 color: 255 255 255 255;
164 }
165 description { state: "faded" 0.0;
166 color: 255 255 255 128;
167 }
168 }
169 part { name: "temp_clip"; type: RECT;
170 clip_to: "fade_clip";
171 description { state: "default" 0.0;
172 rel1.to_x: "base";
173 rel2.to_x: "base";
174 rel1.to_y: "temp_top";
175 }
176 }
177 part { name: "temp_top"; type: SPACER;
178 dragable.x: 0 0 0;
179 dragable.y: -1 1 0;
180 dragable.confine: "temp_limit";
181 description { state: "default" 0.0;
182 }
183 }
184 part { name: "temp_limit"; type: SPACER;
185 description { state: "default" 0.0;
186 rel1.to_x: "base";
187 rel2.to_x: "base";
188 rel1.relative: 0.0 0.1;
189 rel2.relative: 1.0 0.9;
190 }
191 }
192 part { name: "over"; type: RECT;
193 description { state: "default" 0.0;
194 rel1.to_x: "base";
195 rel2.to_x: "base";
196 color: 0 0 0 0;
197 }
198 }
199 }
200 programs {
201 program {
202 signal: "e,state,known"; source: "e";
203 action: STATE_SET "default" 0.0;
204 target: "fade_clip";
205 }
206 program {
207 signal: "e,state,unknown"; source: "e";
208 action: STATE_SET "faded" 0.0;
209 target: "fade_clip";
210 }
211 }
212}
118 213