ibox: Preview Theme Code

Summary: Dependency for https://phab.enlightenment.org/D12046

Reviewers: raster

Reviewed By: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12047
This commit is contained in:
Alastair Poole 2020-07-07 15:53:50 +01:00
parent cd27255cb0
commit 86b5b6128c
1 changed files with 34 additions and 0 deletions

View File

@ -61,6 +61,28 @@ group { name: "e/modules/ibox/icon";
rel2.relative: 1.0 0.85;
}
}
part { name: "e.swallow.preview"; type: SWALLOW;
clip_to: "item_clip";
description { state: "default" 0.0;
rel1.offset: 1 1;
rel2.offset: -2 -2;
rel1.relative: 0.1 0.1;
rel2.relative: 0.9 0.9;
align: 0.5 0.5;
}
description { state: "bounce1" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.15;
rel2.relative: 1.0 1.15;
}
description { state: "bounce2" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 -0.15;
rel2.relative: 1.0 0.85;
}
}
part { name: "indicator";
description { state: "default";
min: 10 10;
@ -142,24 +164,28 @@ group { name: "e/modules/ibox/icon";
signal: "e,state,urgent"; source: "e";
action: STATE_SET "bounce1" 0.0;
target: "e.swallow.content";
target: "e.swallow.preview";
after: "urg1";
}
program { name: "urg1";
action: STATE_SET "bounce2" 0.0;
transition: DECELERATE 0.2;
target: "e.swallow.content";
target: "e.swallow.preview";
after: "urg2";
}
program { name: "urg2";
action: STATE_SET "bounce1" 0.0;
transition: ACCELERATE 0.2;
target: "e.swallow.content";
target: "e.swallow.preview";
after: "urg1";
}
program {
signal: "e,state,not_urgent"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
target: "e.swallow.preview";
}
}
}
@ -496,6 +522,14 @@ group { name: "e/modules/ibox/icon_overlay";
rel2.to: "background";
}
}
part { name: "e.swallow.preview"; type: SWALLOW;
clip_to: "background";
description {
state: "default" 0.0;
rel1.to: "background";
rel2.to: "background";
}
}
part { name: "bevel"; mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: -9 -5;