diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-03-11 09:01:20 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-03-11 09:01:20 +0100 |
commit | 4dc14280a8f192961a46e70267cf7eae78416582 (patch) | |
tree | 841976b471235813010fb65a4e540e607e04bb77 /src/cocoa | |
parent | 277b66a70852661f7eb645e3e216c927eb94dffb (diff) | |
parent | c61c33a833ebbf874885d3c48491f8307bffe68e (diff) | |
download | glutin-4dc14280a8f192961a46e70267cf7eae78416582.tar.gz glutin-4dc14280a8f192961a46e70267cf7eae78416582.zip |
Merge pull request #308 from tomaka/cursor-pos
Add set_cursor_position function
Diffstat (limited to 'src/cocoa')
-rw-r--r-- | src/cocoa/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cocoa/mod.rs b/src/cocoa/mod.rs index 334ec42..ee3b03f 100644 --- a/src/cocoa/mod.rs +++ b/src/cocoa/mod.rs @@ -664,4 +664,8 @@ impl Window { NSWindow::backingScaleFactor(self.window) as f32 } } + + pub fn set_cursor_position(&self, x: i32, y: i32) -> Result<(), ()> { + unimplemented!(); + } } |