summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2021-04-01 07:48:32 +0100
committerAlastair Poole <netstar@gmail.com>2021-04-01 07:48:32 +0100
commit05448fc5572e54902a268fb91ca1e528335b1e6b (patch)
tree08891cbb8bd76e50275cabaaacce37f8ada74a14
parentbde646a9d722f67b19df98fb3e26d273347e7820 (diff)
winlist: BIG MODE
-rw-r--r--.gitignore1
-rw-r--r--dark.edjbin12147958 -> 0 bytes
-rw-r--r--edc/winlist.edc201
3 files changed, 202 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 1377554..c5d5494 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1*.swp 1*.swp
2*.edj
diff --git a/dark.edj b/dark.edj
deleted file mode 100644
index 9b497c7..0000000
--- a/dark.edj
+++ /dev/null
Binary files differ
diff --git a/edc/winlist.edc b/edc/winlist.edc
index 161ec25..13168fa 100644
--- a/edc/winlist.edc
+++ b/edc/winlist.edc
@@ -296,3 +296,204 @@ group { name: "e/widgets/winlist/item";
296// } 296// }
297 } 297 }
298} 298}
299
300////////////////////////////////////////////////////////////////////////////
301
302group { name: "e/widgets/winlist/large/bg";
303 alias: "e/widgets/winlist/bg";
304 images.image: "screen_circular_shadow.png" COMP;
305 parts {
306 part { name: "bg_clip"; type: RECT;
307 description { state: "default" 0.0;
308 visible: 0;
309 color: 255 255 255 0;
310 }
311 description { state: "visible" 0.0;
312 inherit: "default" 0.0;
313 visible: 1;
314 color: 255 255 255 255;
315 }
316 }
317
318 snapshot { "bg_blur";
319 clip_to: "bg_clip";
320 description { state: "default" 0.0;
321 filter.code: "padding_set { 0 } blur { state.pos * 50, color = '#ffff' }";
322 visible: 0;
323 }
324 desc { state: "visible" 0.0;
325 inherit: "default" 0.0;
326 filter.code: "padding_set { 0 } blur { (1.0 - state.pos) * 50, color = '#ffff' }";
327 visible: 1;
328 }
329 }
330
331 part { name: "bg_darken"; type: RECT;
332 clip_to: "bg_clip";
333 description { state: "default" 0.0;
334 color: 0 0 0 64;
335 }
336 }
337
338 part { name: "shadow"; mouse_events: 0;
339 clip_to: "bg_clip";
340 description { state: "default" 0.0;
341 rel1.relative: -1.0 -1.0;
342 rel2.relative: 2.0 2.0;
343 image.normal: "screen_circular_shadow.png";
344 fill.smooth: 0;
345 color: 255 255 255 0;
346 visible: 0;
347 }
348 description { state: "visible" 0.0;
349 inherit;
350 rel1.relative: 0.0 0.0;
351 rel2.relative: 1.0 1.0;
352 color: 255 255 255 255;
353 visible: 1;
354 }
355 }
356
357 }
358 programs {
359 program { signal: "e,state,visible,on"; source: "e";
360 action: STATE_SET "visible" 0.0;
361 transition: DECELERATE 0.2 USE_DURATION_FACTOR 1 CURRENT;
362 target: "bg_clip";
363 target: "bg_blur";
364 target: "shadow";
365 after: "show2";
366 }
367 program { name: "show2";
368 action: SIGNAL_EMIT "e,action,show,done" "e";
369 }
370 program { signal: "e,state,visible,off"; source: "e";
371 action: STATE_SET "default" 0.0;
372 transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1 CURRENT;
373 target: "bg_clip";
374 target: "bg_blur";
375 target: "shadow";
376 after: "hide2";
377 }
378 program { name: "hide2";
379 action: SIGNAL_EMIT "e,action,hide,done" "e";
380 }
381 }
382}
383
384group { name: "e/widgets/winlist/large/fg";
385 alias: "e/widgets/winlist/fg";
386 parts {
387 part { name: "fg_darken"; type: RECT;
388 description { state: "default" 0.0;
389 visible: 0;
390 }
391 }
392 }
393 programs {
394 program { signal: "e,state,visible,on"; source: "e";
395 action: SIGNAL_EMIT "e,action,show,done" "e";
396 }
397 program { signal: "e,state,visible,off"; source: "e";
398 action: SIGNAL_EMIT "e,action,hide,done" "e";
399 }
400 }
401}
402
403group { name: "e/widgets/winlist/large";
404 data.item: "noshadow" "1";
405 parts {
406 part { name: "list_clip"; type: RECT;
407 description { state: "default" 0.0;
408 }
409 }
410 part { name: "e.swallow.list"; type: SWALLOW;
411 clip_to: "list_clip";
412 scale: 1;
413 description { state: "default" 0.0;
414 rel.to: "list_clip";
415 rel1.offset: 8 8;
416 rel2.offset: -9 -9;
417 offscale;
418 }
419 }
420 }
421}
422
423group { name: "e/widgets/winlist/item_large";
424 parts {
425 part { name: "sel_base"; type: RECT; mouse_events: 0;
426 description { state: "default" 0.0;
427 color: 51 153 255 255;
428 visible: 0;
429 }
430 description { state: "selected" 0.0;
431 inherit: "default" 0.0;
432 visible: 1;
433 }
434 }
435 part { name: "icon"; type: SPACER;
436 scale: 1;
437 description { state: "default" 0.0;
438 rel.to: "e.swallow.win";
439 align: 1.0 1.0;
440 rel1.offset: 8 8;
441 rel2.offset: -9 -9;
442 min: 40 40;
443 max: 40 40;
444 offscale;
445 }
446 }
447 part { name: "e.swallow.win"; type: SWALLOW; mouse_events: 0;
448 description { state: "default" 0.0;
449 rel1.offset: 16 16;
450 rel2.offset: -17 -17;
451 }
452 description { state: "iconified" 0.0;
453 inherit: "default" 0.0;
454 rel1.relative: 0.25 0.25;
455 rel2.relative: 0.75 0.75;
456 }
457 }
458 part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
459 description { state: "default" 0.0;
460 rel.to: "icon";
461 }
462 description { state: "iconified" 0.0;
463 inherit: "default" 0.0;
464 rel1.relative: 0.25 0.25;
465 rel2.relative: 0.75 0.75;
466 }
467 }
468 part { name: "event"; type: RECT;
469 description { state: "default" 0.0;
470 color: 0 0 0 0;
471 }
472 description { state: "iconified" 0.0;
473 inherit: "default" 0.0;
474 visible: 0;
475 }
476 }
477 }
478 programs {
479 program { signal: "e,state,selected"; source: "e";
480 action: STATE_SET "selected" 0.0;
481 target: "sel_base";
482 }
483 program { signal: "e,state,unselected"; source: "e";
484 action: STATE_SET "default" 0.0;
485 target: "sel_base";
486 }
487 program { signal: "e,state,iconified"; source: "e";
488 action: STATE_SET "iconified" 0.0;
489 target: "e.swallow.icon";
490 }
491 program { signal: "e,state,invisible"; source: "e";
492 action: STATE_SET "iconified" 0.0;
493 target: "e.swallow.icon";
494 }
495// program {
496// signal: "e,state,shaded"; source: "e";
497// }
498 }
499}