summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung@gmail.com>2013-06-18 06:14:16 +0900
committerDaniel Juyung Seo <seojuyung@gmail.com>2013-06-18 06:14:16 +0900
commit87123a1138f3b00fb830e6f4ac45d32ba529ea6d (patch)
tree2e563567d559bce213c8c888f843af881e6a60bf
parent4af0beb512ce825ca00f8192baea18383e6ebe59 (diff)
added 1-edc.
-rw-r--r--source/2-step/1-edc/layout.edc154
1 files changed, 154 insertions, 0 deletions
diff --git a/source/2-step/1-edc/layout.edc b/source/2-step/1-edc/layout.edc
new file mode 100644
index 0000000..c07bb35
--- /dev/null
+++ b/source/2-step/1-edc/layout.edc
@@ -0,0 +1,154 @@
1collections {
2 images {
3 image: "bg.jpg" COMP;
4 image: "icon_left_arrow.png" COMP;
5 image: "icon_right_arrow.png" COMP;
6 image: "icon_01.png" COMP;
7 image: "icon_02.png" COMP;
8 image: "icon_03.png" COMP;
9 image: "icon_04.png" COMP;
10 image: "icon_05.png" COMP;
11 }
12 group { name:"main";
13 parts {
14 part { name: "bg";
15 type: IMAGE;
16 description { state: "default" 0.0;
17 image.normal: "bg.jpg";
18 }
19 }
20 part { name: "elm.swallow.top";
21 type: RECT;
22 description { state: "default" 0.0;
23 rel1.relative: 0.35 0.0;
24 rel2.relative: 0.65 0.15;
25 color: 255 0 0 255;
26 }
27 }
28 part { name: "elm.text.news";
29 type: TEXT;
30 scale: 1;
31 description { state: "default" 0.0;
32 rel1.relative: 0.05 0.1;
33 rel2.relative: 0.15 0.2;
34 align: 0 0;
35 color: 200 200 200 255;
36 text { font: "Sans:style=Bold";
37 size: 12;
38 min: 0 0;
39 text: "News";
40 }
41 }
42 }
43 part { name: "elm.swallow.middle";
44 // TODO 1
45 description { state: "default" 0.0;
46 }
47 }
48 part { name: "elm.swallow.bottom";
49 // TODO 1
50 description { state: "default" 0.0;
51 }
52 }
53 part { name: "elm.swallow.left_arrow";
54 // TODO 1
55 scale: 1;
56 description { state: "default" 0.0;
57 //min:
58 //fixed:
59 //align:
60 }
61 description { state: "visible" 0.0;
62 inherit: "default" 0.0;
63 visible: 0;
64 }
65 }
66 part { name: "elm.swallow.right_arrow";
67 // TODO 1
68 scale: 1;
69 description { state: "default" 0.0;
70 //min:
71 //fixed:
72 //align:
73 }
74 }
75 }
76 programs {
77 program { name: "hide-arrow-left";
78 signal: "elm,state,arrow,hide";
79 source: "elm";
80 action: STATE_SET "visible" 0.0;
81 target: "elm.swallow.left_arrow";
82 }
83 program { name: "show-arrow-left";
84 signal: "elm,state,arrow,show";
85 source: "elm";
86 action: STATE_SET "default" 0.0;
87 target: "elm.swallow.left_arrow";
88 }
89 }
90 }
91 group { name:"left_arrow";
92 parts {
93 part { name: "base";
94 description {
95 image.normal: "icon_left_arrow.png";
96 }
97 }
98 }
99 }
100 group { name:"right_arrow";
101 parts {
102 part { name: "base";
103 description {
104 image.normal: "icon_right_arrow.png";
105 }
106 }
107 }
108 }
109 group { name:"icon0";
110 parts {
111 part { name: "base";
112 description {
113 image.normal: "icon_01.png";
114 }
115 }
116 }
117 }
118 group { name:"icon1";
119 parts {
120 part { name: "base";
121 description {
122 image.normal: "icon_02.png";
123 }
124 }
125 }
126 }
127 group { name:"icon2";
128 parts {
129 part { name: "base";
130 description {
131 image.normal: "icon_03.png";
132 }
133 }
134 }
135 }
136 group { name:"icon3";
137 parts {
138 part { name: "base";
139 description {
140 image.normal: "icon_04.png";
141 }
142 }
143 }
144 }
145 group { name:"icon4";
146 parts {
147 part { name: "base";
148 description {
149 image.normal: "icon_05.png";
150 }
151 }
152 }
153 }
154}