forked from enlightenment/enventor
template: add BgAnimation.
This commit is contained in:
parent
553221450b
commit
20dcc69221
Binary file not shown.
After Width: | Height: | Size: 198 KiB |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Binary file not shown.
After Width: | Height: | Size: 54 KiB |
|
@ -40,6 +40,9 @@ files_DATA = ENVENTOR_EMBEDDED_IMAGE.png \
|
|||
ENVENTOR_EMBEDDED_BAT1.svg \
|
||||
ENVENTOR_EMBEDDED_BAT2.svg \
|
||||
ENVENTOR_EMBEDDED_SVG.svg \
|
||||
ENVENTOR_EMBEDDED_BG1.png \
|
||||
ENVENTOR_EMBEDDED_BG2.png \
|
||||
ENVENTOR_EMBEDDED_BG3.png \
|
||||
enventor_logo.png
|
||||
|
||||
EXTRA_DIST = $(files_DATA)
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
collections {
|
||||
base_scale: 1.0;
|
||||
group { "main";
|
||||
/* TODO: Please replace embedded image files to your application image files. */
|
||||
images {
|
||||
image: "ENVENTOR_EMBEDDED_BG1.png" COMP;
|
||||
image: "ENVENTOR_EMBEDDED_BG2.png" COMP;
|
||||
image: "ENVENTOR_EMBEDDED_BG3.png" COMP;
|
||||
}
|
||||
parts {
|
||||
image { "night";
|
||||
desc { "default";
|
||||
/* TODO: Please replace embedded image files to your application image files. */
|
||||
image.normal: "ENVENTOR_EMBEDDED_BG1.png";
|
||||
}
|
||||
}
|
||||
image { "sky";
|
||||
desc { "default";
|
||||
/* TODO: Please replace embedded image files to your application image files. */
|
||||
image.normal: "ENVENTOR_EMBEDDED_BG2.png";
|
||||
}
|
||||
desc { "sunset";
|
||||
inherit: "default";
|
||||
color: 255 125 125 255;
|
||||
}
|
||||
desc { "night";
|
||||
inherit: "default";
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
}
|
||||
image { "mountain";
|
||||
desc { "default";
|
||||
/* TODO: Please replace embedded image files to your application image files. */
|
||||
image.normal: "ENVENTOR_EMBEDDED_BG3.png";
|
||||
}
|
||||
}
|
||||
}
|
||||
programs {
|
||||
program { "sunset";
|
||||
signal: "load";
|
||||
action: STATE_SET "sunset";
|
||||
transition: LINEAR 5.0;
|
||||
target: "sky";
|
||||
after: "night";
|
||||
}
|
||||
program { "night";
|
||||
action: STATE_SET "night";
|
||||
transition: LINEAR 5.0;
|
||||
target: "sky";
|
||||
after: "day";
|
||||
}
|
||||
program { "day";
|
||||
action: STATE_SET "default";
|
||||
transition: LINEAR 5.0;
|
||||
target: "sky";
|
||||
after: "sunset";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -51,8 +51,9 @@ files_DATA = Basic.edc \
|
|||
Vector.edc \
|
||||
Vector.edj \
|
||||
Interpolation.edc \
|
||||
Interpolation.edj
|
||||
|
||||
Interpolation.edj \
|
||||
BgAnimation.edc \
|
||||
BgAnimation.edj
|
||||
|
||||
EXTRA_DIST = $(files_DATA)
|
||||
|
||||
|
@ -131,6 +132,8 @@ Vector.edj: Makefile Vector.edc
|
|||
Interpolation.edj: Makefile Interpolation.edc
|
||||
$(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/Interpolation.edc $(builddir)/Interpolation.edj
|
||||
|
||||
BgAnimation.edj: Makefile BgAnimation.edc
|
||||
$(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/BgAnimation.edc $(builddir)/BgAnimation.edj
|
||||
|
||||
clean-local:
|
||||
rm -f *.edj
|
||||
|
|
Loading…
Reference in New Issue