summaryrefslogtreecommitdiff
path: root/data/themes/edc/pointer.edc
blob: f57a2da2f7300fc102b67d713258a9f3ca7caff8 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
group { name: "e/pointer/enlightenment/default/color";
   images.image: "pointer.png" COMP;
   images.image: "pointer_glow.png" COMP;
   parts {
      part { name: "base";
         description { state: "default" 0.0;
            image.normal: "pointer.png";
         }
      }
      part { name: "glow";
         description { state: "default" 0.0;
            image.normal: "pointer_glow.png";
            color: 255 255 255 0;
         }
         description { state: "visible" 0.0;
            inherit: "default" 0.0;
            color: 255 255 255 255;
         }
         description { state: "faded" 0.0;
            inherit: "default" 0.0;
            color: 255 255 255 128;
         }
      }
      part { name: "e.swallow.hotspot"; type: SWALLOW;
         description { state: "default" 0.0;
            visible: 0;
            rel1.relative: (6/32) (8/32);
            rel1.to: "base";
            rel2.to: "base";
            rel2.relative: (6/32) (8/32); 
            rel2.offset: 0 0;
        }
      }
   }
   programs {
      program {
         signal: "e,action,mouse,down"; source: "e";
         action: STATE_SET "visible" 0.0;
         target: "glow";
         after: "fade";
      }
      program { name: "fade";
         action: STATE_SET "default" 0.0;
         transition: SINUSOIDAL 0.5;
         target: "glow";
      }
      program { name: "pulse";
         signal: "e,state,mouse,idle"; source: "e";
         in: 10.0 0.0;
         action: STATE_SET "faded" 0.0;
         transition: SINUSOIDAL 0.25;
         target: "glow";
         after: "pulse2";
      }
      program { name: "pulse2";
         action: STATE_SET "default" 0.0;
         transition: SINUSOIDAL 0.5;
         target: "glow";
         after: "pulse";
      }
      program {
         signal: "e,state,mouse,active"; source: "e";
         action: STATE_SET "default" 0.0;
         target: "glow";
         after: "stop2";
      }
      program { name: "stop2";
         action: ACTION_STOP;
         target: "pulse";
         target: "pulse2";
      }
   }
}
      
group { name: "e/pointer/enlightenment/default/mono";
   images.image: "pointer_mono.png" COMP;
   parts {
      part { name: "base"; mouse_events: 0;
         description { state: "default" 0.0;
            image.normal: "pointer_mono.png";
            min: 32 32;
            max: 32 32;
         }
      }
      part { name: "e.swallow.hotspot"; type: SWALLOW;
         description { state: "default" 0.0;
            visible: 0;
            rel1.offset: 6 8;
            rel1.to: "base";
            rel2.offset: 6 8;
            rel2.to: "base";
            rel2.relative: 0.0 0.0;
         }
      }
   }
}

// XXX:
// 
// can handle these too
// 
// e/pointer/enlightenment/move/color
// e/pointer/enlightenment/resize_tl/color
// e/pointer/enlightenment/resize_t/color
// e/pointer/enlightenment/resize_tr/color
// e/pointer/enlightenment/resize_r/color
// e/pointer/enlightenment/resize_br/color
// e/pointer/enlightenment/resize_b/color
// e/pointer/enlightenment/resize_bl/color
// e/pointer/enlightenment/resize_l/color
// e/pointer/enlightenment/entry/color
// e/pointer/enlightenment/plus/color
// e/pointer/enlightenment/hand/color
// e/pointer/enlightenment/rotate/color