summaryrefslogtreecommitdiff
path: root/data/themes/edc/deskmirror.edc
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-19 22:22:16 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-01-14 20:16:13 -0500
commita9ddcfbafc56ac9e073ae3164a49a6322cb4e273 (patch)
treefb5c8875528e095ca2c83e9e1b50c5ea66ecca30 /data/themes/edc/deskmirror.edc
parent1371bda65320d4461008e906dbfa5c1d6ee64ec0 (diff)
feature: iconify/uniconify animations for windows
Diffstat (limited to 'data/themes/edc/deskmirror.edc')
-rw-r--r--data/themes/edc/deskmirror.edc40
1 files changed, 40 insertions, 0 deletions
diff --git a/data/themes/edc/deskmirror.edc b/data/themes/edc/deskmirror.edc
index 7d164bd..5a81ed9 100644
--- a/data/themes/edc/deskmirror.edc
+++ b/data/themes/edc/deskmirror.edc
@@ -31,11 +31,20 @@ group { name: "e/deskmirror/frame/default";
31 rel2.to_y: "e.swallow.client"; 31 rel2.to_y: "e.swallow.client";
32 } 32 }
33 } 33 }
34 part { name: "spacer"; type: SPACER;
35 description { state: "default";
36 }
37 description { state: "iconic";
38 rel1.relative: 0.0 1.0;
39 rel2.relative: 0.0 1.0;
40 }
41 }
34 part { name: "e.swallow.client"; type: SWALLOW; 42 part { name: "e.swallow.client"; type: SWALLOW;
35 clip_to: "client_clip"; 43 clip_to: "client_clip";
36 description { state: "default" 0.0; 44 description { state: "default" 0.0;
37 rel1.to_y: "top"; 45 rel1.to_y: "top";
38 rel1.relative: 0 1; 46 rel1.relative: 0 1;
47 rel2.to: "spacer";
39 } 48 }
40 } 49 }
41 part { name: "top"; 50 part { name: "top";
@@ -44,6 +53,7 @@ group { name: "e/deskmirror/frame/default";
44 image.normal: "vgrad_med_lighter.png"; 53 image.normal: "vgrad_med_lighter.png";
45 fill.smooth: 0; 54 fill.smooth: 0;
46 TILED_HORIZ(120) 55 TILED_HORIZ(120)
56 rel1.to: "spacer";
47 rel2.to_y: "title2"; 57 rel2.to_y: "title2";
48 rel2.offset: -1 -4; 58 rel2.offset: -1 -4;
49 min: 0 1; 59 min: 0 1;
@@ -65,8 +75,10 @@ group { name: "e/deskmirror/frame/default";
65 description { state: "default" 0.0; 75 description { state: "default" 0.0;
66 color_class: "border_title"; 76 color_class: "border_title";
67 rel1.offset: 1 3; 77 rel1.offset: 1 3;
78 rel1.to: "spacer";
68 rel2.relative: 1.0 0.0; 79 rel2.relative: 1.0 0.0;
69 rel2.offset: -2 3; 80 rel2.offset: -2 3;
81 rel2.to: "spacer";
70 align: 0.5 0.0; 82 align: 0.5 0.0;
71 color: 21 21 21 255; 83 color: 21 21 21 255;
72 color3: 255 255 255 25; 84 color3: 255 255 255 25;
@@ -85,8 +97,10 @@ group { name: "e/deskmirror/frame/default";
85 description { state: "default" 0.0; 97 description { state: "default" 0.0;
86 color_class: "border_title_active"; 98 color_class: "border_title_active";
87 rel1.offset: 1 2; 99 rel1.offset: 1 2;
100 rel1.to: "spacer";
88 rel2.relative: 1.0 0.0; 101 rel2.relative: 1.0 0.0;
89 rel2.offset: -1 2; 102 rel2.offset: -1 2;
103 rel2.to: "spacer";
90 align: 0.5 0.0; 104 align: 0.5 0.0;
91 color: 255 255 255 255; 105 color: 255 255 255 255;
92 color3: 0 0 0 18; 106 color3: 0 0 0 18;
@@ -105,8 +119,10 @@ group { name: "e/deskmirror/frame/default";
105 description { state: "default" 0.0; 119 description { state: "default" 0.0;
106 color_class: "border_bottom"; 120 color_class: "border_bottom";
107 rel1.to_y: "e.swallow.client"; 121 rel1.to_y: "e.swallow.client";
122 rel1.to_x: "spacer";
108 rel1.relative: 0.0 1.0; 123 rel1.relative: 0.0 1.0;
109 rel1.offset: 0 -3; 124 rel1.offset: 0 -3;
125 rel2.to: "spacer";
110 min: 0 1; 126 min: 0 1;
111 color: 64 64 64 255; 127 color: 64 64 64 255;
112 fixed: 0 1; 128 fixed: 0 1;
@@ -326,6 +342,30 @@ group { name: "e/deskmirror/frame/default";
326 target: "bottom"; 342 target: "bottom";
327 target: "bevel2"; 343 target: "bevel2";
328 } 344 }
345 program { name: "iconify";
346 action: STATE_SET "iconic" 0.0;
347 transition: DECELERATE 0.4 CURRENT;
348 target: "spacer";
349 }
350 program { name: "uniconify";
351 action: STATE_SET "default" 0.0;
352 transition: DECELERATE 0.4 CURRENT;
353 target: "spacer";
354 }
355 program {
356 signal: "e,action,uniconify"; source: "e";
357 script {
358 stop_program(get_program_id("iconify"));
359 run_program(get_program_id("uniconify"));
360 }
361 }
362 program {
363 signal: "e,action,iconify"; source: "e";
364 script {
365 stop_program(get_program_id("uniconify"));
366 run_program(get_program_id("iconify"));
367 }
368 }
329 } 369 }
330} 370}
331 371