Skip to content

Instantly share code, notes, and snippets.

@Thanatermesis
Created May 14, 2015 17:03
Show Gist options
  • Save Thanatermesis/3b16e5934319c2a85ed7 to your computer and use it in GitHub Desktop.
Save Thanatermesis/3b16e5934319c2a85ed7 to your computer and use it in GitHub Desktop.
images {
image: "foto.jpg" LOSSY 80;
image: "texto-1.png" LOSSY 90;
image: "texto-2.png" LOSSY 90;
}
collections{
group {
name: "e/desktop/background";
parts {
part {
name: "bg";
type: RECT;
description { state: "default" 0.0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
color: 255 255 255 255;
}
}
part {
name: "foto";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.0;
aspect: 1.54228855 1.54228855;
align: 0.5 0;
aspect_preference: BOTH;
rel1 {
relative: 0.1 0.1;
offset: 0 0;
}
rel2 {
relative: 0.9 0.7;
offset: -1 -1;
}
image {
normal: "foto.jpg";
scale_hint: NONE;
}
color: 255 255 255 2;
}
}
part {
name: "text1";
type: IMAGE;
description {
state: "default" 0.0;
aspect: 2.78571428571 2.78571428571;
rel1 {
relative: 0.6 0.7;
}
rel2 {
relative: 0.9 0.8;
}
image {
normal: "texto-1.png";
}
color: 255 255 255 255;
}
description {
state: "faded" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part {
name: "text2";
type: IMAGE;
description {
state: "default" 0.0;
aspect: 2.78571428571 2.78571428571;
rel1 {
relative: 0.6 0.7;
}
rel2 {
relative: 0.9 0.8;
}
image {
normal: "texto-2.png";
}
color: 255 255 255 0;
}
description {
state: "show" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
programs {
program {
/*signal: "load";*/
signal: "show";
source: "";
in: 0.5 0.0;
after: "animate,state1";
after: "animate,state2";
}
program {
name: "animate,state1";
action: STATE_SET "faded" 0.0;
target: "text1";
after: "deanimate,state1";
transition: LINEAR 0.6;
}
program {
name: "animate,state2";
action: STATE_SET "show" 0.0;
target: "text2";
after: "deanimate,state2";
transition: LINEAR 0.6;
}
program {
name: "deanimate,state1";
action: STATE_SET "default" 0.0;
target: "text1";
after: "animate,state1";
transition: LINEAR 0.6;
}
program {
name: "deanimate,state2";
action: STATE_SET "default" 0.0;
target: "text2";
after: "animate,state2";
transition: LINEAR 0.6;
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment