summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-06-13 17:20:19 +0100
committerTom Hacohen <tom@stosb.com>2013-06-13 17:24:30 +0100
commite412a242a66a202e650f75c94f6c031adc43167a (patch)
tree2950dedc8153619accd5f50cfe2416658f57cc40
Initial commit.
Recordings, launcher and original images (1.7).
-rw-r--r--.gitignore2
-rw-r--r--orig/animations2_1.pngbin0 -> 13271 bytes
-rw-r--r--orig/basic2_1.pngbin0 -> 26475 bytes
-rw-r--r--orig/basic_1.pngbin0 -> 7559 bytes
-rw-r--r--orig/box_1.pngbin0 -> 7750 bytes
-rw-r--r--orig/color-class_1.pngbin0 -> 603 bytes
-rw-r--r--orig/drag_1.pngbin0 -> 2044 bytes
-rw-r--r--orig/drag_2.pngbin0 -> 2056 bytes
-rw-r--r--orig/drag_3.pngbin0 -> 2052 bytes
-rw-r--r--orig/drag_4.pngbin0 -> 2051 bytes
-rw-r--r--orig/drag_5.pngbin0 -> 2041 bytes
-rw-r--r--orig/drag_6.pngbin0 -> 2041 bytes
-rw-r--r--orig/drag_7.pngbin0 -> 2049 bytes
-rw-r--r--orig/drag_8.pngbin0 -> 2049 bytes
-rw-r--r--orig/drag_9.pngbin0 -> 2049 bytes
-rw-r--r--orig/edje-nested_1.pngbin0 -> 7887 bytes
-rw-r--r--orig/edje_example_1.pngbin0 -> 1045 bytes
-rw-r--r--orig/edje_example_2.pngbin0 -> 1053 bytes
-rw-r--r--orig/edje_example_3.pngbin0 -> 1045 bytes
-rw-r--r--orig/edje_example_4.pngbin0 -> 1045 bytes
-rw-r--r--orig/edje_example_5.pngbin0 -> 1045 bytes
-rw-r--r--orig/embryo_custom_state_1.pngbin0 -> 17088 bytes
-rw-r--r--orig/embryo_custom_state_2.pngbin0 -> 18201 bytes
-rw-r--r--orig/embryo_custom_state_3.pngbin0 -> 18261 bytes
-rw-r--r--orig/embryo_custom_state_4.pngbin0 -> 18710 bytes
-rw-r--r--orig/embryo_custom_state_5.pngbin0 -> 18817 bytes
-rw-r--r--orig/embryo_custom_state_6.pngbin0 -> 18118 bytes
-rw-r--r--orig/embryo_custom_state_7.pngbin0 -> 17911 bytes
-rw-r--r--orig/embryo_pong_1.pngbin0 -> 2214 bytes
-rw-r--r--orig/embryo_pong_2.pngbin0 -> 2210 bytes
-rw-r--r--orig/embryo_pong_3.pngbin0 -> 2208 bytes
-rw-r--r--orig/embryo_run_program_1.pngbin0 -> 1243 bytes
-rw-r--r--orig/embryo_run_program_2.pngbin0 -> 1241 bytes
-rw-r--r--orig/embryo_run_program_3.pngbin0 -> 1243 bytes
-rw-r--r--orig/embryo_set_state_1.pngbin0 -> 1264 bytes
-rw-r--r--orig/embryo_set_state_2.pngbin0 -> 1261 bytes
-rw-r--r--orig/embryo_set_text_1.pngbin0 -> 1219 bytes
-rw-r--r--orig/embryo_set_text_2.pngbin0 -> 1276 bytes
-rw-r--r--orig/embryo_set_text_3.pngbin0 -> 1219 bytes
-rw-r--r--orig/perspective_1.pngbin0 -> 3780 bytes
-rw-r--r--orig/signals-messages_1.pngbin0 -> 9713 bytes
-rw-r--r--orig/signalsBubble_1.pngbin0 -> 26475 bytes
-rw-r--r--orig/toggle_using_filter_1.pngbin0 -> 1539 bytes
-rw-r--r--orig/toggle_using_filter_2.pngbin0 -> 1540 bytes
-rw-r--r--orig/toggle_using_filter_3.pngbin0 -> 1539 bytes
-rw-r--r--recordings/animations2.recbin0 -> 1876 bytes
-rw-r--r--recordings/basic.recbin0 -> 1259 bytes
-rw-r--r--recordings/basic2.recbin0 -> 1356 bytes
-rw-r--r--recordings/box.recbin0 -> 1119 bytes
-rw-r--r--recordings/color-class.recbin0 -> 1119 bytes
-rw-r--r--recordings/drag.recbin0 -> 3390 bytes
-rw-r--r--recordings/edje-nested.recbin0 -> 1236 bytes
-rw-r--r--recordings/edje_example.recbin0 -> 34122 bytes
-rw-r--r--recordings/embryo_custom_state.recbin0 -> 4641 bytes
-rw-r--r--recordings/embryo_pong.recbin0 -> 2057 bytes
-rw-r--r--recordings/embryo_run_program.recbin0 -> 2022 bytes
-rw-r--r--recordings/embryo_set_state.recbin0 -> 2046 bytes
-rw-r--r--recordings/embryo_set_text.recbin0 -> 1452 bytes
-rw-r--r--recordings/perspective.recbin0 -> 1194 bytes
-rw-r--r--recordings/signals-messages.recbin0 -> 1874 bytes
-rw-r--r--recordings/signalsBubble.recbin0 -> 742 bytes
-rw-r--r--recordings/toggle_using_filter.recbin0 -> 1693 bytes
-rw-r--r--tests.txt17
-rw-r--r--tests/animations2.edjbin0 -> 10237 bytes
-rw-r--r--tests/basic.edjbin0 -> 5475 bytes
-rw-r--r--tests/basic2.edjbin0 -> 8858 bytes
-rw-r--r--tests/box.edjbin0 -> 7691 bytes
-rwxr-xr-xtests/build.sh3
-rw-r--r--tests/color-class.edjbin0 -> 7063 bytes
-rw-r--r--tests/drag.edjbin0 -> 6579 bytes
-rw-r--r--tests/edje-nested.edjbin0 -> 5545 bytes
-rw-r--r--tests/edje_example.edjbin0 -> 7838 bytes
-rw-r--r--tests/elm_edje_player.c88
-rw-r--r--tests/embryo_custom_state.edjbin0 -> 17895 bytes
-rw-r--r--tests/embryo_pong.edjbin0 -> 11184 bytes
-rw-r--r--tests/embryo_run_program.edjbin0 -> 8043 bytes
-rw-r--r--tests/embryo_set_state.edjbin0 -> 7495 bytes
-rw-r--r--tests/embryo_set_text.edjbin0 -> 7248 bytes
-rw-r--r--tests/perspective.edjbin0 -> 8136 bytes
-rw-r--r--tests/signals-messages.edjbin0 -> 9646 bytes
-rw-r--r--tests/signalsBubble.edjbin0 -> 8860 bytes
-rw-r--r--tests/toggle_using_filter.edjbin0 -> 7481 bytes
82 files changed, 110 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a6be79f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
1/tests/elm_edje_player
2*.swp
diff --git a/orig/animations2_1.png b/orig/animations2_1.png
new file mode 100644
index 0000000..a2619e2
--- /dev/null
+++ b/orig/animations2_1.png
Binary files differ
diff --git a/orig/basic2_1.png b/orig/basic2_1.png
new file mode 100644
index 0000000..f15a86c
--- /dev/null
+++ b/orig/basic2_1.png
Binary files differ
diff --git a/orig/basic_1.png b/orig/basic_1.png
new file mode 100644
index 0000000..54c11bc
--- /dev/null
+++ b/orig/basic_1.png
Binary files differ
diff --git a/orig/box_1.png b/orig/box_1.png
new file mode 100644
index 0000000..08549a4
--- /dev/null
+++ b/orig/box_1.png
Binary files differ
diff --git a/orig/color-class_1.png b/orig/color-class_1.png
new file mode 100644
index 0000000..edc5fec
--- /dev/null
+++ b/orig/color-class_1.png
Binary files differ
diff --git a/orig/drag_1.png b/orig/drag_1.png
new file mode 100644
index 0000000..3a90d36
--- /dev/null
+++ b/orig/drag_1.png
Binary files differ
diff --git a/orig/drag_2.png b/orig/drag_2.png
new file mode 100644
index 0000000..3169894
--- /dev/null
+++ b/orig/drag_2.png
Binary files differ
diff --git a/orig/drag_3.png b/orig/drag_3.png
new file mode 100644
index 0000000..71dc75d
--- /dev/null
+++ b/orig/drag_3.png
Binary files differ
diff --git a/orig/drag_4.png b/orig/drag_4.png
new file mode 100644
index 0000000..9a7483d
--- /dev/null
+++ b/orig/drag_4.png
Binary files differ
diff --git a/orig/drag_5.png b/orig/drag_5.png
new file mode 100644
index 0000000..fb9bc87
--- /dev/null
+++ b/orig/drag_5.png
Binary files differ
diff --git a/orig/drag_6.png b/orig/drag_6.png
new file mode 100644
index 0000000..fb9bc87
--- /dev/null
+++ b/orig/drag_6.png
Binary files differ
diff --git a/orig/drag_7.png b/orig/drag_7.png
new file mode 100644
index 0000000..51da987
--- /dev/null
+++ b/orig/drag_7.png
Binary files differ
diff --git a/orig/drag_8.png b/orig/drag_8.png
new file mode 100644
index 0000000..51da987
--- /dev/null
+++ b/orig/drag_8.png
Binary files differ
diff --git a/orig/drag_9.png b/orig/drag_9.png
new file mode 100644
index 0000000..51da987
--- /dev/null
+++ b/orig/drag_9.png
Binary files differ
diff --git a/orig/edje-nested_1.png b/orig/edje-nested_1.png
new file mode 100644
index 0000000..4a63ad2
--- /dev/null
+++ b/orig/edje-nested_1.png
Binary files differ
diff --git a/orig/edje_example_1.png b/orig/edje_example_1.png
new file mode 100644
index 0000000..7d73b9c
--- /dev/null
+++ b/orig/edje_example_1.png
Binary files differ
diff --git a/orig/edje_example_2.png b/orig/edje_example_2.png
new file mode 100644
index 0000000..e2e2540
--- /dev/null
+++ b/orig/edje_example_2.png
Binary files differ
diff --git a/orig/edje_example_3.png b/orig/edje_example_3.png
new file mode 100644
index 0000000..7d73b9c
--- /dev/null
+++ b/orig/edje_example_3.png
Binary files differ
diff --git a/orig/edje_example_4.png b/orig/edje_example_4.png
new file mode 100644
index 0000000..7d73b9c
--- /dev/null
+++ b/orig/edje_example_4.png
Binary files differ
diff --git a/orig/edje_example_5.png b/orig/edje_example_5.png
new file mode 100644
index 0000000..7d73b9c
--- /dev/null
+++ b/orig/edje_example_5.png
Binary files differ
diff --git a/orig/embryo_custom_state_1.png b/orig/embryo_custom_state_1.png
new file mode 100644
index 0000000..241fc06
--- /dev/null
+++ b/orig/embryo_custom_state_1.png
Binary files differ
diff --git a/orig/embryo_custom_state_2.png b/orig/embryo_custom_state_2.png
new file mode 100644
index 0000000..7624b09
--- /dev/null
+++ b/orig/embryo_custom_state_2.png
Binary files differ
diff --git a/orig/embryo_custom_state_3.png b/orig/embryo_custom_state_3.png
new file mode 100644
index 0000000..feedf80
--- /dev/null
+++ b/orig/embryo_custom_state_3.png
Binary files differ
diff --git a/orig/embryo_custom_state_4.png b/orig/embryo_custom_state_4.png
new file mode 100644
index 0000000..0c8b4cc
--- /dev/null
+++ b/orig/embryo_custom_state_4.png
Binary files differ
diff --git a/orig/embryo_custom_state_5.png b/orig/embryo_custom_state_5.png
new file mode 100644
index 0000000..5718e70
--- /dev/null
+++ b/orig/embryo_custom_state_5.png
Binary files differ
diff --git a/orig/embryo_custom_state_6.png b/orig/embryo_custom_state_6.png
new file mode 100644
index 0000000..c010560
--- /dev/null
+++ b/orig/embryo_custom_state_6.png
Binary files differ
diff --git a/orig/embryo_custom_state_7.png b/orig/embryo_custom_state_7.png
new file mode 100644
index 0000000..013123b
--- /dev/null
+++ b/orig/embryo_custom_state_7.png
Binary files differ
diff --git a/orig/embryo_pong_1.png b/orig/embryo_pong_1.png
new file mode 100644
index 0000000..5cbeb9c
--- /dev/null
+++ b/orig/embryo_pong_1.png
Binary files differ
diff --git a/orig/embryo_pong_2.png b/orig/embryo_pong_2.png
new file mode 100644
index 0000000..4373e4e
--- /dev/null
+++ b/orig/embryo_pong_2.png
Binary files differ
diff --git a/orig/embryo_pong_3.png b/orig/embryo_pong_3.png
new file mode 100644
index 0000000..9a8a6a1
--- /dev/null
+++ b/orig/embryo_pong_3.png
Binary files differ
diff --git a/orig/embryo_run_program_1.png b/orig/embryo_run_program_1.png
new file mode 100644
index 0000000..886ba28
--- /dev/null
+++ b/orig/embryo_run_program_1.png
Binary files differ
diff --git a/orig/embryo_run_program_2.png b/orig/embryo_run_program_2.png
new file mode 100644
index 0000000..1401334
--- /dev/null
+++ b/orig/embryo_run_program_2.png
Binary files differ
diff --git a/orig/embryo_run_program_3.png b/orig/embryo_run_program_3.png
new file mode 100644
index 0000000..886ba28
--- /dev/null
+++ b/orig/embryo_run_program_3.png
Binary files differ
diff --git a/orig/embryo_set_state_1.png b/orig/embryo_set_state_1.png
new file mode 100644
index 0000000..bc73629
--- /dev/null
+++ b/orig/embryo_set_state_1.png
Binary files differ
diff --git a/orig/embryo_set_state_2.png b/orig/embryo_set_state_2.png
new file mode 100644
index 0000000..ec80638
--- /dev/null
+++ b/orig/embryo_set_state_2.png
Binary files differ
diff --git a/orig/embryo_set_text_1.png b/orig/embryo_set_text_1.png
new file mode 100644
index 0000000..49dfde2
--- /dev/null
+++ b/orig/embryo_set_text_1.png
Binary files differ
diff --git a/orig/embryo_set_text_2.png b/orig/embryo_set_text_2.png
new file mode 100644
index 0000000..be150a6
--- /dev/null
+++ b/orig/embryo_set_text_2.png
Binary files differ
diff --git a/orig/embryo_set_text_3.png b/orig/embryo_set_text_3.png
new file mode 100644
index 0000000..49dfde2
--- /dev/null
+++ b/orig/embryo_set_text_3.png
Binary files differ
diff --git a/orig/perspective_1.png b/orig/perspective_1.png
new file mode 100644
index 0000000..ab75e72
--- /dev/null
+++ b/orig/perspective_1.png
Binary files differ
diff --git a/orig/signals-messages_1.png b/orig/signals-messages_1.png
new file mode 100644
index 0000000..448b936
--- /dev/null
+++ b/orig/signals-messages_1.png
Binary files differ
diff --git a/orig/signalsBubble_1.png b/orig/signalsBubble_1.png
new file mode 100644
index 0000000..f15a86c
--- /dev/null
+++ b/orig/signalsBubble_1.png
Binary files differ
diff --git a/orig/toggle_using_filter_1.png b/orig/toggle_using_filter_1.png
new file mode 100644
index 0000000..c5ae9f5
--- /dev/null
+++ b/orig/toggle_using_filter_1.png
Binary files differ
diff --git a/orig/toggle_using_filter_2.png b/orig/toggle_using_filter_2.png
new file mode 100644
index 0000000..bc7cf65
--- /dev/null
+++ b/orig/toggle_using_filter_2.png
Binary files differ
diff --git a/orig/toggle_using_filter_3.png b/orig/toggle_using_filter_3.png
new file mode 100644
index 0000000..c5ae9f5
--- /dev/null
+++ b/orig/toggle_using_filter_3.png
Binary files differ
diff --git a/recordings/animations2.rec b/recordings/animations2.rec
new file mode 100644
index 0000000..c883c7a
--- /dev/null
+++ b/recordings/animations2.rec
Binary files differ
diff --git a/recordings/basic.rec b/recordings/basic.rec
new file mode 100644
index 0000000..b342bc9
--- /dev/null
+++ b/recordings/basic.rec
Binary files differ
diff --git a/recordings/basic2.rec b/recordings/basic2.rec
new file mode 100644
index 0000000..8dec465
--- /dev/null
+++ b/recordings/basic2.rec
Binary files differ
diff --git a/recordings/box.rec b/recordings/box.rec
new file mode 100644
index 0000000..75fa5d5
--- /dev/null
+++ b/recordings/box.rec
Binary files differ
diff --git a/recordings/color-class.rec b/recordings/color-class.rec
new file mode 100644
index 0000000..dd8118b
--- /dev/null
+++ b/recordings/color-class.rec
Binary files differ
diff --git a/recordings/drag.rec b/recordings/drag.rec
new file mode 100644
index 0000000..5a742a2
--- /dev/null
+++ b/recordings/drag.rec
Binary files differ
diff --git a/recordings/edje-nested.rec b/recordings/edje-nested.rec
new file mode 100644
index 0000000..f697cfe
--- /dev/null
+++ b/recordings/edje-nested.rec
Binary files differ
diff --git a/recordings/edje_example.rec b/recordings/edje_example.rec
new file mode 100644
index 0000000..ef99b69
--- /dev/null
+++ b/recordings/edje_example.rec
Binary files differ
diff --git a/recordings/embryo_custom_state.rec b/recordings/embryo_custom_state.rec
new file mode 100644
index 0000000..6287bd2
--- /dev/null
+++ b/recordings/embryo_custom_state.rec
Binary files differ
diff --git a/recordings/embryo_pong.rec b/recordings/embryo_pong.rec
new file mode 100644
index 0000000..7810569
--- /dev/null
+++ b/recordings/embryo_pong.rec
Binary files differ
diff --git a/recordings/embryo_run_program.rec b/recordings/embryo_run_program.rec
new file mode 100644
index 0000000..7b85412
--- /dev/null
+++ b/recordings/embryo_run_program.rec
Binary files differ
diff --git a/recordings/embryo_set_state.rec b/recordings/embryo_set_state.rec
new file mode 100644
index 0000000..cadcfb0
--- /dev/null
+++ b/recordings/embryo_set_state.rec
Binary files differ
diff --git a/recordings/embryo_set_text.rec b/recordings/embryo_set_text.rec
new file mode 100644
index 0000000..97df3fa
--- /dev/null
+++ b/recordings/embryo_set_text.rec
Binary files differ
diff --git a/recordings/perspective.rec b/recordings/perspective.rec
new file mode 100644
index 0000000..4cfc500
--- /dev/null
+++ b/recordings/perspective.rec
Binary files differ
diff --git a/recordings/signals-messages.rec b/recordings/signals-messages.rec
new file mode 100644
index 0000000..76b7673
--- /dev/null
+++ b/recordings/signals-messages.rec
Binary files differ
diff --git a/recordings/signalsBubble.rec b/recordings/signalsBubble.rec
new file mode 100644
index 0000000..af55f22
--- /dev/null
+++ b/recordings/signalsBubble.rec
Binary files differ
diff --git a/recordings/toggle_using_filter.rec b/recordings/toggle_using_filter.rec
new file mode 100644
index 0000000..c350e70
--- /dev/null
+++ b/recordings/toggle_using_filter.rec
Binary files differ
diff --git a/tests.txt b/tests.txt
new file mode 100644
index 0000000..271a783
--- /dev/null
+++ b/tests.txt
@@ -0,0 +1,17 @@
1animations2 tests/elm_edje_player tests/animations2.edj
2basic2 tests/elm_edje_player tests/basic2.edj
3basic tests/elm_edje_player tests/basic.edj
4box tests/elm_edje_player tests/box.edj
5color-class tests/elm_edje_player tests/color-class.edj
6drag tests/elm_edje_player tests/drag.edj
7edje_example tests/elm_edje_player tests/edje_example.edj
8edje-nested tests/elm_edje_player tests/edje-nested.edj
9embryo_custom_state tests/elm_edje_player tests/embryo_custom_state.edj
10embryo_pong tests/elm_edje_player tests/embryo_pong.edj
11embryo_run_program tests/elm_edje_player tests/embryo_run_program.edj
12embryo_set_state tests/elm_edje_player tests/embryo_set_state.edj
13embryo_set_text tests/elm_edje_player tests/embryo_set_text.edj
14perspective tests/elm_edje_player tests/perspective.edj
15signalsBubble tests/elm_edje_player tests/signalsBubble.edj
16signals-messages tests/elm_edje_player tests/signals-messages.edj
17toggle_using_filter tests/elm_edje_player tests/toggle_using_filter.edj
diff --git a/tests/animations2.edj b/tests/animations2.edj
new file mode 100644
index 0000000..cb7706e
--- /dev/null
+++ b/tests/animations2.edj
Binary files differ
diff --git a/tests/basic.edj b/tests/basic.edj
new file mode 100644
index 0000000..3422e17
--- /dev/null
+++ b/tests/basic.edj
Binary files differ
diff --git a/tests/basic2.edj b/tests/basic2.edj
new file mode 100644
index 0000000..0f035bf
--- /dev/null
+++ b/tests/basic2.edj
Binary files differ
diff --git a/tests/box.edj b/tests/box.edj
new file mode 100644
index 0000000..e04af56
--- /dev/null
+++ b/tests/box.edj
Binary files differ
diff --git a/tests/build.sh b/tests/build.sh
new file mode 100755
index 0000000..2e4fd53
--- /dev/null
+++ b/tests/build.sh
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3gcc elm_edje_player.c ${CFLAGS} `pkg-config --cflags --libs elementary` -o elm_edje_player
diff --git a/tests/color-class.edj b/tests/color-class.edj
new file mode 100644
index 0000000..d457b3f
--- /dev/null
+++ b/tests/color-class.edj
Binary files differ
diff --git a/tests/drag.edj b/tests/drag.edj
new file mode 100644
index 0000000..fcf47f9
--- /dev/null
+++ b/tests/drag.edj
Binary files differ
diff --git a/tests/edje-nested.edj b/tests/edje-nested.edj
new file mode 100644
index 0000000..f7b690e
--- /dev/null
+++ b/tests/edje-nested.edj
Binary files differ
diff --git a/tests/edje_example.edj b/tests/edje_example.edj
new file mode 100644
index 0000000..2175002
--- /dev/null
+++ b/tests/edje_example.edj
Binary files differ
diff --git a/tests/elm_edje_player.c b/tests/elm_edje_player.c
new file mode 100644
index 0000000..3927e56
--- /dev/null
+++ b/tests/elm_edje_player.c
@@ -0,0 +1,88 @@
1#include <Elementary.h>
2#include <Evas.h>
3#include <stdio.h>
4
5static void
6_my_win_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
7{
8 elm_exit();
9}
10
11static void
12_layout_file_set(Evas_Object *obj, const char *filename)
13{
14 char *group = NULL;
15 if (edje_file_group_exists(filename, "main"))
16 {
17 group = strdup("main");
18 }
19 else
20 {
21 Eina_List *groups = edje_file_collection_list(filename);
22 if (!groups)
23 {
24 fprintf(stderr, "ERROR: file '%s' has no groups!\n",
25 filename);
26 return;
27 }
28 group = strdup(groups->data);
29
30 edje_file_collection_list_free(groups);
31 }
32
33 elm_layout_file_set(obj, filename, group);
34 free(group);
35}
36
37int
38elm_main(int argc, char *argv[])
39{
40 Evas_Object *win, *obj, *bg;
41
42 if (argc != 2)
43 {
44 fprintf(stderr, "Usage: ./elm_edje_player <filename>\n");
45 return 1;
46 }
47
48 win = elm_win_add(NULL, "elm_edje_player", ELM_WIN_BASIC);
49 elm_win_title_set(win, "elm_edje_player");
50 elm_win_autodel_set(win, EINA_TRUE);
51 evas_object_smart_callback_add(win, "delete,request", _my_win_del, NULL);
52
53 bg = elm_bg_add(win);
54 evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
55 elm_win_resize_object_add(win, bg);
56 evas_object_show(bg);
57
58 obj = elm_layout_add(win);
59 elm_win_resize_object_add(win, obj);
60 evas_object_size_hint_weight_set(obj, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
61 evas_object_show(obj);
62 evas_object_show(win);
63
64 _layout_file_set(obj, argv[1]);
65
66 {
67 Evas_Object *edje = elm_layout_edje_get(obj);
68 Evas_Coord minw, minh;
69 edje_object_size_min_get(edje, &minw, &minh);
70 if ((minw <= 0) && (minh <= 0))
71 edje_object_size_min_calc(edje, &minw, &minh);
72
73 if (minw < 320) minw = 320;
74 if (minh < 240) minh = 240;
75
76 evas_object_size_hint_min_set(obj, minw, minh);
77 evas_object_resize(obj, minw, minh);
78 evas_object_resize(win, minw, minh);
79 }
80
81 elm_run();
82
83 elm_shutdown();
84
85 return 0;
86}
87
88ELM_MAIN()
diff --git a/tests/embryo_custom_state.edj b/tests/embryo_custom_state.edj
new file mode 100644
index 0000000..00368bb
--- /dev/null
+++ b/tests/embryo_custom_state.edj
Binary files differ
diff --git a/tests/embryo_pong.edj b/tests/embryo_pong.edj
new file mode 100644
index 0000000..55ad00b
--- /dev/null
+++ b/tests/embryo_pong.edj
Binary files differ
diff --git a/tests/embryo_run_program.edj b/tests/embryo_run_program.edj
new file mode 100644
index 0000000..6800405
--- /dev/null
+++ b/tests/embryo_run_program.edj
Binary files differ
diff --git a/tests/embryo_set_state.edj b/tests/embryo_set_state.edj
new file mode 100644
index 0000000..184798e
--- /dev/null
+++ b/tests/embryo_set_state.edj
Binary files differ
diff --git a/tests/embryo_set_text.edj b/tests/embryo_set_text.edj
new file mode 100644
index 0000000..b67d8b7
--- /dev/null
+++ b/tests/embryo_set_text.edj
Binary files differ
diff --git a/tests/perspective.edj b/tests/perspective.edj
new file mode 100644
index 0000000..2c9cea8
--- /dev/null
+++ b/tests/perspective.edj
Binary files differ
diff --git a/tests/signals-messages.edj b/tests/signals-messages.edj
new file mode 100644
index 0000000..a8f7395
--- /dev/null
+++ b/tests/signals-messages.edj
Binary files differ
diff --git a/tests/signalsBubble.edj b/tests/signalsBubble.edj
new file mode 100644
index 0000000..04000b6
--- /dev/null
+++ b/tests/signalsBubble.edj
Binary files differ
diff --git a/tests/toggle_using_filter.edj b/tests/toggle_using_filter.edj
new file mode 100644
index 0000000..294f0e6
--- /dev/null
+++ b/tests/toggle_using_filter.edj
Binary files differ