Revision: 3648 http://skim-app.svn.sourceforge.net/skim-app/?rev=3648&view=rev Author: hofman Date: 2008-04-06 04:04:27 -0700 (Sun, 06 Apr 2008)
Log Message: ----------- Rename method to avoid overwriting a private NSResponder method for multi-touch track pads. Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2008-04-05 23:55:17 UTC (rev 3647) +++ trunk/SKPDFView.m 2008-04-06 11:04:27 UTC (rev 3648) @@ -129,7 +129,7 @@ - (BOOL)selectAnnotationWithEvent:(NSEvent *)theEvent; - (void)dragAnnotationWithEvent:(NSEvent *)theEvent; - (void)selectSnapshotWithEvent:(NSEvent *)theEvent; -- (void)magnifyWithEvent:(NSEvent *)theEvent; +- (void)magnifyingGlassWithEvent:(NSEvent *)theEvent; - (void)dragWithEvent:(NSEvent *)theEvent; - (void)selectWithEvent:(NSEvent *)theEvent; - (void)selectTextWithEvent:(NSEvent *)theEvent; @@ -1046,7 +1046,7 @@ [self selectWithEvent:theEvent]; break; case SKMagnifyToolMode: - [self magnifyWithEvent:theEvent]; + [self magnifyingGlassWithEvent:theEvent]; break; } } @@ -3519,7 +3519,7 @@ [controller showSnapshotAtPageNumber:[page pageIndex] forRect:[self convertRect:rect toPage:page] scaleFactor:[self scaleFactor] * factor autoFits:autoFits]; } -- (void)magnifyWithEvent:(NSEvent *)theEvent { +- (void)magnifyingGlassWithEvent:(NSEvent *)theEvent { NSPoint mouseLoc = [theEvent locationInWindow]; NSScrollView *scrollView = [[self documentView] enclosingScrollView]; NSView *documentView = [scrollView documentView]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit