Revision: 16519
http://sourceforge.net/p/skim-app/code/16519
Author: hofman
Date: 2026-09-21 17:09:54 +0000 (Mon, 21 Sep 2026)
Log Message:
-----------
declare function later
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-09-21 16:48:50 UTC
(rev 16518)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-09-21 17:09:54 UTC
(rev 16519)
@@ -292,14 +292,8 @@
@end
#endif
-#if !defined(MAC_OS_X_VERSION_10_15) || MAC_OS_X_VERSION_MIN_REQUIRED <
MAC_OS_X_VERSION_10_15
-static inline void drawIcon(CGContextRef context, NSRect bounds,
PDFTextAnnotationIconType iconType);
-#define SKNAppKitVersionNumber10_12 1504
-#define SKNAppKitVersionNumber10_14 1671
#endif
-#endif
-
@implementation PDFAnnotation (SKNExtensions)
char SKNIsSkimNoteKey;
@@ -1856,6 +1850,12 @@
return _textStorage;
}
+#if !defined(MAC_OS_X_VERSION_10_15) || MAC_OS_X_VERSION_MIN_REQUIRED <
MAC_OS_X_VERSION_10_15
+static inline void drawIcon(CGContextRef context, NSRect bounds,
PDFTextAnnotationIconType iconType);
+#define SKNAppKitVersionNumber10_12 1504
+#define SKNAppKitVersionNumber10_14 1671
+#endif
+
- (void)drawWithBox:(PDFDisplayBox)box inContext:(CGContextRef)context {
if ([self drawsImage] && [self hasAppearanceStream] == NO && [self image]
!= nil) {
CGContextSaveGState(context);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit