2 name: "elm/pointer/base/default";
4 image: "pointer.png" COMP;
5 image: "pointer_glow.png" COMP;
6 image: "pointer_glint_01.png" COMP;
7 image: "pointer_glint_02.png" COMP;
8 image: "pointer_glint_03.png" COMP;
9 image: "pointer_glint_04.png" COMP;
10 image: "pointer_glint_05.png" COMP;
11 image: "pointer_glint_06.png" COMP;
12 image: "pointer_glint_07.png" COMP;
13 image: "pointer_glint_08.png" COMP;
14 image: "pointer_glint_09.png" COMP;
15 image: "pointer_glint_10.png" COMP;
16 image: "pointer_glint_11.png" COMP;
17 image: "pointer_glint_12.png" COMP;
25 aspect: 0.71875 0.71875;
27 /* force a specific aspect ratio so
28 * when it gets scaled it wont squash
30 aspect_preference: BOTH;
31 /* both axes control aspect - thus it
32 * will be WITHIN the bounds the axes
33 * of thre part describe */
35 normal: "pointer.png";
41 /* this overlay is used to put a white glow
42 * around the pointer, so when the pointer is
43 * idle every now and again it will pulsate
44 * with this glow to just remind you where the
45 * pointer is (if you lose a black-ish
46 * pointer on a black background) */
54 image.normal: "pointer_glow.png";
58 inherit: "default" 0.0;
60 color: 255 255 255 255;
65 /* this overlay flips a series of small images
66 * over the pointer. they look like a white
67 * light/refelection when put over the pointer
68 * base image - and produce a "glinting" effect
69 * when played back fast */
76 image.normal: "pointer_glint_12.png";
80 inherit: "default" 0.0;
82 image.tween: "pointer_glint_01.png";
83 image.tween: "pointer_glint_02.png";
84 image.tween: "pointer_glint_03.png";
85 image.tween: "pointer_glint_04.png";
86 image.tween: "pointer_glint_05.png";
87 image.tween: "pointer_glint_06.png";
88 image.tween: "pointer_glint_07.png";
89 image.tween: "pointer_glint_08.png";
90 image.tween: "pointer_glint_09.png";
91 image.tween: "pointer_glint_10.png";
92 image.tween: "pointer_glint_11.png";
93 image.normal: "pointer_glint_12.png";
97 name: "elm.swallow.hotspot";
98 /* this is a "fake" swallow part
99 * that is used by e to determine
100 * the pointer hotspot - or where
101 * the actual mouse events get
102 * reported from on the cursor */
105 state: "default" 0.0;
108 /* the hotspot will scale with the cursor here */
110 relative: 0.27 0.125;
115 relative: 0.27 0.125;
124 /* called every time elm detects a mouse
126 signal: "elm,action,mouse,down";
128 action: STATE_SET "visible" 0.0;
129 transition: LINEAR 0.3;
131 after: "mouse_down2";
135 action: STATE_SET "default" 0.0;
140 /* called when e thinks the mouse went
141 * idle and isn't moving */
142 signal: "elm,state,mouse,idle";
144 action: STATE_SET "visible" 0.0;
146 transition: SINUSOIDAL 1.0;
148 after: "mouse_idle2";
152 action: STATE_SET "default" 0.0;
153 transition: SINUSOIDAL 2.0;
158 name: "mouse_active";
159 /* called when e sees the mouse become
161 signal: "elm,state,mouse,active";
163 action: STATE_SET "default" 0.0;
165 after: "mouse_active2";
168 name: "mouse_active2";
170 target: "mouse_idle";
171 target: "mouse_idle2";
173 // when mouse button is released. not used here
174 // program { name: "xx";
175 // signal: "e,action,mouse,up";
178 // when mouse button is moved. not used here
179 // program { name: "xx";
180 // signal: "e,action,mouse,move";
183 // when mouse wheel is scrolled. not used here
184 // program { name: "xx";
185 // signal: "e,action,mouse,wheel";