summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2013-12-21 18:25:21 -0500
committerMike Blumenkrantz <zmike@samsung.com>2014-01-14 20:14:55 -0500
commit8d3d622e6ddcb792f658b6c25af8820e29fca240 (patch)
tree87c99740cd4945a2f783e41fabf6dcdf3f77ab05 /data/themes
parentf35f99faea8da89552ec53667f089b834ffae0d3 (diff)
readd deskmirror
this file seems to have been magically and mysteriously lost during the recent theme merge
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/Makefile.am1
-rw-r--r--data/themes/default.edc1
-rw-r--r--data/themes/edc/deskmirror.edc425
3 files changed, 427 insertions, 0 deletions
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am
index ead4be1..e529153 100644
--- a/data/themes/Makefile.am
+++ b/data/themes/Makefile.am
@@ -46,6 +46,7 @@ edc/connman.edc \
46edc/cpufreq.edc \ 46edc/cpufreq.edc \
47edc/cslider.edc \ 47edc/cslider.edc \
48edc/desklock.edc \ 48edc/desklock.edc \
49edc/deskmirror.edc \
49edc/deskpreview.edc \ 50edc/deskpreview.edc \
50edc/dialog.edc \ 51edc/dialog.edc \
51edc/edgebindings.edc \ 52edc/edgebindings.edc \
diff --git a/data/themes/default.edc b/data/themes/default.edc
index c8308a1..bba27bf 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -81,6 +81,7 @@ collections {
81#include "edc/sys.edc" 81#include "edc/sys.edc"
82#include "edc/winlist.edc" 82#include "edc/winlist.edc"
83#include "edc/desklock.edc" 83#include "edc/desklock.edc"
84#include "edc/deskmirror.edc"
84#include "edc/wizard.edc" 85#include "edc/wizard.edc"
85#include "edc/init.edc" 86#include "edc/init.edc"
86#include "edc/about-e.edc" 87#include "edc/about-e.edc"
diff --git a/data/themes/edc/deskmirror.edc b/data/themes/edc/deskmirror.edc
new file mode 100644
index 0000000..7d164bd
--- /dev/null
+++ b/data/themes/edc/deskmirror.edc
@@ -0,0 +1,425 @@
1group { name: "e/deskmirror/frame/default";
2 alias: "e/deskmirror/frame/dialog";
3 alias: "e/deskmirror/frame/urgent";
4 alias: "e/deskmirror/frame/sparkle";
5 images.image: "win_shadow.png" COMP;
6 script {
7 public message(Msg_Type:type, id, ...) {
8 /* set scale */
9 new sc;
10
11 sc = getarg(2);
12 custom_state(PART:"title2", "default", 0.0);
13 custom_state(PART:"top", "default", 0.0);
14 custom_state(PART:"e.text.title", "default", 0.0);
15 custom_state(PART:"bottom", "default", 0.0);
16 set_state_val(PART:"title2", STATE_REL1, 0, 0.0 - sc);
17 set_state_val(PART:"top", STATE_REL1, 0, 0.0 - sc);
18 set_state_val(PART:"e.text.title", STATE_REL1, 0, 0.0 - sc);
19 set_state_val(PART:"bottom", STATE_REL2, 1, sc);
20 set_state(PART:"title2", "custom", 0.0);
21 set_state(PART:"top", "custom", 0.0);
22 set_state(PART:"e.text.title", "custom", 0.0);
23 set_state(PART:"e.swallow.client", "custom", 0.0);
24 set_state(PART:"bottom", "custom", 0.0);
25 }
26 }
27 parts {
28 part { name: "client_clip"; type: RECT;
29 description { state: "default" 0.0;
30 rel1.to_y: "e.swallow.client";
31 rel2.to_y: "e.swallow.client";
32 }
33 }
34 part { name: "e.swallow.client"; type: SWALLOW;
35 clip_to: "client_clip";
36 description { state: "default" 0.0;
37 rel1.to_y: "top";
38 rel1.relative: 0 1;
39 }
40 }
41 part { name: "top";
42 description { state: "default" 0.0;
43 color_class: "border_top";
44 image.normal: "vgrad_med_lighter.png";
45 fill.smooth: 0;
46 TILED_HORIZ(120)
47 rel2.to_y: "title2";
48 rel2.offset: -1 -4;
49 min: 0 1;
50 }
51 }
52 part { name: "bevel"; mouse_events: 0;
53 description { state: "default" 0.0;
54 image.normal: "bevel_out.png";
55 image.border: 1 1 1 1;
56 image.middle: 0;
57 rel1.to: "top";
58 rel2.to: "top";
59 fill.smooth: 0;
60 }
61 }
62 part { name: "e.text.title"; type: TEXT; mouse_events: 0;
63 scale: 1;
64 effect: SHADOW BOTTOM;
65 description { state: "default" 0.0;
66 color_class: "border_title";
67 rel1.offset: 1 3;
68 rel2.relative: 1.0 0.0;
69 rel2.offset: -2 3;
70 align: 0.5 0.0;
71 color: 21 21 21 255;
72 color3: 255 255 255 25;
73 text { font: "Sans:style=Bold";
74 fit: 0 1;
75 text_class: "title_bar";
76 align: 0.5 0.0;
77 min: 0 1;
78 }
79 fixed: 0 1;
80 }
81 }
82 part { name: "title2"; type: TEXT; mouse_events: 0;
83 scale: 1;
84 effect: SOFT_SHADOW BOTTOM;
85 description { state: "default" 0.0;
86 color_class: "border_title_active";
87 rel1.offset: 1 2;
88 rel2.relative: 1.0 0.0;
89 rel2.offset: -1 2;
90 align: 0.5 0.0;
91 color: 255 255 255 255;
92 color3: 0 0 0 18;
93 text { font: "Sans:style=Bold";
94 fit: 0 1;
95 text_source: "e.text.title";
96 text_class: "title_bar";
97 align: 0.5 0.0;
98 min: 0 1;
99 }
100 visible: 0;
101 fixed: 0 1;
102 }
103 }
104 part { name: "bottom"; type: RECT; mouse_events: 0;
105 description { state: "default" 0.0;
106 color_class: "border_bottom";
107 rel1.to_y: "e.swallow.client";
108 rel1.relative: 0.0 1.0;
109 rel1.offset: 0 -3;
110 min: 0 1;
111 color: 64 64 64 255;
112 fixed: 0 1;
113 }
114 }
115 part { name: "bevel2"; mouse_events: 0;
116 description { state: "default" 0.0;
117 image.normal: "bevel_dark_out.png";
118 image.border: 1 1 1 1;
119 image.middle: 0;
120 rel1.to: "bottom";
121 rel2.to: "bottom";
122 fill.smooth: 0;
123 }
124 }
125 part { name: "shadow";
126 mouse_events: 0;
127 description { state: "default" 0.0;
128 image.normal: "win_shadow.png";
129 image.border: 14 14 14 14;
130 image.middle: 0;
131 rel1.to: "top";
132 rel1.offset: -7 -3;
133 rel2.to: "bottom";
134 rel2.offset: 6 11;
135 fill.smooth: 0;
136 }
137 }
138 part { name: "clone"; type: PROXY; mouse_events: 0;
139 description { state: "default";
140 source: "e.swallow.client";
141 rel1.to: "e.swallow.client";
142 rel2.to: "e.swallow.client";
143 visible: 0;
144 color: 255 255 255 0;
145 }
146 description { state: "urgent1";
147 inherit: "default" 0.0;
148 visible: 1;
149 color: 255 255 255 255;
150 }
151 description { state: "urgent2" 0.0;
152 inherit: "default" 0.0;
153 visible: 1;
154 rel1.relative: -2.0 -2.0;
155 rel2.relative: 3.0 3.0;
156 color: 255 255 255 0;
157 }
158 }
159 }
160 programs {
161 program { name: "urgent";
162 signal: "e,state,urgent"; source: "e";
163 action: ACTION_STOP;
164 target: "go_big";
165 target: "go_big2";
166 after: "go_big";
167 }
168 program { name: "go_big";
169 action: STATE_SET "urgent1" 0.0;
170 target: "clone";
171 after: "go_big2";
172 }
173 program { name: "go_big2";
174 action: STATE_SET "urgent2" 0.0;
175 transition: LINEAR 0.5;
176 target: "clone";
177 after: "go_big";
178 }
179 program { name: "not_urgent";
180 signal: "e,state,not_urgent"; source: "e";
181 action: ACTION_STOP;
182 target: "go_big";
183 target: "go_big2";
184 after: "go_hid";
185 }
186 program { name: "go_hid";
187 action: STATE_SET "default" 0.0;
188 transition: LINEAR 0.5;
189 target: "clone";
190 }
191 program { name: "shon";
192 signal: "e,state,shadow,on"; source: "e";
193 script {
194 custom_state(PART:"shadow", "default", 0.0);
195 set_state_val(PART:"shadow", STATE_VISIBLE, 1);
196 set_state(PART:"shadow", "custom", 0.0);
197 }
198 }
199 program { name: "shoff";
200 signal: "e,state,shadow,off"; source: "e";
201 script {
202 custom_state(PART:"shadow", "default", 0.0);
203 set_state_val(PART:"shadow", STATE_VISIBLE, 0);
204 set_state(PART:"shadow", "custom", 0.0);
205 }
206 }
207 program {
208 name: "focus";
209 signal: "e,state,focused"; source: "e";
210 script {
211 custom_state(PART:"top", "default", 0.0);
212#ifdef EFL_VERSION_MAJOR
213 set_state_val(PART:"top", STATE_IMAGE, get_image_id("vgrad_med_dark.png"));
214#endif
215 set_state(PART:"top", "custom", 0.0);
216 custom_state(PART:"title2", "default", 0.0);
217 set_state_val(PART:"title2", STATE_VISIBLE, 1);
218 set_state(PART:"title2", "custom", 0.0);
219 custom_state(PART:"e.text.title", "default", 0.0);
220 set_state_val(PART:"e.text.title", STATE_VISIBLE, 0);
221 set_state(PART:"e.text.title", "custom", 0.0);
222 }
223 }
224 program {
225 name: "unfocus";
226 signal: "e,state,unfocused"; source: "e";
227 script {
228 custom_state(PART:"top", "default", 0.0);
229#ifdef EFL_VERSION_MAJOR
230 set_state_val(PART:"top", STATE_IMAGE, get_image_id("vgrad_med_lighter.png"));
231#endif
232 set_state(PART:"top", "custom", 0.0);
233 custom_state(PART:"title2", "default", 0.0);
234 set_state_val(PART:"title2", STATE_VISIBLE, 0);
235 set_state(PART:"title2", "custom", 0.0);
236 custom_state(PART:"e.text.title", "default", 0.0);
237 set_state_val(PART:"e.text.title", STATE_VISIBLE, 1);
238 set_state(PART:"e.text.title", "custom", 0.0);
239 }
240 }
241 program {
242 name: "shade";
243 signal: "e,state,shaded"; source: "e";
244 script {
245 custom_state(PART:"e.swallow.client", "default", 0.0);
246 set_state_val(PART:"e.swallow.client", STATE_MAX, 1, 1);
247 set_state_val(PART:"e.swallow.client", STATE_VISIBLE, 0);
248 set_state(PART:"e.swallow.client", "custom", 0.0);
249 custom_state(PART:"client_clip", "default", 0.0);
250 set_state_val(PART:"client_clip", STATE_REL1_TO, get_part_id("top"), get_part_id("top"));
251 set_state_val(PART:"client_clip", STATE_REL2_TO, get_part_id("top"), get_part_id("top"));
252 set_state(PART:"client_clip", "custom", 0.0);
253 custom_state(PART:"bottom", "default", 0.0);
254 set_state_val(PART:"bottom", STATE_VISIBLE, 0);
255 set_state_val(PART:"bottom", STATE_MIN, 0, 0);
256 set_state_val(PART:"bottom", STATE_REL1_OFFSET, 0, 0);
257 set_state(PART:"bottom", "custom", 0.0);
258 custom_state(PART:"bevel2", "default", 0.0);
259 set_state_val(PART:"bevel2", STATE_VISIBLE, 0);
260 set_state_val(PART:"bevel2", STATE_MIN, 0, 0);
261 set_state(PART:"bevel2", "custom", 0.0);
262 custom_state(PART:"shadow", "default", 0.0);
263 set_state_val(PART:"shadow", STATE_REL2_TO, get_part_id("top"), get_part_id("top"));
264 set_state(PART:"shadow", "custom", 0.0);
265 }
266 }
267 program {
268 signal: "e,state,maximize*"; source: "e";
269 script {
270 custom_state(PART:"bottom", "default", 0.0);
271 set_state_val(PART:"bottom", STATE_VISIBLE, 0);
272 set_state_val(PART:"bottom", STATE_MIN, 0, 0);
273 set_state_val(PART:"bottom", STATE_REL1_OFFSET, 0, 0);
274 set_state(PART:"bottom", "custom", 0.0);
275 custom_state(PART:"bevel2", "default", 0.0);
276 set_state_val(PART:"bevel2", STATE_VISIBLE, 0);
277 set_state_val(PART:"bevel2", STATE_MIN, 0, 0);
278 set_state(PART:"bevel2", "custom", 0.0);
279 }
280 }
281 program {
282 signal: "e,state,unmaximize*"; source: "e";
283 after: "unshade";
284 }
285 program {
286 signal: "e,state,unshaded"; source: "e";
287 after: "unshade";
288 }
289 program {
290 name: "unshade";
291 signal: "e,state,unshading"; source: "e";
292 script {
293 custom_state(PART:"e.swallow.client", "default", 0.0);
294 set_state_val(PART:"e.swallow.client", STATE_MAX, 99999, 99999);
295 set_state_val(PART:"e.swallow.client", STATE_VISIBLE, 1);
296 set_state(PART:"e.swallow.client", "custom", 0.0);
297 custom_state(PART:"client_clip", "default", 0.0);
298 set_state_val(PART:"client_clip", STATE_REL1_TO, get_part_id("e.swallow.client"), get_part_id("e.swallow.client"));
299 set_state_val(PART:"client_clip", STATE_REL2_TO, get_part_id("e.swallow.client"), get_part_id("e.swallow.client"));
300 set_state(PART:"client_clip", "custom", 0.0);
301 custom_state(PART:"bottom", "default", 0.0);
302 set_state_val(PART:"bottom", STATE_VISIBLE, 1);
303 set_state_val(PART:"bottom", STATE_MIN, 0, 1);
304 set_state_val(PART:"bottom", STATE_REL1_OFFSET, 0, -3);
305 set_state(PART:"bottom", "custom", 0.0);
306 custom_state(PART:"bevel2", "default", 0.0);
307 set_state_val(PART:"bevel2", STATE_VISIBLE, 1);
308 set_state_val(PART:"bevel2", STATE_MIN, 0, 1);
309 set_state(PART:"bevel2", "custom", 0.0);
310 custom_state(PART:"shadow", "default", 0.0);
311 set_state_val(PART:"shadow", STATE_REL2_TO, get_part_id("bottom"), get_part_id("bottom"));
312 set_state(PART:"shadow", "custom", 0.0);
313 }
314 }
315 program {
316 signal: "e,action,maximize*"; source: "e";
317 action: STATE_SET "max" 0.0;
318 target: "e.swallow.client";
319 target: "bottom";
320 target: "bevel2";
321 }
322 program {
323 signal: "e,action,unmaximize*"; source: "e";
324 action: STATE_SET "default" 0.0;
325 target: "e.swallow.client";
326 target: "bottom";
327 target: "bevel2";
328 }
329 }
330}
331
332group { name: "e/deskmirror/frame/noresize";
333 inherit: "e/deskmirror/frame/default";
334 parts {
335 part { name: "e.swallow.client"; type: SWALLOW;
336 description { state: "default" 0.0;
337 rel2.relative: 1.0 1.0;
338 }
339 }
340 part { name: "bottom"; type: RECT;
341 description { state: "default" 0.0;
342 color_class: "border_bottom";
343 rel1.relative: 0.0 1.0;
344 rel1.offset: 0 -1;
345 rel2.relative: 1.0 1.0;
346 min: 0 0;
347 fixed: 0 1;
348 visible: 0;
349 }
350 }
351 part { name: "bevel2";
352 description { state: "default" 0.0;
353 visible: 0;
354 }
355 }
356 }
357}
358
359group { name: "e/deskmirror/frame/noresize_dialog";
360 inherit: "e/deskmirror/frame/default";
361 parts {
362 part { name: "e.swallow.client"; type: SWALLOW;
363 description { state: "default" 0.0;
364 rel2.relative: 1.0 1.0;
365 }
366 }
367 part { name: "bottom"; type: RECT;
368 description { state: "default" 0.0;
369 color_class: "border_bottom";
370 rel1.relative: 0.0 1.0;
371 rel1.offset: 0 -1;
372 rel2.relative: 1.0 1.0;
373 min: 0 0;
374 fixed: 0 1;
375 visible: 0;
376 }
377 }
378 part { name: "bevel2";
379 description { state: "default" 0.0;
380 visible: 0;
381 }
382 }
383 }
384}
385
386group { name: "e/deskmirror/frame/pixel";
387 parts {
388 part { name: "client_clip"; type: RECT;
389 description { state: "default" 0.0;
390 rel1.to_y: "e.swallow.client";
391 rel2.to_y: "e.swallow.client";
392 }
393 }
394 part { name: "e.swallow.client"; type: SWALLOW;
395 clip_to: "client_clip";
396 description { state: "default" 0.0;
397 }
398 }
399 part { name: "frame"; type: RECT;
400 description { state: "default" 0.0;
401 color: 0 0 0 255;
402 rel1.offset: -1 -1;
403 rel2.offset: 1 1;
404 }
405 description { state: "focused" 0.0;
406 inherit: "default" 0.0;
407 color: 51 153 255 255;
408 }
409 }
410 }
411 programs {
412 program {
413 name: "focus";
414 signal: "e,state,focused"; source: "e";
415 action: STATE_SET "focused" 0.0;
416 target: "frame";
417 }
418 program {
419 name: "unfocus";
420 signal: "e,state,unfocused"; source: "e";
421 action: STATE_SET "default" 0.0;
422 target: "frame";
423 }
424 }
425}