hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=b0ce2bda4464d265ed1f7d908a33919e4da20f8b

commit b0ce2bda4464d265ed1f7d908a33919e4da20f8b
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Sun May 31 01:17:51 2015 +0900

    template: add rotation+zoom
---
 data/templates/Makefile.am       |  5 +++++
 data/templates/rotation+zoom.edc | 40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am
index a047bf9..4ae7e99 100644
--- a/data/templates/Makefile.am
+++ b/data/templates/Makefile.am
@@ -20,6 +20,8 @@ files_DATA = basic.edc \
              proxy.edj \
              rect.edc \
              rect.edj \
+             rotation+zoom.edc \
+             rotation+zoom.edj \
              sound.edc \
              sound.edj \
              spacer.edc \
@@ -59,6 +61,9 @@ tween.edj: Makefile tween.edc
 rect.edj: Makefile rect.edc
        $(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/rect.edc $(builddir)/rect.edj
 
+rotation+zoom.edj: Makefile rotation+zoom.edc
+       $(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/rotation+zoom.edc 
$(builddir)/rotation+zoom.edj
+
 image.edj: Makefile image.edc
        $(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/image.edc $(builddir)/image.edj
 
diff --git a/data/templates/rotation+zoom.edc b/data/templates/rotation+zoom.edc
new file mode 100644
index 0000000..56379ec
--- /dev/null
+++ b/data/templates/rotation+zoom.edc
@@ -0,0 +1,40 @@
+collections {
+   images {
+      image: "logo.png" COMP;
+   }
+   group { name: "main";
+      parts {
+         part { name: "logo";
+            type: IMAGE;
+            description { state: "default" 0.0;
+               image.normal: "logo.png";
+               aspect: 1 1;
+               aspect_preference: BOTH;
+               map.on: 1;
+            }
+            description { state: "rotated" 0.0;
+               inherit: "default" 0.0;
+               map.rotation.z: 360;
+               map.zoom.x: 0.25;
+               map.zoom.y: 0.25;
+            }
+         }
+      }
+      programs {
+         program { name: "anim1";
+            signal: "load";
+            source: "";
+            action: STATE_SET "rotated" 0.0;
+            target: "logo";
+            transition: ACCELERATE 2;
+            after: "anim2";
+         }
+         program { name: "anim2";
+            action: STATE_SET "default" 0.0;
+            target: "logo";
+            transition: ACCELERATE 2.0;
+            after: "anim1";
+         }
+      }
+   }
+}

-- 


Reply via email to