summaryrefslogtreecommitdiffstats
path: root/data/themes/default/edc/elm/pointer.edc
diff options
context:
space:
mode:
Diffstat (limited to 'data/themes/default/edc/elm/pointer.edc')
-rw-r--r--data/themes/default/edc/elm/pointer.edc50
1 files changed, 50 insertions, 0 deletions
diff --git a/data/themes/default/edc/elm/pointer.edc b/data/themes/default/edc/elm/pointer.edc
new file mode 100644
index 0000000..e8252e6
--- /dev/null
+++ b/data/themes/default/edc/elm/pointer.edc
@@ -0,0 +1,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;
+ }
+ }
+ }
+ }
+}