From 5aa87f77197969e31587f72b1ebe940834e1f1d0 Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Fri, 28 Jun 2013 18:00:13 +0200 Subject: [PATCH] Remove dead code --- src/SFML/Window/OSX/SFViewController.mm | 8 -------- src/SFML/Window/OSX/SFWindowController.mm | 8 -------- src/SFML/Window/OSX/WindowImplDelegateProtocol.h | 6 ------ 3 files changed, 22 deletions(-) diff --git a/src/SFML/Window/OSX/SFViewController.mm b/src/SFML/Window/OSX/SFViewController.mm index e2ce3ebf..d9cc4c7c 100644 --- a/src/SFML/Window/OSX/SFViewController.mm +++ b/src/SFML/Window/OSX/SFViewController.mm @@ -121,14 +121,6 @@ } -//////////////////////////////////////////////////////// --(void)setCursorPositionToX:(unsigned int)x Y:(unsigned int)y -{ - // Forward to... - [m_oglView setCursorPositionToX:x Y:y]; -} - - //////////////////////////////////////////////////////////// -(NSPoint)position { diff --git a/src/SFML/Window/OSX/SFWindowController.mm b/src/SFML/Window/OSX/SFWindowController.mm index f3397b4b..d0220b3a 100644 --- a/src/SFML/Window/OSX/SFWindowController.mm +++ b/src/SFML/Window/OSX/SFWindowController.mm @@ -281,14 +281,6 @@ } -//////////////////////////////////////////////////////// --(void)setCursorPositionToX:(unsigned int)x Y:(unsigned int)y -{ - // Forward to... - [m_oglView setCursorPositionToX:x Y:y]; -} - - //////////////////////////////////////////////////////////// -(NSPoint)position { diff --git a/src/SFML/Window/OSX/WindowImplDelegateProtocol.h b/src/SFML/Window/OSX/WindowImplDelegateProtocol.h index ace49d81..7e4bbbf1 100644 --- a/src/SFML/Window/OSX/WindowImplDelegateProtocol.h +++ b/src/SFML/Window/OSX/WindowImplDelegateProtocol.h @@ -88,12 +88,6 @@ namespace sf { -(void)hideMouseCursor; -(void)showMouseCursor; -//////////////////////////////////////////////////////////// -/// Move the mouse cursor to (x,y) (SFML Coordinates). -/// -//////////////////////////////////////////////////////////// --(void)setCursorPositionToX:(unsigned int)x Y:(unsigned int)y; - //////////////////////////////////////////////////////////// /// Get window's position. ///