aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/fileman.edc
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2012-11-28 22:38:34 +0000
committerDavide Andreoli <dave@gurumeditation.it>2012-11-28 22:38:34 +0000
commitcd0fdfc3a7fad9b92398c5e856f0f6eba9536c1d (patch)
tree6e4cb2cb2341309b2fb9d703d8380567ebcee4d2 /data/themes/edc/fileman.edc
parent43addec4c7bd7d512d53527de327eb3b02f85eb0 (diff)
downloadenlightenment-cd0fdfc3a7fad9b92398c5e856f0f6eba9536c1d.tar.gz
enlightenment-cd0fdfc3a7fad9b92398c5e856f0f6eba9536c1d.tar.xz
enlightenment-cd0fdfc3a7fad9b92398c5e856f0f6eba9536c1d.zip
filema_opingo gadget: when an operation need attention show a red led with a strobe (similar to terminology).
when the led is shown the user can press the notification to jump to the relative window. NOTE:Atm this is implemented only in the gadget, if no one object I will port also in the filman window. raster: hope your eagle-eye will like ;) SVN revision: 79792
Diffstat (limited to 'data/themes/edc/fileman.edc')
-rw-r--r--data/themes/edc/fileman.edc89
1 files changed, 87 insertions, 2 deletions
diff --git a/data/themes/edc/fileman.edc b/data/themes/edc/fileman.edc
index 457a60cf2..028b11070 100644
--- a/data/themes/edc/fileman.edc
+++ b/data/themes/edc/fileman.edc
@@ -1657,6 +1657,8 @@ group { name: "e/fileman/default/progress";
images.image: "media_busy_progress.png" COMP;
images.image: "sym_close_light_normal.png" COMP;
images.image: "sym_close_light_selected.png" COMP;
+ images.image: "led_red_light.png" COMP;
+ images.image: "led_strobe.png" COMP;
parts {
part { name: "base"; type: SPACER;
description { state: "default" 0.0;
@@ -1708,6 +1710,19 @@ group { name: "e/fileman/default/progress";
visible: 1;
}
}
+ part { name: "led_clip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.offset: -20 -20;
+ rel2.offset: 19 19;
+ color: 255 255 255 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 1;
+ }
+ }
part { name: "knob"; mouse_events: 0;
clip_to: "busy_clip";
description { state: "default" 0.0;
@@ -1736,6 +1751,45 @@ group { name: "e/fileman/default/progress";
map.rotation.z: 360;
}
}
+ part { name: "attention_event"; mouse_events: 1;
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "active" 0.0;
+ color: 0 0 0 0;
+ visible: 1;
+ }
+ }
+ part { name: "led"; mouse_events: 0;
+ clip_to: "led_clip";
+ description { state: "default" 0.0;
+ image.normal: "led_red_light.png";
+ min: 30 30;
+ max: 30 30;
+ fixed: 1 1;
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "led_spinner"; mouse_events: 0;
+ clip_to: "led_clip";
+ description { state: "default" 0.0;
+ rel1.to: "led";
+ rel2.to: "led";
+ min: 45 45;
+ max: 45 45;
+ fixed: 1 1;
+ image.normal: "led_strobe.png";
+ map.on: 1;
+ map.smooth: 1;
+ map.rotation.center: "led";
+ }
+ description { state: "spin" 0.0;
+ inherit: "default" 0.0;
+ map.rotation.z: 360;
+ }
+ }
part { name: "close";
description { state: "default" 0.0;
image.normal: "sym_close_light_normal.png";
@@ -1836,6 +1890,36 @@ group { name: "e/fileman/default/progress";
target: "knob_spinner";
}
program {
+ signal: "e,state,attention,start"; source: "e";
+ action: STATE_SET "active" 0.0;
+ target: "led_clip";
+ target: "attention_event";
+ }
+ program {
+ signal: "e,state,attention,stop"; source: "e";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 0.6;
+ target: "led_clip";
+ target: "attention_event";
+ after: "led_stop_spin";
+ }
+ program { name: "led_spin";
+ signal: "e,state,attention,start"; source: "e";
+ action: STATE_SET "spin" 0.0;
+ transition: LINEAR 0.6;
+ target: "led_spinner";
+ after: "led_spin2";
+ }
+ program { name: "led_spin2";
+ action: STATE_SET "default" 0.0;
+ target: "led_spinner";
+ after: "led_spin";
+ }
+ program { name: "led_stop_spin";
+ action: ACTION_STOP;
+ target: "led_spin";
+ }
+ program {
signal: "mouse,down,1*"; source: "close_event";
action: STATE_SET "selected" 0.0;
target: "close";
@@ -1849,10 +1933,11 @@ group { name: "e/fileman/default/progress";
signal: "mouse,clicked,1*"; source: "close_event";
action: SIGNAL_EMIT "e,fm,operation,abort" "";
}
-/* XXX: implement these
program {
- signal: "e,action,set,need_attention"; source: "e";
+ signal: "mouse,clicked,1*"; source: "attention_event";
+ action: SIGNAL_EMIT "e,fm,window,jump" "";
}
+/* XXX: implement these
program {
signal: "e,action,set,normal"; source: "e";
}