summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/cursor.json
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-05-17 15:53:14 -0700
committerQt by Nokia <qt-info@nokia.com>2012-05-18 15:28:09 +0200
commit5672cbf1317bc266ac12c224b148d6d213c91779 (patch)
tree0e07269388b0da2b16b48b4fca21f2a83b0ee3ae /src/plugins/platforms/eglfs/cursor.json
parentf3a0422acb6d92be26e30c604b7092a8bfd52b7b (diff)
eglfs: Add support for cursor hotspots
Cursor information is now loaded from cursor.json. Done-with: Johannes Zellner Change-Id: I093cf8e944d495269973e777d0b444ae4ececee1 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/cursor.json')
-rw-r--r--src/plugins/platforms/eglfs/cursor.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/cursor.json b/src/plugins/platforms/eglfs/cursor.json
new file mode 100644
index 0000000000..7b6b6d95fa
--- /dev/null
+++ b/src/plugins/platforms/eglfs/cursor.json
@@ -0,0 +1,28 @@
+{
+ "image": ":/cursor-atlas.png",
+ "cursorsPerRow": 8,
+ "hotSpots": [
+ [7, 2],
+ [13, 3],
+ [13, 13],
+ [13, 13],
+ [14, 15],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [13, 13],
+ [10, 1],
+ [13, 13],
+ [0, 0],
+ [0, 0],
+ [13, 13],
+ [13, 13]
+ ]
+}
+