Revision: 12456
          http://sourceforge.net/p/skim-app/code/12456
Author:   hofman
Date:     2021-10-05 16:17:58 +0000 (Tue, 05 Oct 2021)
Log Message:
-----------
Declare newer methods and enum for older SDKs

Modified Paths:
--------------
    trunk/SKBasePDFView.m

Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m       2021-10-05 16:14:49 UTC (rev 12455)
+++ trunk/SKBasePDFView.m       2021-10-05 16:17:58 UTC (rev 12456)
@@ -49,7 +49,6 @@
 static char SKBasePDFViewDefaultsObservationContext;
 
 #if SDK_BEFORE(10_12)
-
 @interface PDFView (SKSierraDeclarations)
 - (void)drawPage:(PDFPage *)page toContext:(CGContextRef)context;
 @end
@@ -57,7 +56,17 @@
 @interface PDFAnnotation (SKSierraDeclarations)
 - (void)drawWithBox:(PDFDisplayBox)box inContext:(CGContextRef)context;
 @end
+#endif
 
+#if SDK_BEFORE(10_13)
+typedef NS_ENUM(NSInteger, PDFDisplayDirection) {
+    kPDFDisplayDirectionVertical = 0,
+    kPDFDisplayDirectionHorizontal = 1,
+};
+@interface PDFView (SKHighSierraDeclarations)
+@property (nonatomic) PDFDisplayDirection displayDirection;
+@property (nonatomic) BOOL displaysRTL;
+@end
 #endif
 
 @interface SKBasePDFView (BDSKPrivate)

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

Reply via email to