diff options
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/extantz/extantz.edc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ClientHamr/extantz/extantz.edc b/ClientHamr/extantz/extantz.edc new file mode 100644 index 0000000..b4ed0b3 --- /dev/null +++ b/ClientHamr/extantz/extantz.edc | |||
@@ -0,0 +1,30 @@ | |||
1 | externals { | ||
2 | external: "elm"; | ||
3 | } | ||
4 | |||
5 | collections { | ||
6 | #define ADD_CUBE(_group, _file) \ | ||
7 | images { \ | ||
8 | image: #_file##".png" COMP; \ | ||
9 | } \ | ||
10 | group { \ | ||
11 | name: #_group; \ | ||
12 | parts { \ | ||
13 | part { \ | ||
14 | name: "cube"; \ | ||
15 | type: IMAGE; \ | ||
16 | mouse_events: 1; \ | ||
17 | repeat_events: 0; \ | ||
18 | description { \ | ||
19 | state: "default" 0.0; \ | ||
20 | image.normal: #_file##".png"; \ | ||
21 | } \ | ||
22 | } \ | ||
23 | } \ | ||
24 | } | ||
25 | |||
26 | ADD_CUBE(blue-cube, cube-blue); | ||
27 | ADD_CUBE(purple-cube, cube-purple); | ||
28 | |||
29 | #undef ADD_CUBE | ||
30 | } | ||