From c61c33a833ebbf874885d3c48491f8307bffe68e Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 10 Mar 2015 10:29:07 +0100 Subject: Add set_cursor_position function --- src/cocoa/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cocoa/mod.rs') 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!(); + } } -- cgit v1.2.3