diff --git a/legacy/elementary/data/objects/Makefile.am b/legacy/elementary/data/objects/Makefile.am index 2fc9326e4a..28a16aac81 100644 --- a/legacy/elementary/data/objects/Makefile.am +++ b/legacy/elementary/data/objects/Makefile.am @@ -9,7 +9,7 @@ filesdir = $(datadir)/elementary/objects files_DATA = test.edj EXTRA_DIST = \ -test.edc over.png under.png +test.edc over.png under.png sky.jpg clo.png test.edj: Makefile $(EXTRA_DIST) $(EDJE_CC) $(EDJE_FLAGS) \ diff --git a/legacy/elementary/data/objects/clo.png b/legacy/elementary/data/objects/clo.png new file mode 100644 index 0000000000..dedfc519a7 Binary files /dev/null and b/legacy/elementary/data/objects/clo.png differ diff --git a/legacy/elementary/data/objects/sky.jpg b/legacy/elementary/data/objects/sky.jpg new file mode 100644 index 0000000000..6132e7c22f Binary files /dev/null and b/legacy/elementary/data/objects/sky.jpg differ diff --git a/legacy/elementary/data/objects/test.edc b/legacy/elementary/data/objects/test.edc index 8617626a55..71539a1d5e 100644 --- a/legacy/elementary/data/objects/test.edc +++ b/legacy/elementary/data/objects/test.edc @@ -3,8 +3,27 @@ collections { images { image: "over.png" COMP; image: "under.png" COMP; + image: "sky.jpg" LOSSY 80; + image: "clo.png" LOSSY 60; } parts { + part { name: "sky"; + mouse_events: 0; + description { state: "default" 0.0; + aspect: 2.6225 2.6225; + aspect_preference: NONE; + image.normal: "sky.jpg"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.0 0.0; + offset: 0 0; + } + } + } + } part { name: "under"; mouse_events: 0; description { state: "default" 0.0; @@ -57,6 +76,64 @@ collections { image.normal: "over.png"; } } + part { name: "clo"; + mouse_events: 0; + description { state: "default" 0.0; + fill { + smooth: 0; + origin { + relative: 0.0 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + image.normal: "clo.png"; + } + description { state: "drift" 0.0; + inherit: "default" 0.0; + fill { + origin { + relative: 1.84722 0.0; + offset: 0 0; + } + size { + relative: 1.84722 1.0; + offset: 0 0; + } + } + } + } + } + programs { + program { name: "anim1"; + signal: "show"; + source: ""; + action: STATE_SET "drift" 0.0; + transition: LINEAR 10.0; + target: "clo"; + after: "anim2"; + } + program { name: "anim2"; + action: STATE_SET "default" 0.0; + target: "clo"; + after: "anim1"; + } + program { name: "anim3"; + signal: "show"; + source: ""; + action: STATE_SET "drift" 0.0; + transition: LINEAR 40.0; + target: "sky"; + after: "anim4"; + } + program { name: "anim4"; + action: STATE_SET "default" 0.0; + target: "sky"; + after: "anim3"; + } } } }