hermet pushed a commit to branch master.

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

commit 34893056cfa65f5f134c93c2414f3ada8e7d64c0
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Sun May 31 01:40:04 2015 +0900

    template: add group
---
 data/templates/Makefile.am |  5 +++++
 data/templates/group.edc   | 41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/data/templates/Makefile.am b/data/templates/Makefile.am
index 4ae7e99..f07bf59 100644
--- a/data/templates/Makefile.am
+++ b/data/templates/Makefile.am
@@ -10,6 +10,8 @@ files_DATA = basic.edc \
              clip.edj \
              empty.edc \
              empty.edj \
+             group.edc \
+             group.edj \
              image.edc \
              image.edj \
              map.edc \
@@ -64,6 +66,9 @@ rect.edj: Makefile rect.edc
 rotation+zoom.edj: Makefile rotation+zoom.edc
        $(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/rotation+zoom.edc 
$(builddir)/rotation+zoom.edj
 
+group.edj: Makefile group.edc
+       $(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/group.edc $(builddir)/group.edj
+
 image.edj: Makefile image.edc
        $(EDJE_CC) $(EDJE_FLAGS) $(srcdir)/image.edc $(builddir)/image.edj
 
diff --git a/data/templates/group.edc b/data/templates/group.edc
new file mode 100644
index 0000000..5721e63
--- /dev/null
+++ b/data/templates/group.edc
@@ -0,0 +1,41 @@
+collections {
+   group { name: "main";
+      parts {
+         part { name: "rect";
+            type: RECT;
+            description { state: "default" 0.0;
+               rel1.relative: 0.0 0.0;
+               rel2.relative: 1.0 0.5;
+               color: 0 136 170 255;
+            }
+         }
+         part { name: "group";
+            type: GROUP;
+            source: "my_group";
+            description { state: "default" 0.0;
+               rel1.relative: 0.0 0.5;
+               rel2.relative: 1.0 1.0;
+            }
+         }
+      }
+   }
+   group { name: "my_group";
+      parts {
+         part { name: "text";
+            type: TEXT;
+            scale: 1;
+            effect: FAR_SOFT_SHADOW;
+            description { state: "default" 0.0;
+               color: 0 136 170 255;
+               color2: 0 136 170 50;
+               color3: 0 136 170 25;
+               text {
+                  size: 30;
+                  font: "Sans";
+                  text: "My Group";
+               }
+            }
+         }
+      }
+   }
+}

-- 


Reply via email to