summaryrefslogtreecommitdiff
path: root/edc/test.edc
blob: bb2d31c1ca78df4f4af3015b65db88a8cdbf940c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
collections {

     group { name: "test";
          parts {
               part { name: "rect1"; type: RECT;
                    description {
                     min: 10 10;
                     max: 10 10 ;
                     align: 0 0;
                    }
               }
               part { name: "rect2"; type: RECT;
                    description {
                       min:40 40;
                       max: 40 40;
                       color: 0 100 0 100; 
                    }
               }
               part { name: "trect"; type: RECT;
                    description {
                       rel1.to: "rect1";
                       rel1.relative: 1 0;
                       rel2.to: "rect2";
                       rel2.relative: 1 1;
                       color: 0 0 0 0;
                    }
               }
               part { name: "finalrect"; type: RECT;
                    description {
                         rel1.to: "trect";
                         rel2.to: "trect";
                         rel1.relative: 1 0.5;
                         rel2.relative: 1 0.5;
                         align: 0 1;
                         min: 40 50;
                         max: 40 50;
                         color: 255 255 0 255;
                    }
               }
     }
}