summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-08-07 16:00:15 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-08-07 16:04:52 +0900
commit442dda08c4644e71daf290c342ac6e98425aa614 (patch)
treebaaa7dcb878cd0372605438d56e3f82f63143581 /src/examples
parent93b0fbfe6593f7d84b0239686dd42a161d695b43 (diff)
edje: make min: source work correctly with GROUP part.
This close task T54.
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/edje/Makefile.am1
-rw-r--r--src/examples/edje/edje-group.edc72
2 files changed, 73 insertions, 0 deletions
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
index 5d5dfa8589..bda5f45486 100644
--- a/src/examples/edje/Makefile.am
+++ b/src/examples/edje/Makefile.am
@@ -11,6 +11,7 @@ endif
11 11
12#put here all EDCs one needs to the examples 12#put here all EDCs one needs to the examples
13EDCS = \ 13EDCS = \
14edje-group.edc \
14edje-threshold.edc \ 15edje-threshold.edc \
15animations2.edc \ 16animations2.edc \
16animations.edc \ 17animations.edc \
diff --git a/src/examples/edje/edje-group.edc b/src/examples/edje/edje-group.edc
new file mode 100644
index 0000000000..f483e1c0d0
--- /dev/null
+++ b/src/examples/edje/edje-group.edc
@@ -0,0 +1,72 @@
1collections {
2 group {
3 styles {
4 style {
5 name: "some style";
6 base: "font=Vera font_size=14 color=#0f0";
7 }
8 }
9 name: "some group with textblock";
10 parts {
11 part {
12 name: "textblock";
13 type: TEXTBLOCK;
14 description {
15 state: "default";
16 text {
17 style: "some style";
18 text: "Hello World!";
19 min: 1 1;
20 max: 1 1;
21 }
22 }
23 }
24 }
25 }
26
27 group {
28 name: "rect";
29
30 parts {
31 part {
32 name: "rect";
33 type: RECT;
34 description {
35 state: "default";
36 color: 255 0 0 255;
37 max: 10 10;
38 min: 10 10;
39 }
40 }
41 }
42 }
43
44 group {
45 name: "broken alignment";
46
47 parts {
48 part {
49 name: "sourced group top right";
50 type: GROUP;
51 source: "rect";
52 description {
53 state: "default";
54 min: SOURCE;
55 max: 0 0;
56 align: 1.0 0.0;
57 }
58 }
59 part {
60 name: "sourced group top left";
61 type: GROUP;
62 source: "some group with textblock";
63 description {
64 state: "default";
65 min: SOURCE;
66 max: 0 0;
67 align: 0.0 0.0;
68 }
69 }
70 }
71 }
72}