summaryrefslogtreecommitdiffstats
path: root/autofoo-efl/data/themes
diff options
context:
space:
mode:
Diffstat (limited to 'autofoo-efl/data/themes')
-rw-r--r--autofoo-efl/data/themes/Makefile.am23
-rw-r--r--autofoo-efl/data/themes/default.edc75
-rw-r--r--autofoo-efl/data/themes/images/Makefile.am3
3 files changed, 101 insertions, 0 deletions
diff --git a/autofoo-efl/data/themes/Makefile.am b/autofoo-efl/data/themes/Makefile.am
new file mode 100644
index 0000000..6125a54
--- /dev/null
+++ b/autofoo-efl/data/themes/Makefile.am
@@ -0,0 +1,23 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+SUBDIRS = images
+
+EDJE_CC = @edje_cc@
+EDJE_FLAGS_VERBOSE_ =
+EDJE_FLAGS_VERBOSE_0 =
+EDJE_FLAGS_VERBOSE_1 = -v
+EDJE_FLAGS = $(EDJE_FLAGS_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_srcdir)/data/fonts
+
+filesdir = $(pkgdatadir)/themes
+files_DATA = \
+default.edj
+
+EXTRA_DIST = default.edc
+
+default.edj: Makefile default.edc
+ $(EDJE_CC) $(EDJE_FLAGS) \
+ $(top_srcdir)/data/themes/default.edc \
+ $(top_builddir)/data/themes/default.edj
+
+clean-local:
+ rm -f *.edj
diff --git a/autofoo-efl/data/themes/default.edc b/autofoo-efl/data/themes/default.edc
new file mode 100644
index 0000000..f15b900
--- /dev/null
+++ b/autofoo-efl/data/themes/default.edc
@@ -0,0 +1,75 @@
+
+data {
+ item: "key1" "val1";
+}
+
+collections {
+ group {
+ name: "my_group";
+ data {
+ item: "key2" "val2";
+ }
+ parts {
+ part {
+ name: "background";
+ type: RECT;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 0;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -1 -1;
+ }
+ }
+ }
+ part {
+ name: "text";
+ type: TEXT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 255 0 0 255;
+ rel1 {
+ relative: 0.1 0.2;
+ offset: 5 10;
+ }
+ rel2 {
+ relative: 0.9 0.8;
+ offset: -6 -11;
+ }
+ text {
+ font: "Sans";
+ size: 10;
+ text: "hello world";
+ }
+ }
+ description {
+ state: "over" 0.0;
+ inherit: "default" 0.0;
+ color: 0 255 0 255;
+ }
+ }
+ programs {
+ program {
+ signal: "mouse,in";
+ source: "text";
+ action: STATE_SET "over" 0.0;
+ target: "text";
+ transition: LINEAR 0.1;
+ }
+ program {
+ signal: "mouse,out";
+ source: "text";
+ action: STATE_SET "default" 0.0;
+ target: "text";
+ transition: LINEAR 0.1;
+ }
+ }
+ }
+ }
+}
diff --git a/autofoo-efl/data/themes/images/Makefile.am b/autofoo-efl/data/themes/images/Makefile.am
new file mode 100644
index 0000000..533a6c9
--- /dev/null
+++ b/autofoo-efl/data/themes/images/Makefile.am
@@ -0,0 +1,3 @@
+MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST =
+