Revision: 12959 http://sourceforge.net/p/skim-app/code/12959 Author: hofman Date: 2022-06-26 21:49:41 +0000 (Sun, 26 Jun 2022) Log Message: ----------- change header
Modified Paths: -------------- trunk/SKReadingBar.h trunk/SKReadingBar.m Modified: trunk/SKReadingBar.h =================================================================== --- trunk/SKReadingBar.h 2022-06-26 21:45:46 UTC (rev 12958) +++ trunk/SKReadingBar.h 2022-06-26 21:49:41 UTC (rev 12959) @@ -68,6 +68,13 @@ - (void)goToLine:(NSInteger)line onPage:(PDFPage *)page; +- (NSUInteger)countOfLines; +- (SKLine *)objectInLinesAtIndex:(NSUInteger)anIndex; + +@property (nonatomic, readonly) NSData *boundsAsQDRect; + +- (void)handleGoToScriptCommand:(NSScriptCommand *)command; + + (NSRect)bounds:(NSRect)rect forBox:(PDFDisplayBox)box onPage:(PDFPage *)aPage; - (NSRect)currentBoundsForBox:(PDFDisplayBox)box; @@ -74,15 +81,6 @@ - (void)drawForPage:(PDFPage *)pdfPage withBox:(PDFDisplayBox)box inContext:(CGContextRef)context; - (void)drawForPage:(PDFPage *)pdfPage withBox:(PDFDisplayBox)box active:(BOOL)active; -- (NSScriptObjectSpecifier *)objectSpecifier; - -- (NSUInteger)countOfLines; -- (SKLine *)objectInLinesAtIndex:(NSUInteger)anIndex; - -- (NSData *)boundsAsQDRect; - -- (void)handleGoToScriptCommand:(NSScriptCommand *)command; - @end Modified: trunk/SKReadingBar.m =================================================================== --- trunk/SKReadingBar.m 2022-06-26 21:45:46 UTC (rev 12958) +++ trunk/SKReadingBar.m 2022-06-26 21:49:41 UTC (rev 12959) @@ -57,7 +57,7 @@ @implementation SKReadingBar @synthesize page, currentLine, numberOfLines, currentBounds, delegate; -@dynamic maxLine; +@dynamic maxLine, boundsAsQDRect; - (id)initWithPage:(PDFPage *)aPage line:(NSInteger)line delegate:(id <SKReadingBarDelegate>)aDelegate { self = [super init]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit