summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx-objc.mm
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-01-22 19:59:49 -0500
committerGeenz <geenz@geenzo.com>2013-01-22 19:59:49 -0500
commit461ab912a58b67579fffdf70ec7e38d682927185 (patch)
tree2489ae49226618c7797478ec5ac7b9cef8d540cf /indra/llwindow/llwindowmacosx-objc.mm
parent29e747c4f17818816c502a3aa653b828e689be4a (diff)
Initial Cocoa drag and drop support.
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.mm')
-rw-r--r--indra/llwindow/llwindowmacosx-objc.mm6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm
index b6e5767203..7867226476 100644
--- a/indra/llwindow/llwindowmacosx-objc.mm
+++ b/indra/llwindow/llwindowmacosx-objc.mm
@@ -143,6 +143,12 @@ void setCrossCursor()
[cursor set];
}
+void setNotAllowedCursor()
+{
+ NSCursor *cursor = [NSCursor operationNotAllowedCursor];
+ [cursor set];
+}
+
void hideNSCursor()
{
[NSCursor hide];