aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/pager.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/edc/pager.edc')
-rw-r--r--data/themes/edc/pager.edc154
1 files changed, 147 insertions, 7 deletions
diff --git a/data/themes/edc/pager.edc b/data/themes/edc/pager.edc
index 5466ab43a..4596db845 100644
--- a/data/themes/edc/pager.edc
+++ b/data/themes/edc/pager.edc
@@ -16,8 +16,8 @@ group { name: "e/modules/pager/popup";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
- }
- }
+ }
+ }
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
rel1.to_y: "e.text.label";
@@ -25,8 +25,8 @@ group { name: "e/modules/pager/popup";
rel1.offset: 2 0;
rel2.relative: 1.0 1.0;
rel2.offset: -3 -2;
- }
- }
+ }
+ }
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
@@ -70,12 +70,34 @@ group { name: "e/modules/pager/desk";
images.image: "mini_blue_glow_arrow_2.png" COMP;
images.image: "mini_blue_glow_arrow_3.png" COMP;
parts {
- part { name: "base"; type: SPACER;
+ part { name: "base";
description { state: "default" 0.0;
+ image.normal: "vgrad_med_darker.png";
rel1.to: "inset";
rel1.offset: 1 1;
rel2.to: "inset";
rel2.offset: -2 -2;
+ fill.smooth: 0;
+ TILED_HORIZ(32)
+ }
+ }
+ part { name: "pat"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "dot_pattern.png";
+ rel1.to: "base";
+ rel2.to: "base";
+ TILED_PATTERN(256, 256)
+ }
+ }
+ part { name: "e.background"; type: SWALLOW;
+ clip_to: "clip";
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ }
+ description { state: "hidden" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
}
}
part { name: "bevel"; mouse_events: 0;
@@ -99,7 +121,6 @@ group { name: "e/modules/pager/desk";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
- rel2.offset: -2 -1;
}
}
part { name: "shadow"; mouse_events: 0;
@@ -133,7 +154,7 @@ group { name: "e/modules/pager/desk";
rel2.to: "base";
color_class: "module_label_invisible";
color3: 255 255 255 255;
- text { font: "Sans"; size: 10;
+ text { font: FN; size: 10;
text_class: "module_small";
align: 0.5 0.5;
}
@@ -285,6 +306,16 @@ group { name: "e/modules/pager/desk";
transition: DECELERATE 0.2;
target: "glow";
}
+ program {
+ signal: "e,preview,on"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "e.background";
+ }
+ program {
+ signal: "e,preview,off"; source: "e";
+ action: STATE_SET "hidden" 0.0;
+ target: "e.background";
+ }
program { name: "drop1";
signal: "e,action,drag,in"; source: "e";
action: STATE_SET "active" 0.0;
@@ -323,3 +354,112 @@ group { name: "e/modules/pager/desk";
}
}
}
+
+group { name: "e/modules/pager/window";
+ images.image: "mini_box_bevel_shadow.png" COMP;
+ images.image: "mini_box_glow.png" COMP;
+ parts {
+ part { name: "base"; type: SPACER;
+ description { state: "default" 0.0;
+ }
+ description { state: "urgent" 0.0;
+ rel1.offset: 0 -5;
+ rel2.offset: -1 -6;
+ }
+ }
+ part { name: "win"; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "mini_box_bevel_shadow.png";
+ image.border: 7 7 7 7;
+ rel1.offset: -5 -5;
+ rel1.to: "base";
+ rel2.offset: 4 4;
+ rel2.to: "base";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "mini_box_glow.png";
+ }
+ }
+ part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel1.offset: 2 2;
+ rel2.to: "base";
+ rel2.offset: -3 -3;
+ align: 1.0 1.0;
+ max: 24 24;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ }
+ description { state: "preview" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "e.swallow.content"; type: SWALLOW; mouse_events: 0;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ visible: 0;
+ }
+ description { state: "preview" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "event"; type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ signal: "e,state,focused"; source: "e";
+ action: STATE_SET "active" 0.0;
+ target: "win";
+ }
+ program {
+ signal: "e,state,unfocused"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "win";
+ }
+ program {
+ signal: "e,preview,on"; source: "e";
+ action: STATE_SET "preview" 0.0;
+ target: "e.swallow.content";
+ target: "e.swallow.icon";
+ }
+ program {
+ signal: "e,preview,off"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "e.swallow.content";
+ target: "e.swallow.icon";
+ }
+ program { name: "urg1";
+ signal: "e,state,urgent"; source: "e";
+ action: STATE_SET "urgent" 0.0;
+ transition: DECELERATE 0.2;
+ target: "base";
+ after: "urg2";
+ }
+ program { name: "urg2";
+ signal: "e,state,urgent"; source: "e";
+ action: STATE_SET "default" 0.0;
+ transition: ACCELERATE 0.2;
+ target: "base";
+ after: "urg1";
+ }
+ program {
+ signal: "e,state,not_urgent"; source: "e";
+ action: ACTION_STOP;
+ target: "urg1";
+ target: "urg2";
+ after: "urg0";
+ }
+ program { name: "urg0";
+ action: STATE_SET "default" 0.0;
+ target: "base";
+ }
+ }
+}