summaryrefslogtreecommitdiff
path: root/src/tests/edje/data/test_snapshot.edc
blob: a68c6491e8d4dc5d087f6702eff87ce0cd9a838a (plain) (blame)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
collections {
   filters {
      filter {
         name: "filter";
         script {
            padding_set(0)
            blur { 10 }
         }
      }
   }
   images {
      // found in tests/emotion/data
      image: "e_logo.png" COMP;
   }
   group { name: "test_group";
      filters {
         filter.file: "filter.lua";
      }
      parts {
         part { name: "background";
            type: RECT;
            description { state: "default" 0.0;
               color: 33 32 32 255;
               rel1.relative: 0 0;
               rel2.relative: 1 1;
               max: 250 250;
            }
         }
         image { "img";
            desc { "default";
               image.normal: "e_logo.png";
               fill.type: TILE;
               rel.to: "background";
            }
         }
         part { name: "snap";
            type: SNAPSHOT;
            desc { "default";
               rel.to: "background";
               rel1.relative: 0.25 0.25;
               rel2.relative: 0.75 0.75;
               filter.code: "filter";
            }
            desc { "hid"; inherit: "default"; hid;
            }
         }
      }
      programs.program {
         source: "*";
         signal: "mouse,in";
         action: STATE_SET "hid" 0.0;
         targets: "snap";
      }
      programs.program {
         source: "*";
         signal: "mouse,out";
         action: STATE_SET "default" 0.0;
         targets: "snap";
      }
   }
}