aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication/controls/CNCursorIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'DemoApplication/controls/CNCursorIndicator.qml')
-rw-r--r--DemoApplication/controls/CNCursorIndicator.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/DemoApplication/controls/CNCursorIndicator.qml b/DemoApplication/controls/CNCursorIndicator.qml
new file mode 100644
index 0000000..dc21d2e
--- /dev/null
+++ b/DemoApplication/controls/CNCursorIndicator.qml
@@ -0,0 +1,11 @@
+import QtQuick 2.9
+import CursorNavigation 1.0
+
+Rectangle {
+ property Item cursorItem
+ border.width: 2
+ border.color: "#ff66aa"
+ anchors.fill: parent
+ visible: cursorItem.CursorNavigation.hasCursor
+ color: "transparent"
+}