aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/elm/pointer.edc
blob: e8252e6798e36762d8fa113bbf399901a12d2e6f (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
group { name: "elm/pointer/base/default";
   images {
      image: "pointer.png" COMP;
   }
   parts {
      part {
         name: "base";
         mouse_events: 0;
         description {
            state: "default" 0.0;
            aspect: 1.0 1.0;
            min: 32 32;
            /* force a specific aspect ratio so
             * when it gets scaled it wont squash
             * or stretch */
            aspect_preference: BOTH;
            /* both axes control aspect - thus it
             * will be WITHIN the bounds the axes
             * of thre part describe */
            image {
               normal: "pointer.png";
            }
         }
      }
      part {
         name: "elm.swallow.hotspot";
         /* this is a "fake" swallow part
          * that is used by e to determine
          * the pointer hotspot - or where
          * the actual mouse events get
          * reported from on the cursor */
         type: SWALLOW;
         description {
            state: "default" 0.0;
            visible: 0;
            rel1 {
               /* the hotspot will scale with the cursor here */
               to: "base";
               relative: 0.1875 0.1875;
               offset: 0 0;
            }
            rel2 {
               to: "base";
               relative: 0.1875 0.1875;
               offset: 0 0;
            }
         }
      }
   }
}