Revision: 6852
http://skim-app.svn.sourceforge.net/skim-app/?rev=6852&view=rev
Author: hofman
Date: 2010-09-30 17:22:56 +0000 (Thu, 30 Sep 2010)
Log Message:
-----------
change order of parameters in method
Modified Paths:
--------------
trunk/SKMainWindowController.m
trunk/SKSnapshotWindowController.h
trunk/SKSnapshotWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2010-09-29 23:17:39 UTC (rev 6851)
+++ trunk/SKMainWindowController.m 2010-09-30 17:22:56 UTC (rev 6852)
@@ -2012,9 +2012,9 @@
[swc setDelegate:self];
[swc setPdfDocument:[pdfView document]
- scaleFactor:scaleFactor
goToPageNumber:pageNum
rect:rect
+ scaleFactor:scaleFactor
autoFits:autoFits];
[swc setForceOnTop:[self interactionMode] != SKNormalMode];
Modified: trunk/SKSnapshotWindowController.h
===================================================================
--- trunk/SKSnapshotWindowController.h 2010-09-29 23:17:39 UTC (rev 6851)
+++ trunk/SKSnapshotWindowController.h 2010-09-30 17:22:56 UTC (rev 6852)
@@ -64,7 +64,7 @@
@property (nonatomic, readonly) NSAttributedString *thumbnailAttachment,
*thumbnail512Attachment, *thumbnail256Attachment, *thumbnail128Attachment,
*thumbnail64Attachment, *thumbnail32Attachment;
-- (void)setPdfDocument:(PDFDocument *)pdfDocument scaleFactor:(CGFloat)factor
goToPageNumber:(NSInteger)pageNum rect:(NSRect)rect autoFits:(BOOL)autoFits;
+- (void)setPdfDocument:(PDFDocument *)pdfDocument
goToPageNumber:(NSInteger)pageNum rect:(NSRect)rect scaleFactor:(CGFloat)factor
autoFits:(BOOL)autoFits;
- (void)setPdfDocument:(PDFDocument *)pdfDocument setup:(NSDictionary *)setup;
- (BOOL)isPageVisible:(PDFPage *)page;
Modified: trunk/SKSnapshotWindowController.m
===================================================================
--- trunk/SKSnapshotWindowController.m 2010-09-29 23:17:39 UTC (rev 6851)
+++ trunk/SKSnapshotWindowController.m 2010-09-30 17:22:56 UTC (rev 6852)
@@ -218,7 +218,7 @@
[self performSelector:@selector(notifiyDidFinishSetup) withObject:nil
afterDelay:0.1];
}
-- (void)setPdfDocument:(PDFDocument *)pdfDocument scaleFactor:(CGFloat)factor
goToPageNumber:(NSInteger)pageNum rect:(NSRect)rect autoFits:(BOOL)autoFits {
+- (void)setPdfDocument:(PDFDocument *)pdfDocument
goToPageNumber:(NSInteger)pageNum rect:(NSRect)rect scaleFactor:(CGFloat)factor
autoFits:(BOOL)autoFits {
[self window];
[pdfView setScaleFactor:factor];
@@ -260,9 +260,9 @@
- (void)setPdfDocument:(PDFDocument *)pdfDocument setup:(NSDictionary *)setup {
[self setPdfDocument:pdfDocument
- scaleFactor:[[setup objectForKey:SCALEFACTOR_KEY] doubleValue]
goToPageNumber:[[setup objectForKey:PAGE_KEY] unsignedIntegerValue]
rect:NSRectFromString([setup objectForKey:RECT_KEY])
+ scaleFactor:[[setup objectForKey:SCALEFACTOR_KEY] doubleValue]
autoFits:[[setup objectForKey:AUTOFITS_KEY] boolValue]];
if ([setup objectForKey:WINDOWFRAME_KEY])
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit