aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/edje/src/examples/basic.edc
blob: a708b507f9055e887393b696944c39312f1a68ce (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
collections {
   group {
      name: "example_group";
      max: 500 500;
      min: 50 50;

      data {
         item: "example_data" "a string";
      }

      parts {
         part {
            name: "part_one";
            type: RECT;
            scale: 1;
            description {
               min: 50 50;
               max: 50 50;
               state: "default" 0.0;
               color: 0 0 255 255; /* blue */
               rel1.relative: 0.0 0.0;
               rel2.relative: 1.0 1.0;
            }
         }

         part {
            name: "part_two";
            type: RECT;
            description {
               state: "default" 0.0;
               color: 0 255 0 255; /* green */
               rel1.relative: -1.0 -1.0;
               rel2.relative: 0.0 0.0;
            }
         }
      }

   }
}