forked from enlightenment/enventor
template: update to new sexy edc style.
This commit is contained in:
parent
837185d2e0
commit
8822f5be5a
|
@ -2,20 +2,18 @@ collections {
|
|||
images {
|
||||
image: "logo.png" COMP;
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "clipper";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "clipper";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 0 136 170 255;
|
||||
}
|
||||
}
|
||||
part { name: "logo";
|
||||
type: IMAGE;
|
||||
image { "logo";
|
||||
clip_to: "clipper";
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
image.normal: "logo.png";
|
||||
|
|
|
@ -1,31 +1,28 @@
|
|||
collections {
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "rect";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 0.5;
|
||||
color: 0 136 170 255;
|
||||
}
|
||||
}
|
||||
part { name: "group";
|
||||
type: GROUP;
|
||||
group { "group";
|
||||
source: "my_group";
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
group { name: "my_group";
|
||||
group { "my_group";
|
||||
parts {
|
||||
part { name: "text";
|
||||
type: TEXT;
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
color: 0 136 170 255;
|
||||
color2: 0 136 170 50;
|
||||
color3: 0 136 170 25;
|
||||
|
|
|
@ -2,11 +2,10 @@ collections {
|
|||
images {
|
||||
image: "logo.png" COMP;
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "logo";
|
||||
type: IMAGE;
|
||||
description { state: "default" 0.0;
|
||||
image { "logo";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
image.normal: "logo.png";
|
||||
|
|
|
@ -2,11 +2,10 @@ collections {
|
|||
images {
|
||||
image: "logo.png" COMP;
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "logo";
|
||||
type: IMAGE;
|
||||
description { state: "default" 0.0;
|
||||
image { "logo";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.5 0.5;
|
||||
image.normal: "logo.png";
|
||||
|
@ -17,17 +16,15 @@ collections {
|
|||
map.color[3]: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
part { name: "perps_point";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "perps_point";
|
||||
desc { "default";
|
||||
rel1.relative: 0.6 0.1;
|
||||
rel2.relative: 0.9 0.4;
|
||||
visible: 0;
|
||||
}
|
||||
}
|
||||
part { name: "rect";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect";
|
||||
desc { "default";
|
||||
rel1.relative: 0.5 0.0;
|
||||
rel2.relative: 1.0 0.5;
|
||||
color: 0 136 170 255;
|
||||
|
@ -40,11 +37,10 @@ collections {
|
|||
}
|
||||
}
|
||||
}
|
||||
part { name: "text";
|
||||
type: TEXT;
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 0.5 1.0;
|
||||
color: 0 136 170 255;
|
||||
|
@ -62,9 +58,8 @@ collections {
|
|||
}
|
||||
}
|
||||
}
|
||||
part { name: "rect2";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect2";
|
||||
desc { "default";
|
||||
rel1.relative: 0.55 0.55;
|
||||
rel2.relative: 0.95 0.95;
|
||||
map {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
collections {
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,11 +2,10 @@ collections {
|
|||
images {
|
||||
image: "logo.png" COMP;
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "logo";
|
||||
type: IMAGE;
|
||||
description { state: "default" 0.0;
|
||||
image { "logo";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.5 0.5;
|
||||
image.normal: "logo.png";
|
||||
|
@ -14,9 +13,8 @@ collections {
|
|||
aspect_preference: BOTH;
|
||||
}
|
||||
}
|
||||
part { name: "proxy";
|
||||
type: PROXY;
|
||||
description { state: "default" 0.0;
|
||||
proxy { "proxy";
|
||||
desc { "default";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
aspect: 1 1;
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
collections {
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "rect";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
color: 0 136 170 255;
|
||||
|
|
|
@ -2,18 +2,17 @@ collections {
|
|||
images {
|
||||
image: "logo.png" COMP;
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "logo";
|
||||
type: IMAGE;
|
||||
description { state: "default" 0.0;
|
||||
image { "logo";
|
||||
desc { "default";
|
||||
image.normal: "logo.png";
|
||||
aspect: 1 1;
|
||||
aspect_preference: BOTH;
|
||||
map.on: 1;
|
||||
}
|
||||
description { state: "rotated" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
desc { "rotated";
|
||||
inherit: "default";
|
||||
map {
|
||||
rotation.z: 360;
|
||||
zoom.x: 0.25;
|
||||
|
@ -23,16 +22,15 @@ collections {
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "anim1";
|
||||
program { "anim1";
|
||||
signal: "load";
|
||||
source: "";
|
||||
action: STATE_SET "rotated" 0.0;
|
||||
action: STATE_SET "rotated";
|
||||
target: "logo";
|
||||
transition: ACCELERATE 2;
|
||||
after: "anim2";
|
||||
}
|
||||
program { name: "anim2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
program { "anim2";
|
||||
action: STATE_SET "default";
|
||||
target: "logo";
|
||||
transition: ACCELERATE 2.0;
|
||||
after: "anim1";
|
||||
|
|
|
@ -4,17 +4,16 @@ collections {
|
|||
source: "kbd-tap.wav";
|
||||
}
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "rect";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect";
|
||||
desc { "default";
|
||||
color: 0 136 170 255;
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "mouse_down";
|
||||
program { "mouse_down";
|
||||
signal: "mouse,down,1";
|
||||
source: "rect";
|
||||
action: PLAY_SAMPLE "sound" 1.0;
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
collections {
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "spacer1";
|
||||
type: SPACER;
|
||||
spacer { "spacer1";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
min: 50 50;
|
||||
fixed: 1 1;
|
||||
align: 0 0;
|
||||
|
@ -12,10 +11,9 @@ collections {
|
|||
rel2.relative: 0.0 0.0;
|
||||
}
|
||||
}
|
||||
part { name: "spacer2";
|
||||
type: SPACER;
|
||||
spacer { "spacer2";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
description { "default";
|
||||
min: 50 50;
|
||||
fixed: 1 1;
|
||||
align: 1 1;
|
||||
|
@ -23,9 +21,8 @@ collections {
|
|||
rel2.relative: 1.0 1.0;
|
||||
}
|
||||
}
|
||||
part { name: "rect";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect";
|
||||
desc { "default";
|
||||
rel1.to: "spacer1";
|
||||
rel1.relative: 1.0 1.0;
|
||||
rel2.to: "spacer2";
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
collections {
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "text";
|
||||
type: TEXT;
|
||||
text { "text";
|
||||
scale: 1;
|
||||
effect: FAR_SOFT_SHADOW;
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
color: 0 136 170 255;
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
collections {
|
||||
styles {
|
||||
style { name: "text_style";
|
||||
style { "text_style";
|
||||
base: "font="Sans" font_size=30 text_class=entry color=#0088AA style=shadow,bottom shadow_color=#00000080 valign=0.5 ellipsis=1.0 wrap=none align=center";
|
||||
}
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "text";
|
||||
type: TEXTBLOCK;
|
||||
textblock { "text";
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 1.0 1.0;
|
||||
text {
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
collections {
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "rect";
|
||||
type: RECT;
|
||||
description { state: "default" 0.0;
|
||||
rect { "rect";
|
||||
desc { "default";
|
||||
rel1.relative: 0.0 0.0;
|
||||
rel2.relative: 0.25 0.25;
|
||||
color: 255 255 0 255;
|
||||
}
|
||||
description { state: "changed" 0.0;
|
||||
desc { "changed";
|
||||
rel1.relative: 0.5 0.5;
|
||||
rel2.relative: 1.0 1.0;
|
||||
color: 0 136 170 255;
|
||||
|
@ -16,16 +15,15 @@ collections {
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "anim1";
|
||||
program { "anim1";
|
||||
signal: "load";
|
||||
source: "";
|
||||
action: STATE_SET "changed" 0.0;
|
||||
action: STATE_SET "changed";
|
||||
target: "rect";
|
||||
transition: ACCELERATE 1;
|
||||
after: "anim2";
|
||||
}
|
||||
program { name: "anim2";
|
||||
action: STATE_SET "default" 0.0;
|
||||
program { "anim2";
|
||||
action: STATE_SET "default";
|
||||
target: "rect";
|
||||
transition: DECELERATE 2;
|
||||
after: "anim1";
|
||||
|
|
|
@ -13,11 +13,10 @@ collections {
|
|||
image: "TRIAB-11.png" COMP;
|
||||
image: "TRIAB-12.png" COMP;
|
||||
}
|
||||
group { name: "main";
|
||||
group { "main";
|
||||
parts {
|
||||
part { name: "image";
|
||||
type: IMAGE;
|
||||
description { state: "default" 0.0;
|
||||
image { "image";
|
||||
desc { "default";
|
||||
image.normal: "TRIAB-01.png";
|
||||
image.tween: "TRIAB-02.png";
|
||||
image.tween: "TRIAB-03.png";
|
||||
|
@ -36,10 +35,9 @@ collections {
|
|||
}
|
||||
}
|
||||
programs {
|
||||
program { name: "tween_anim";
|
||||
program { "tween_anim";
|
||||
signal: "load";
|
||||
source: "";
|
||||
action: STATE_SET "default" 0.0;
|
||||
action: STATE_SET "default";
|
||||
transition: LINEAR 1;
|
||||
target: "image";
|
||||
after: "tween_anim";
|
||||
|
|
Loading…
Reference in New Issue