summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-11 11:21:20 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-11 11:21:20 +0000
commiteca1d8af3589e8aa8f0f04a4aa6ec9ffd51f9037 (patch)
tree04427deb71b70efaa61b5326101f21329ae632ce /data
parentd517d375356f25c2062fef812723911107d01eb0 (diff)
add focus-out color class and functionality to default theme
SVN revision: 82628
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/comp.edc34
1 files changed, 30 insertions, 4 deletions
diff --git a/data/themes/edc/comp.edc b/data/themes/edc/comp.edc
index d9ceef767..aa3457629 100644
--- a/data/themes/edc/comp.edc
+++ b/data/themes/edc/comp.edc
@@ -224,6 +224,13 @@ group { name: "e/comp/default";
224 alias: "e/comp/popup"; 224 alias: "e/comp/popup";
225 images.image: "win_shadow.png" COMP; 225 images.image: "win_shadow.png" COMP;
226 images.image: "win_glow.png" COMP; 226 images.image: "win_glow.png" COMP;
227 color_classes {
228 color_class {
229 name: "comp_focus-out_color";
230 color: 253 253 253 255;
231 color3: 0 0 0 0;
232 }
233 }
227 parts { 234 parts {
228 part { name: "clipper"; type: RECT; 235 part { name: "clipper"; type: RECT;
229 description { state: "default" 0.0; 236 description { state: "default" 0.0;
@@ -288,8 +295,23 @@ group { name: "e/comp/default";
288 rel2.relative: 1.0 1.0; 295 rel2.relative: 1.0 1.0;
289 } 296 }
290 } 297 }
291 part { name: "e.swallow.content"; type: SWALLOW; 298 part { name: "focus-clipper";
299 type: RECT;
292 clip_to: "clipper"; 300 clip_to: "clipper";
301 mouse_events: 0;
302 description { state: "default" 0.0;
303 color_class: "comp_focus-out_color";
304 rel1.to: "clipper";
305 rel2.to: "clipper";
306 }
307 description { state: "focused" 0.0;
308 inherit: "default" 0.0;
309 color_class: "";
310 color: 255 255 255 255;
311 }
312 }
313 part { name: "e.swallow.content"; type: SWALLOW;
314 clip_to: "focus-clipper";
293 description { state: "default" 0.0; 315 description { state: "default" 0.0;
294 rel1.to: "shower"; 316 rel1.to: "shower";
295 rel2.to: "shower"; 317 rel2.to: "shower";
@@ -334,6 +356,7 @@ group { name: "e/comp/default";
334 action: STATE_SET "focused" 0.0; 356 action: STATE_SET "focused" 0.0;
335 transition: SINUSOIDAL 0.1; 357 transition: SINUSOIDAL 0.1;
336 target: "glow"; 358 target: "glow";
359 target: "focus-clipper";
337 after: "focus2"; 360 after: "focus2";
338 } 361 }
339 program { name: "focus2"; 362 program { name: "focus2";
@@ -341,9 +364,12 @@ group { name: "e/comp/default";
341 transition: SINUSOIDAL 0.4; 364 transition: SINUSOIDAL 0.4;
342 target: "glow"; 365 target: "glow";
343 } 366 }
344// program { 367 program {
345// signal: "e,state,focus,off"; source: "e"; 368 signal: "e,state,focus,off"; source: "e";
346// } 369 action: STATE_SET "default" 0.0;
370 transition: SINUSOIDAL 0.1;
371 target: "focus-clipper";
372 }
347 program { name: "urgent1"; 373 program { name: "urgent1";
348 signal: "e,state,urgent,on"; source: "e"; 374 signal: "e,state,urgent,on"; source: "e";
349 action: STATE_SET "focused" 0.0; 375 action: STATE_SET "focused" 0.0;