Revision: 7247 http://skim-app.svn.sourceforge.net/skim-app/?rev=7247&view=rev Author: hofman Date: 2011-05-18 12:43:15 +0000 (Wed, 18 May 2011)
Log Message: ----------- rename global string variable Modified Paths: -------------- trunk/SKPDFView.m trunk/SKSecondaryPDFView.m trunk/SKSnapshotPDFView.m trunk/SKStringConstants.h trunk/SKStringConstants.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2011-05-18 11:39:40 UTC (rev 7246) +++ trunk/SKPDFView.m 2011-05-18 12:43:15 UTC (rev 7247) @@ -338,7 +338,7 @@ - (void)drawPage:(PDFPage *)pdfPage { [NSGraphicsContext saveGraphicsState]; - NSImageInterpolation interpolation = [[NSUserDefaults standardUserDefaults] integerForKey:SKImageInterpolation]; + NSImageInterpolation interpolation = [[NSUserDefaults standardUserDefaults] integerForKey:SKImageInterpolationKey]; // smooth graphics when anti-aliasing if (interpolation == NSImageInterpolationDefault && [[NSUserDefaults standardUserDefaults] boolForKey:SKShouldAntiAliasKey]) interpolation = NSImageInterpolationHigh; Modified: trunk/SKSecondaryPDFView.m =================================================================== --- trunk/SKSecondaryPDFView.m 2011-05-18 11:39:40 UTC (rev 7246) +++ trunk/SKSecondaryPDFView.m 2011-05-18 12:43:15 UTC (rev 7247) @@ -156,7 +156,7 @@ } - (void)drawPage:(PDFPage *)pdfPage { - NSImageInterpolation interpolation = [[NSUserDefaults standardUserDefaults] integerForKey:SKImageInterpolation]; + NSImageInterpolation interpolation = [[NSUserDefaults standardUserDefaults] integerForKey:SKImageInterpolationKey]; // smooth graphics when anti-aliasing if (interpolation == NSImageInterpolationDefault && [[NSUserDefaults standardUserDefaults] boolForKey:SKShouldAntiAliasKey]) interpolation = NSImageInterpolationHigh; Modified: trunk/SKSnapshotPDFView.m =================================================================== --- trunk/SKSnapshotPDFView.m 2011-05-18 11:39:40 UTC (rev 7246) +++ trunk/SKSnapshotPDFView.m 2011-05-18 12:43:15 UTC (rev 7247) @@ -62,7 +62,7 @@ #define SKScaleMenuFontSize ((CGFloat)11.0) - (void)drawPage:(PDFPage *)pdfPage { - NSImageInterpolation interpolation = [[NSUserDefaults standardUserDefaults] integerForKey:SKImageInterpolation]; + NSImageInterpolation interpolation = [[NSUserDefaults standardUserDefaults] integerForKey:SKImageInterpolationKey]; // smooth graphics when anti-aliasing if (interpolation == NSImageInterpolationDefault && [[NSUserDefaults standardUserDefaults] boolForKey:SKShouldAntiAliasKey]) interpolation = NSImageInterpolationHigh; Modified: trunk/SKStringConstants.h =================================================================== --- trunk/SKStringConstants.h 2011-05-18 11:39:40 UTC (rev 7246) +++ trunk/SKStringConstants.h 2011-05-18 12:43:15 UTC (rev 7247) @@ -58,7 +58,7 @@ extern NSString *SKLastToolModeKey; extern NSString *SKLastAnnotationModeKey; extern NSString *SKShouldAntiAliasKey; -extern NSString *SKImageInterpolation; +extern NSString *SKImageInterpolationKey; extern NSString *SKGreekingThresholdKey; extern NSString *SKReadingBarColorKey; extern NSString *SKReadingBarInvertKey; Modified: trunk/SKStringConstants.m =================================================================== --- trunk/SKStringConstants.m 2011-05-18 11:39:40 UTC (rev 7246) +++ trunk/SKStringConstants.m 2011-05-18 12:43:15 UTC (rev 7247) @@ -59,7 +59,7 @@ NSString *SKLastToolModeKey = @"SKLastToolMode"; NSString *SKLastAnnotationModeKey = @"SKLastAnnotationMode"; NSString *SKShouldAntiAliasKey = @"SKShouldAntiAlias"; -NSString *SKImageInterpolation = @"SKImageInterpolation"; +NSString *SKImageInterpolationKey = @"SKImageInterpolation"; NSString *SKGreekingThresholdKey = @"SKGreekingThreshold"; NSString *SKReadingBarColorKey = @"SKReadingBarColor"; NSString *SKReadingBarInvertKey = @"SKReadingBarInvert"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit