Revision: 15073 http://sourceforge.net/p/skim-app/code/15073 Author: hofman Date: 2025-04-03 09:39:48 +0000 (Thu, 03 Apr 2025) Log Message: ----------- declare draggingdestination, in header
Modified Paths: -------------- trunk/SKColorSwatch.h trunk/SKFontWell.h trunk/SKFontWell.m trunk/SKLineWell.h Modified: trunk/SKColorSwatch.h =================================================================== --- trunk/SKColorSwatch.h 2025-04-03 09:31:54 UTC (rev 15072) +++ trunk/SKColorSwatch.h 2025-04-03 09:39:48 UTC (rev 15073) @@ -42,7 +42,7 @@ @class SKColorSwatchItemView; -@interface SKColorSwatch : NSControl <NSDraggingSource, NSAccessibilityGroup> { +@interface SKColorSwatch : NSControl <NSDraggingSource, NSDraggingDestination, NSAccessibilityGroup> { NSMutableArray<SKColorSwatchItemView *> *itemViews; NSControl *backgroundView; CGFloat bezelWidth; Modified: trunk/SKFontWell.h =================================================================== --- trunk/SKFontWell.h 2025-04-03 09:31:54 UTC (rev 15072) +++ trunk/SKFontWell.h 2025-04-03 09:39:48 UTC (rev 15073) @@ -40,7 +40,7 @@ NS_ASSUME_NONNULL_BEGIN -@interface SKFontWell : NSButton { +@interface SKFontWell : NSButton <NSDraggingSource, NSDraggingDestination> { id target; SEL action; NSString *updatedBinding; Modified: trunk/SKFontWell.m =================================================================== --- trunk/SKFontWell.m 2025-04-03 09:31:54 UTC (rev 15072) +++ trunk/SKFontWell.m 2025-04-03 09:39:48 UTC (rev 15073) @@ -56,7 +56,7 @@ #define TARGET_KEY @"target" -@interface SKFontWell () <NSDraggingSource, NSDraggingDestination> +@interface SKFontWell () - (void)changeActive:(id)sender; - (void)fontChanged; @end Modified: trunk/SKLineWell.h =================================================================== --- trunk/SKLineWell.h 2025-04-03 09:31:54 UTC (rev 15072) +++ trunk/SKLineWell.h 2025-04-03 09:39:48 UTC (rev 15073) @@ -56,7 +56,7 @@ SKLineWellDisplayStyleOval }; -@interface SKLineWell : NSControl <NSDraggingSource, NSAccessibilityButton> { +@interface SKLineWell : NSControl <NSDraggingSource, NSDraggingDestination, NSAccessibilityButton> { CGFloat lineWidth; PDFBorderStyle style; NSArray<NSNumber *> *dashPattern; 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