From 206aebd46aa2e709abf00167792c2454bccb4fb1 Mon Sep 17 00:00:00 2001 From: mantognini Date: Sat, 22 Jan 2011 09:13:42 +0000 Subject: [PATCH] OSX, forget to remove NSLog.. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1775 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Window/OSX/SFWindowController.mm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/SFML/Window/OSX/SFWindowController.mm b/src/SFML/Window/OSX/SFWindowController.mm index 0a476475..50e0208f 100644 --- a/src/SFML/Window/OSX/SFWindowController.mm +++ b/src/SFML/Window/OSX/SFWindowController.mm @@ -423,21 +423,17 @@ //////////////////////////////////////////////////////// -(float)screenHeight { - NSLog(@"hihi"); // With Mac OS X 10.4 and 10.5, there is a shift upwards // (about 22px – that is the apple menu bar height). With 10.6 and later // we have a workaround : we hide the dock and get the visibleFrame of the // screen (see NSApplicationPresentationOptions and NSScreen for more info). #if MAC_OS_X_VERSION_MAX_ALLOWED < 1060 - NSLog(@"<1060"); return NSHeight([[myWindow screen] frame]); #else // (NSApplicationPresentationOptions Availability: Mac OS X 10.6 and later) // We want to recompute it because the user may have moved the window to another screen // since last time. - NSLog(@">=1060"); - static float height = 0.f; static NSDate* lastTime = [NSDate date]; if (height > 1.f && // height was set at least once.