1999-07-15 05:52:55 +00:00
|
|
|
/*
|
1997-08-04 20:42:56 +00:00
|
|
|
externs.m
|
|
|
|
|
|
|
|
External data
|
|
|
|
|
2017-07-26 12:23:00 +00:00
|
|
|
Copyright (C) 1997-2017 Free Software Foundation, Inc.
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
Author: Scott Christley <scottc@net-community.com>
|
|
|
|
Date: August 1997
|
1999-07-15 05:52:55 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
This file is part of the GNUstep GUI Library.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2007-10-29 21:16:17 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
1997-08-04 20:42:56 +00:00
|
|
|
License as published by the Free Software Foundation; either
|
2008-06-10 04:01:49 +00:00
|
|
|
version 2 of the License, or (at your option) any later version.
|
1999-07-15 05:52:55 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-10-29 21:16:17 +00:00
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2007-10-29 21:16:17 +00:00
|
|
|
You should have received a copy of the GNU Lesser General Public
|
1997-08-04 20:42:56 +00:00
|
|
|
License along with this library; see the file COPYING.LIB.
|
2007-10-29 21:16:17 +00:00
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
1999-07-15 05:52:55 +00:00
|
|
|
*/
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2010-05-24 10:48:14 +00:00
|
|
|
#import "config.h"
|
|
|
|
#import <Foundation/NSString.h>
|
2020-03-26 14:19:32 +00:00
|
|
|
#import <Foundation/NSObjCRuntime.h>
|
|
|
|
|
2013-01-29 08:35:49 +00:00
|
|
|
#import "AppKit/NSApplication.h"
|
2010-05-24 10:48:14 +00:00
|
|
|
#import "AppKit/NSEvent.h"
|
2020-01-17 15:06:00 +00:00
|
|
|
#import "AppKit/NSAppearance.h"
|
2020-01-25 22:25:55 +00:00
|
|
|
#import "AppKit/NSFontCollection.h"
|
2020-08-02 15:39:51 +00:00
|
|
|
#import "AppKit/NSTextFinder.h"
|
2022-11-28 06:55:09 +00:00
|
|
|
#import "AppKit/NSCollectionView.h"
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
// Global strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE APPKIT_DECLARE NSString *NSModalPanelRunLoopMode = @"NSModalPanelRunLoopMode";
|
|
|
|
APPKIT_DECLARE APPKIT_DECLARE NSString *NSEventTrackingRunLoopMode = @"NSEventTrackingRunLoopMode";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE const double NSAppKitVersionNumber = NSAppKitVersionNumber10_4;
|
2013-01-29 08:35:49 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
//
|
1999-07-15 05:52:55 +00:00
|
|
|
// Global Exception Strings
|
1997-08-04 20:42:56 +00:00
|
|
|
//
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSExceptionName NSAbortModalException = @"NSAbortModalException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSAbortPrintingException = @"NSAbortPrintingException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSAppKitIgnoredException = @"NSAppKitIgnoredException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSAppKitVirtualMemoryException = @"NSAppKitVirtualMemoryException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBadBitmapParametersException = @"NSBadBitmapParametersException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBadComparisonException = @"NSBadComparisonException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBadRTFColorTableException = @"NSBadRTFColorTableException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBadRTFDirectiveException = @"NSBadRTFDirectiveException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBadRTFFontTableException = @"NSBadRTFFontTableException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBadRTFStyleSheetException = @"NSBadRTFStyleSheetException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSBrowserIllegalDelegateException = @"NSBrowserIllegalDelegateException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSColorListIOException = @"NSColorListIOException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSColorListNotEditableException = @"NSColorListNotEditableException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSDraggingException = @"NSDraggingException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSFontUnavailableException = @"NSFontUnavailableException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSIllegalSelectorException = @"NSIllegalSelectorException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSImageCacheException = @"NSImageCacheException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSNibLoadingException = @"NSNibLoadingException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPPDIncludeNotFoundException = @"NSPPDIncludeNotFoundException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPPDIncludeStackOverflowException = @"NSPPDIncludeStackOverflowException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPPDIncludeStackUnderflowException = @"NSPPDIncludeStackUnderflowException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPPDParseException = @"NSPPDParseException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPrintOperationExistsException = @"NSPrintOperationExistsException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPrintPackageException = @"NSPrintPackageException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSPrintingCommunicationException = @"NSPrintingCommunicationException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSRTFPropertyStackOverflowException = @"NSRTFPropertyStackOverflowException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSTIFFException = @"NSTIFFException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSTextLineTooLongException = @"NSTextLineTooLongException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSTextNoSelectionException = @"NSTextNoSelectionException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSTextReadException = @"NSTextReadException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSTextWriteException = @"NSTextWriteException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSTypedStreamVersionException = @"NSTypedStreamVersionException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSWindowServerCommunicationException = @"NSWindowServerCommunicationException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSWordTablesReadException = @"NSWordTablesReadException";
|
|
|
|
APPKIT_DECLARE NSExceptionName NSWordTablesWriteException = @"NSWordTablesWriteException";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSExceptionName GSWindowServerInternalException = @"WindowServerInternal";
|
2002-04-10 22:04:39 +00:00
|
|
|
|
2009-11-08 19:26:49 +00:00
|
|
|
// NSAnimation
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSAnimationProgressMarkNotification = @"NSAnimationProgressMarkNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSAnimationProgressMark = @"NSAnimationProgressMark";
|
|
|
|
APPKIT_DECLARE NSString *NSAnimationTriggerOrderIn = @"NSAnimationTriggerOrderIn";
|
|
|
|
APPKIT_DECLARE NSString *NSAnimationTriggerOrderOut = @"NSAnimationTriggerOrderOut";
|
2009-11-08 19:26:49 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// Application notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidBecomeActiveNotification = @"NSApplicationDidBecomeActiveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidChangeScreenParametersNotification = @"NSApplicationDidChangeScreenParametersNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidFinishLaunchingNotification = @"NSApplicationDidFinishLaunchingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidHideNotification = @"NSApplicationDidHideNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidResignActiveNotification = @"NSApplicationDidResignActiveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidUnhideNotification = @"NSApplicationDidUnhideNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationDidUpdateNotification = @"NSApplicationDidUpdateNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillBecomeActiveNotification = @"NSApplicationWillBecomeActiveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillFinishLaunchingNotification = @"NSApplicationWillFinishLaunchingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillTerminateNotification = @"NSApplicationWillTerminateNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillHideNotification = @"NSApplicationWillHideNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillResignActiveNotification = @"NSApplicationWillResignActiveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillUnhideNotification = @"NSApplicationWillUnhideNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationWillUpdateNotification = @"NSApplicationWillUpdateNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
Change Log
Mon. 20-Nov-2006 Mark Tracy <tracy454 at concentric dot net>
Many changes related to bitmap images
1. NSBitmapImateRep attribute global strings were not defined
Fix: add definitions to externs.h, and declarations to NSBitmapImageRep.h
Comment: Two strings defined in Cocoa were commented out: NSImageColorSyncData
is proprietary to Apple, and NSImageEXIFData has no support elsewhere in
GNUstep. I propose adding GSImageICCProfileData if and when color management
is added to GNUstep.
2. LZW compression in TIFF was disabled for lack of a test of its availability
Fix: Implement NSTiffIsCodecConfigured(codec) in tiff.m
Comment: As of libtiff-3.7.0, there is a function call in the API to test
availability at runtime. For libtiff-3.6.0 (earlier?) there are macros
#defined in tiffconf.h. The implementation check the library version at
compile time, and uses one of the two methods. I have not tested the
second method for lack of an installation of an old libtiff.
3. -canCompressUsing: relied on a static list of capabilities
Fix: Use the new NSTiffIsCodecConfigured(codec) in NSBitmapImageRep.m
Comment: The static list could be wrong, as it was on my system. Also
eliminate the supports_lzw_compression flag.
4. +getTIFFCompressionTypes:count: relied on a static list of compressors.
Fix: Use the new NSTiffIsCodecConfigured(codec) in NSBitmapImageRep.m
Comment: Compares GNUstep supported compressors against actual availability.
Also change the private instance methods _localFromCompressionType and
_compressionTypeFromLocal to private class methods so that they can be used
in -initWithTIFFImage:number: and -TIFFRepresentationUsingCompression:factor:
and +getTIFFCompressionTypes:count: This is probably a clumsy implementation
but it works.
5. -setProperty:toValue: and -valueForProperty: were not implemented
Fix: Add a new instance variable NSMutableDictionary * _properties to
NSBitmapImageRep.h and implemented accessors in NSBitmapImageRep.m. Patch
-_initFromTIFFImage to set compression type and factor in _properties.
Comment: This feature is used to pass options to and from JPEG, PNG, TIFF, and
GIF in Cocoa, although the docs are kind of vague. In one case the Cocoa docs
said the properties were set when reading a TIFF, but the implementation
didn't; I chose to implement the docs. Cocoa does use properties when
exporting bitmaps, so I implemented that.
6. Checked and updated NSBitmapImageFileType in NSBitmapImageRep.h
Fix: confirmed the enumeration values against Cocoa, and added
NSJPEG2000FileType = 5
Comment: JPEG-2000 is not implemented, just reserved a space for it.
7. -representationUsingType:properties: was not implemented
Fix: Implement export of TIFF, JPEG, GIF and PNG in NSBitmapImage.m
Comment: See the change notes for JPEG, GIF, and PNG for more. BMP and JPEG-2000
are not implemented; they just log a message to that effect. As apparently
Cocoa does it this way, if you pass nil for properties, it falls back to
the internal _properties, and if that is empty, there are some safe defaults.
8. +representationfOfImageRepsInArray:UsingType:properties: was not implemented
Fix: Partially implement in NSBitmapImageRep.m
Comment: I just stole the incomplete code from
+TIFFRepresentationOfImageRepsInArray: since I have yet to find an explanation
of how this really ought to work.
9. JPEG export didn't handle alpha channel, properties or errors.
Fix: Add -_JPEGRepresentationWithProperties:errorMessage: to
NSBitmapImageRep+JPEG.h and greatly rework Nicolas Roard's code in
NSBitmapImageRep+JPEG.m. Patch -_initBitmapFromJPEG:errorMessage to
write properties.
Comment: Major rewrite of Nicolas Roard's JPEG export code.
To do: Support for planar bitmaps and support for colorspaces other than
RGB(A).
10. PNG export not implemented
Fix: Add -_PNGRepresentationWithProperties: to
NSBitmapImageRep+PNG.h and implement NSBitmapImageRep+PNG.m
Comment: No support yet for planar bitmaps. Only supports
NS*WhiteColorSpace and NS*RGBColorSpace. Does support alpha. Support for
reading and writing NSImageGamma is experimental. In keeping with Cocoa,
the property NSImageGamma ranges from 0.0 to 1.0; representing the range
of minimum supported gamma to maximum supported gamma, in this case 1.0
to 2.5. This is in contrast to GNUstep where by convention the property
would range from 0.0 to 255.0.
To do: proper error message support
11. GIF export not implemented
Fix: Add -_GIFRepresentationWithPropterties:errorMessage: to
NSBitmapImageRep+GIF.h and implement in NSBitmapImageRep+GIF.m
Comments: Supports only RGB(A) colorspaces, but ignores alpha. Supports
planar or interleaved bitmaps. Supports properties NSImageRGBColorTable.
12. -_initBitmapFromGIF:errorMessage: did not support transparency
Fix: Don't ignore control blocks in NSBitmapImageRep+GIF.m; check for
transparency.
Comment: If a transparent color is found, it adds an alpha channel to the
bitmap. Also, save the color table in properties.
13. -_initBitmapFromGIF:errorMessage: would show the last image in a
multi-image GIF file
Fix: Break the parsing loop after the first image in NSBitmapImageRep+GIF.m
Comment: Also check for frame duration, and set that property. There is not
yet any support for animated GIF. This will require some additional
infrastructure, and I won't do it unless asked.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24140 72102866-910b-0410-8b05-ffd578937521
2006-11-21 06:36:26 +00:00
|
|
|
// NSBitmapImageRep Global strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSImageCompressionMethod = @"NSImageCompressionMethod";
|
|
|
|
APPKIT_DECLARE NSString *NSImageCompressionFactor = @"NSImageCompressionFactor";
|
|
|
|
APPKIT_DECLARE NSString *NSImageDitherTransparency = @"NSImageDitherTransparency";
|
|
|
|
APPKIT_DECLARE NSString *NSImageRGBColorTable = @"NSImageRGBColorTable";
|
|
|
|
APPKIT_DECLARE NSString *NSImageInterlaced = @"NSImageInterlaced";
|
|
|
|
APPKIT_DECLARE NSString *NSImageColorSyncProfileData = @"NSImageColorSyncProfileData"; // Mac OS X only
|
|
|
|
//APPKIT_DECLARE NSString *GSImageICCProfileData = @"GSImageICCProfileData"; // if & when GNUstep supports color management
|
|
|
|
APPKIT_DECLARE NSString *NSImageFrameCount = @"NSImageFrameCount";
|
|
|
|
APPKIT_DECLARE NSString *NSImageCurrentFrame = @"NSImageCurrentFrame";
|
|
|
|
APPKIT_DECLARE NSString *NSImageCurrentFrameDuration = @"NSImageCurrentFrameDuration";
|
|
|
|
APPKIT_DECLARE NSString *NSImageLoopCount = @"NSImageLoopCount";
|
|
|
|
APPKIT_DECLARE NSString *NSImageGamma = @"NSImageGamma";
|
|
|
|
APPKIT_DECLARE NSString *NSImageProgressive = @"NSImageProgressive";
|
|
|
|
APPKIT_DECLARE NSString *NSImageEXIFData = @"NSImageEXIFData"; // No support yet in GNUstep
|
Change Log
Mon. 20-Nov-2006 Mark Tracy <tracy454 at concentric dot net>
Many changes related to bitmap images
1. NSBitmapImateRep attribute global strings were not defined
Fix: add definitions to externs.h, and declarations to NSBitmapImageRep.h
Comment: Two strings defined in Cocoa were commented out: NSImageColorSyncData
is proprietary to Apple, and NSImageEXIFData has no support elsewhere in
GNUstep. I propose adding GSImageICCProfileData if and when color management
is added to GNUstep.
2. LZW compression in TIFF was disabled for lack of a test of its availability
Fix: Implement NSTiffIsCodecConfigured(codec) in tiff.m
Comment: As of libtiff-3.7.0, there is a function call in the API to test
availability at runtime. For libtiff-3.6.0 (earlier?) there are macros
#defined in tiffconf.h. The implementation check the library version at
compile time, and uses one of the two methods. I have not tested the
second method for lack of an installation of an old libtiff.
3. -canCompressUsing: relied on a static list of capabilities
Fix: Use the new NSTiffIsCodecConfigured(codec) in NSBitmapImageRep.m
Comment: The static list could be wrong, as it was on my system. Also
eliminate the supports_lzw_compression flag.
4. +getTIFFCompressionTypes:count: relied on a static list of compressors.
Fix: Use the new NSTiffIsCodecConfigured(codec) in NSBitmapImageRep.m
Comment: Compares GNUstep supported compressors against actual availability.
Also change the private instance methods _localFromCompressionType and
_compressionTypeFromLocal to private class methods so that they can be used
in -initWithTIFFImage:number: and -TIFFRepresentationUsingCompression:factor:
and +getTIFFCompressionTypes:count: This is probably a clumsy implementation
but it works.
5. -setProperty:toValue: and -valueForProperty: were not implemented
Fix: Add a new instance variable NSMutableDictionary * _properties to
NSBitmapImageRep.h and implemented accessors in NSBitmapImageRep.m. Patch
-_initFromTIFFImage to set compression type and factor in _properties.
Comment: This feature is used to pass options to and from JPEG, PNG, TIFF, and
GIF in Cocoa, although the docs are kind of vague. In one case the Cocoa docs
said the properties were set when reading a TIFF, but the implementation
didn't; I chose to implement the docs. Cocoa does use properties when
exporting bitmaps, so I implemented that.
6. Checked and updated NSBitmapImageFileType in NSBitmapImageRep.h
Fix: confirmed the enumeration values against Cocoa, and added
NSJPEG2000FileType = 5
Comment: JPEG-2000 is not implemented, just reserved a space for it.
7. -representationUsingType:properties: was not implemented
Fix: Implement export of TIFF, JPEG, GIF and PNG in NSBitmapImage.m
Comment: See the change notes for JPEG, GIF, and PNG for more. BMP and JPEG-2000
are not implemented; they just log a message to that effect. As apparently
Cocoa does it this way, if you pass nil for properties, it falls back to
the internal _properties, and if that is empty, there are some safe defaults.
8. +representationfOfImageRepsInArray:UsingType:properties: was not implemented
Fix: Partially implement in NSBitmapImageRep.m
Comment: I just stole the incomplete code from
+TIFFRepresentationOfImageRepsInArray: since I have yet to find an explanation
of how this really ought to work.
9. JPEG export didn't handle alpha channel, properties or errors.
Fix: Add -_JPEGRepresentationWithProperties:errorMessage: to
NSBitmapImageRep+JPEG.h and greatly rework Nicolas Roard's code in
NSBitmapImageRep+JPEG.m. Patch -_initBitmapFromJPEG:errorMessage to
write properties.
Comment: Major rewrite of Nicolas Roard's JPEG export code.
To do: Support for planar bitmaps and support for colorspaces other than
RGB(A).
10. PNG export not implemented
Fix: Add -_PNGRepresentationWithProperties: to
NSBitmapImageRep+PNG.h and implement NSBitmapImageRep+PNG.m
Comment: No support yet for planar bitmaps. Only supports
NS*WhiteColorSpace and NS*RGBColorSpace. Does support alpha. Support for
reading and writing NSImageGamma is experimental. In keeping with Cocoa,
the property NSImageGamma ranges from 0.0 to 1.0; representing the range
of minimum supported gamma to maximum supported gamma, in this case 1.0
to 2.5. This is in contrast to GNUstep where by convention the property
would range from 0.0 to 255.0.
To do: proper error message support
11. GIF export not implemented
Fix: Add -_GIFRepresentationWithPropterties:errorMessage: to
NSBitmapImageRep+GIF.h and implement in NSBitmapImageRep+GIF.m
Comments: Supports only RGB(A) colorspaces, but ignores alpha. Supports
planar or interleaved bitmaps. Supports properties NSImageRGBColorTable.
12. -_initBitmapFromGIF:errorMessage: did not support transparency
Fix: Don't ignore control blocks in NSBitmapImageRep+GIF.m; check for
transparency.
Comment: If a transparent color is found, it adds an alpha channel to the
bitmap. Also, save the color table in properties.
13. -_initBitmapFromGIF:errorMessage: would show the last image in a
multi-image GIF file
Fix: Break the parsing loop after the first image in NSBitmapImageRep+GIF.m
Comment: Also check for frame duration, and set that property. There is not
yet any support for animated GIF. This will require some additional
infrastructure, and I won't do it unless asked.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24140 72102866-910b-0410-8b05-ffd578937521
2006-11-21 06:36:26 +00:00
|
|
|
|
2007-07-28 13:41:18 +00:00
|
|
|
// NSBrowser notification
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSBrowserColumnConfigurationDidChangeNotification = @"NSBrowserColumnConfigurationDidChange";
|
2007-07-28 13:41:18 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSColor Global strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSCalibratedWhiteColorSpace = @"NSCalibratedWhiteColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSCalibratedBlackColorSpace = @"NSCalibratedBlackColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSCalibratedRGBColorSpace = @"NSCalibratedRGBColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceWhiteColorSpace = @"NSDeviceWhiteColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceBlackColorSpace = @"NSDeviceBlackColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceRGBColorSpace = @"NSDeviceRGBColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceCMYKColorSpace = @"NSDeviceCMYKColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSNamedColorSpace = @"NSNamedColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSPatternColorSpace = @"NSPatternColorSpace";
|
|
|
|
APPKIT_DECLARE NSString *NSCustomColorSpace = @"NSCustomColorSpace";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
// NSColor Global gray values
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE const CGFloat NSBlack = 0;
|
|
|
|
APPKIT_DECLARE const CGFloat NSDarkGray = .333;
|
|
|
|
APPKIT_DECLARE const CGFloat NSGray = 0.5;
|
|
|
|
APPKIT_DECLARE const CGFloat NSLightGray = .667;
|
|
|
|
APPKIT_DECLARE const CGFloat NSWhite = 1;
|
|
|
|
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightUltraLight = -0.8;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightThin = -0.6;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightLight = -0.4;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightRegular = 0;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightMedium = 0.23;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightSemibold = 0.3;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightBold = 0.4;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightHeavy = 0.56;
|
|
|
|
APPKIT_DECLARE const CGFloat NSFontWeightBlack = 0.62;
|
2017-08-10 03:25:35 +00:00
|
|
|
|
2000-12-28 23:42:18 +00:00
|
|
|
// NSColor notification
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSSystemColorsDidChangeNotification = @"NSSystemColorsDidChangeNotification";
|
2000-12-28 23:42:18 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSColorList notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSColorListDidChangeNotification = @"NSColorListDidChangeNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
// NSColorPanel notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSColorPanelColorDidChangeNotification = @"NSColorPanelColorDidChangeNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2001-04-09 21:27:19 +00:00
|
|
|
// NSComboBox notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSComboBoxWillPopUpNotification = @"NSComboBoxWillPopUpNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSComboBoxWillDismissNotification = @"NSComboBoxWillDismissNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSComboBoxSelectionDidChangeNotification = @"NSComboBoxSelectionDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSComboBoxSelectionIsChangingNotification = @"NSComboBoxSelectionIsChangingNotification";
|
2001-04-09 21:27:19 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSControl notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSControlTextDidBeginEditingNotification = @"NSControlTextDidBeginEditingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSControlTextDidEndEditingNotification = @"NSControlTextDidEndEditingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSControlTextDidChangeNotification = @"NSControlTextDidChangeNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
// NSDataLink global strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSDataLinkFilenameExtension = @"dlf";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2001-08-01 00:04:31 +00:00
|
|
|
// NSDrawer notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSDrawerDidCloseNotification = @"NSDrawerDidCloseNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSDrawerDidOpenNotification = @"NSDrawerDidOpenNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSDrawerWillCloseNotification = @"NSDrawerWillCloseNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSDrawerWillOpenNotification = @"NSDrawerWillOpenNotification";
|
2001-08-01 00:04:31 +00:00
|
|
|
|
2000-01-13 23:14:11 +00:00
|
|
|
// NSForm private notification
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *_NSFormCellDidChangeTitleWidthNotification
|
2000-01-13 23:14:11 +00:00
|
|
|
= @"_NSFormCellDidChangeTitleWidthNotification";
|
|
|
|
|
2001-11-08 18:26:39 +00:00
|
|
|
// NSGraphicContext constants
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSGraphicsContextDestinationAttributeName = @"NSGraphicsContextDestinationAttributeName";
|
|
|
|
APPKIT_DECLARE NSString *NSGraphicsContextPDFFormat = @"NSGraphicsContextPDFFormat";
|
|
|
|
APPKIT_DECLARE NSString *NSGraphicsContextPSFormat = @"NSGraphicsContextPSFormat";
|
|
|
|
APPKIT_DECLARE NSString *NSGraphicsContextRepresentationFormatAttributeName = @"NSGraphicsContextRepresentationFormatAttributeName";
|
2001-11-08 18:26:39 +00:00
|
|
|
|
1999-09-10 23:12:48 +00:00
|
|
|
// NSHelpManager notifications;
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSContextHelpModeDidActivateNotification = @"NSContextHelpModeDidActivateNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSContextHelpModeDidDeactivateNotification = @"NSContextHelpModeDidDeactivateNotification";
|
1999-09-10 23:12:48 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSFont Global Strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSAFMAscender = @"Ascender";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMCapHeight = @"CapHeight";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMCharacterSet = @"CharacterSet";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMDescender = @"Descender";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMEncodingScheme = @"EncodingScheme";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMFamilyName = @"FamilyName";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMFontName = @"FontName";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMFormatVersion = @"FormatVersion";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMFullName = @"FullName";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMItalicAngle = @"ItalicAngle";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMMappingScheme = @"MappingScheme";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMNotice = @"Notice";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMUnderlinePosition = @"UnderlinePosition";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMUnderlineThickness = @"UnderlineThickness";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMVersion = @"Version";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMWeight = @"Weight";
|
|
|
|
APPKIT_DECLARE NSString *NSAFMXHeight = @"XHeight";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2007-08-08 11:05:19 +00:00
|
|
|
// NSFontDescriptor global strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSFontFamilyAttribute = @"NSFontFamilyAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontNameAttribute = @"NSFontNameAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontFaceAttribute = @"NSFontFaceAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontSizeAttribute = @"NSFontSizeAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontVisibleNameAttribute = @"NSFontVisibleNameAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontColorAttribute = @"NSFontColorAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontMatrixAttribute = @"NSFontMatrixAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontVariationAttribute = @"NSCTFontVariationAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontCharacterSetAttribute = @"NSCTFontCharacterSetAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontCascadeListAttribute = @"NSCTFontCascadeListAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontTraitsAttribute = @"NSCTFontTraitsAttribute";
|
|
|
|
APPKIT_DECLARE NSString *NSFontFixedAdvanceAttribute = @"NSCTFontFixedAdvanceAttribute";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSFontSymbolicTrait = @"NSCTFontSymbolicTrait";
|
|
|
|
APPKIT_DECLARE NSString *NSFontWeightTrait = @"NSCTFontWeightTrait";
|
|
|
|
APPKIT_DECLARE NSString *NSFontWidthTrait = @"NSCTFontProportionTrait";
|
|
|
|
APPKIT_DECLARE NSString *NSFontSlantTrait = @"NSCTFontSlantTrait";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSFontVariationAxisIdentifierKey = @"NSCTFontVariationAxisIdentifier";
|
|
|
|
APPKIT_DECLARE NSString *NSFontVariationAxisMinimumValueKey = @"NSCTFontVariationAxisMinimumValue";
|
|
|
|
APPKIT_DECLARE NSString *NSFontVariationAxisMaximumValueKey = @"NSCTFontVariationAxisMaximumValue";
|
|
|
|
APPKIT_DECLARE NSString *NSFontVariationAxisDefaultValueKey = @"NSCTFontVariationAxisDefaultValue";
|
|
|
|
APPKIT_DECLARE NSString *NSFontVariationAxisNameKey = @"NSCTFontVariationAxisName";
|
2007-08-08 11:05:19 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSScreen Global device dictionary key strings
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSDeviceResolution = @"NSDeviceResolution";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceColorSpaceName = @"NSDeviceColorSpaceName";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceBitsPerSample = @"NSDeviceBitsPerSample";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceIsScreen = @"NSDeviceIsScreen";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceIsPrinter = @"NSDeviceIsPrinter";
|
|
|
|
APPKIT_DECLARE NSString *NSDeviceSize = @"NSDeviceSize";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
// NSImageRep notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSImageRepRegistryChangedNotification = @"NSImageRepRegistryChangedNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
// Pasteboard Type Globals
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeString = @"NSStringPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSStringPboardType = @"NSStringPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeColor = @"NSColorPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSColorPboardType = @"NSColorPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeFont = @"NSFontPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSFontPboardType = @"NSFontPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeRuler = @"NSRulerPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSRulerPboardType = @"NSRulerPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeTabularText = @"NSTabularTextPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSTabularTextPboardType = @"NSTabularTextPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeRTF = @"NSRTFPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSRTFPboardType = @"NSRTFPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeRTFD = @"NSRTFDPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSRTFDPboardType = @"NSRTFDPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeTIFF = @"NSTIFFPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSTIFFPboardType = @"NSTIFFPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypePDF = @"NSPDFPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSPDFPboardType = @"NSPDFPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSPasteboardTypeHTML = @"NSHTMLPboardType";
|
|
|
|
APPKIT_DECLARE NSString *const NSHTMLPboardType = @"NSHTMLPboardType";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPasteboardTypePNG = @"NSPasteboardTypePNG";
|
|
|
|
APPKIT_DECLARE NSString *NSPasteboardTypeSound = @"NSPasteboardTypeSound";
|
|
|
|
APPKIT_DECLARE NSString *NSPasteboardTypeMultipleTextSelection = @"NSPasteboardTypeMultipleTextSelection";
|
|
|
|
APPKIT_DECLARE NSString *NSPasteboardTypeTextFinderOptions = @"NSPasteboardTypeTextFinderOptions";
|
2017-07-17 17:41:57 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSFileContentsPboardType = @"NSFileContentsPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSFilenamesPboardType = @"NSFilenamesPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSPostScriptPboardType = @"NSPostScriptPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSDataLinkPboardType = @"NSDataLinkPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSGeneralPboardType = @"NSGeneralPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSPICTPboardType = @"NSPICTPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSURLPboardType = @"NSURLPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSVCardPboardType = @"NSVCardPboardType";
|
|
|
|
APPKIT_DECLARE NSString *NSFilesPromisePboardType = @"NSFilesPromisePboardType";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
// Pasteboard Name Globals
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSDragPboard = @"NSDragPboard";
|
|
|
|
APPKIT_DECLARE NSString *NSFindPboard = @"NSFindPboard";
|
|
|
|
APPKIT_DECLARE NSString *NSFontPboard = @"NSFontPboard";
|
|
|
|
APPKIT_DECLARE NSString *NSGeneralPboard = @"NSGeneralPboard";
|
|
|
|
APPKIT_DECLARE NSString *NSRulerPboard = @"NSRulerPboard";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
1997-09-23 22:43:24 +00:00
|
|
|
//
|
|
|
|
// Pasteboard Exceptions
|
|
|
|
//
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPasteboardCommunicationException = @"NSPasteboardCommunicationException";
|
1997-09-23 22:43:24 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *_NXSmartPaste = @"NeXT smart paste pasteboard type";
|
2017-08-10 03:20:12 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
// Printing Information Dictionary Keys
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPrintAllPages = @"NSPrintAllPages";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintBottomMargin = @"NSBottomMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintCopies = @"NSCopies";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxCoverSheetName = @"NSPrintFaxCoverSheetName";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxHighResolution = @"NSPrintFaxHighResolution";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxModem = @"NSPrintFaxModem";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxReceiverNames = @"NSPrintFaxReceiverNames";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxReceiverNumbers = @"NSPrintFaxReceiverNumbers";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxReturnReceipt = @"NSPrintFaxReturnReceipt";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxSendTime = @"NSPrintFaxSendTime";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxTrimPageEnds = @"NSPrintFaxTrimPageEnds";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxUseCoverSheet = @"NSPrintFaxUseCoverSheet";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFirstPage = @"NSFirstPage";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintHorizontalPagination = @"NSHorizontalPagination";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintHorizontallyCentered = @"NSHorizontallyCentered";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintJobDisposition = @"NSJobDisposition";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintJobFeatures = @"NSJobFeatures";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintLastPage = @"NSLastPage";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintLeftMargin = @"NSLeftMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintManualFeed = @"NSPrintManualFeed";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintMustCollate = @"NSMustCollate";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintOrientation = @"NSOrientation";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPagesPerSheet = @"NSPagesPerSheet";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPaperFeed = @"NSPaperFeed";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPaperName = @"NSPaperName";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPaperSize = @"NSPaperSize";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPrinter = @"NSPrinter";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintReversePageOrder = @"NSReversePageOrder";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintRightMargin = @"NSRightMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintSavePath = @"NSSavePath";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintScalingFactor = @"NSScalingFactor";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintTopMargin = @"NSTopMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintVerticalPagination = @"NSVerticalPagination";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintVerticallyCentered = @"NSVerticallyCentered";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPagesAcross = @"NSPagesAcross";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPagesDown = @"NSPagesDown";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintTime = @"NSPrintTime";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintDetailedErrorReporting = @"NSDetailedErrorReporting";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxNumber = @"NSFaxNumber";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPrinterName = @"NSPrinterName";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintHeaderAndFooter = @"NSPrintHeaderAndFooter";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPageDirection = @"NSPrintPageDirection";
|
2002-09-06 19:31:00 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
// Print Job Disposition Values
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPrintCancelJob = @"NSPrintCancelJob";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintFaxJob = @"NSPrintFaxJob";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPreviewJob = @"NSPrintPreviewJob";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintSaveJob = @"NSPrintSaveJob";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintSpoolJob = @"NSPrintSpoolJob";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2011-06-05 21:55:34 +00:00
|
|
|
// Print Panel
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPrintPanelAccessorySummaryItemNameKey = @"name";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPanelAccessorySummaryItemDescriptionKey = @"description";
|
|
|
|
APPKIT_DECLARE NSString *NSPrintPhotoJobStyleHint = @"Photo";
|
2011-06-05 21:55:34 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSSplitView notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSSplitViewDidResizeSubviewsNotification =
|
1997-08-04 20:42:56 +00:00
|
|
|
@"NSSplitViewDidResizeSubviewsNotification";
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSSplitViewWillResizeSubviewsNotification =
|
1997-08-04 20:42:56 +00:00
|
|
|
@"NSSplitViewWillResizeSubviewsNotification";
|
|
|
|
|
2000-03-18 00:20:09 +00:00
|
|
|
// NSTableView notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTableViewColumnDidMove = @"NSTableViewColumnDidMoveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTableViewColumnDidResize = @"NSTableViewColumnDidResizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTableViewSelectionDidChange = @"NSTableViewSelectionDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTableViewSelectionIsChanging = @"NSTableViewSelectionIsChangingNotification";
|
2000-03-18 00:20:09 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSText notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTextDidBeginEditingNotification = @"NSTextDidBeginEditingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTextDidEndEditingNotification = @"NSTextDidEndEditingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTextDidChangeNotification = @"NSTextDidChangeNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2001-11-23 00:28:15 +00:00
|
|
|
// NSTextStorage Notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTextStorageWillProcessEditingNotification = @"NSTextStorageWillProcessEditingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTextStorageDidProcessEditingNotification = @"NSTextStorageDidProcessEditingNotification";
|
2001-11-23 00:28:15 +00:00
|
|
|
|
1999-02-17 09:13:43 +00:00
|
|
|
// NSTextView notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTextViewDidChangeSelectionNotification = @"NSTextViewDidChangeSelectionNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTextViewWillChangeNotifyingTextViewNotification = @"NSTextViewWillChangeNotifyingTextViewNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTextViewDidChangeTypingAttributesNotification = @"NSTextViewDidChangeTypingAttributesNotification";
|
1999-02-17 09:13:43 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSView notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSViewFocusDidChangeNotification = @"NSViewFocusDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSViewFrameDidChangeNotification = @"NSViewFrameDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSViewBoundsDidChangeNotification = @"NSViewBoundsDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSViewGlobalFrameDidChangeNotification = @"NSViewGlobalFrameDidChangeNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
2009-11-08 19:26:49 +00:00
|
|
|
// NSViewAnimation
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSViewAnimationTargetKey = @"NSViewAnimationTargetKey";
|
|
|
|
APPKIT_DECLARE NSString *NSViewAnimationStartFrameKey = @"NSViewAnimationStartFrameKey";
|
|
|
|
APPKIT_DECLARE NSString *NSViewAnimationEndFrameKey = @"NSViewAnimationEndFrameKey";
|
|
|
|
APPKIT_DECLARE NSString *NSViewAnimationEffectKey = @"NSViewAnimationEffectKey";
|
|
|
|
APPKIT_DECLARE NSString *NSViewAnimationFadeInEffect = @"NSViewAnimationFadeInEffect";
|
|
|
|
APPKIT_DECLARE NSString *NSViewAnimationFadeOutEffect = @"NSViewAnimationFadeOutEffect";
|
2009-11-08 19:26:49 +00:00
|
|
|
|
|
|
|
|
1998-12-16 15:21:55 +00:00
|
|
|
// NSMenu notifications
|
2014-06-09 10:21:22 +00:00
|
|
|
NSString* const NSMenuDidSendActionNotification = @"NSMenuDidSendActionNotification";
|
|
|
|
NSString* const NSMenuWillSendActionNotification = @"NSMenuWillSendActionNotification";
|
|
|
|
NSString* const NSMenuDidAddItemNotification = @"NSMenuDidAddItemNotification";
|
|
|
|
NSString* const NSMenuDidRemoveItemNotification = @"NSMenuDidRemoveItemNotification";
|
|
|
|
NSString* const NSMenuDidChangeItemNotification = @"NSMenuDidChangeItemNotification";
|
2015-09-21 20:37:56 +00:00
|
|
|
NSString* const NSMenuDidBeginTrackingNotification = @"NSMenuDidBeginTrackingNotification";
|
2015-09-19 16:45:36 +00:00
|
|
|
NSString* const NSMenuDidEndTrackingNotification = @"NSMenuDidEndTrackingNotification";
|
1998-12-16 15:21:55 +00:00
|
|
|
|
1999-07-26 07:02:26 +00:00
|
|
|
// NSPopUpButton notification
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPopUpButtonWillPopUpNotification = @"NSPopUpButtonWillPopUpNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSPopUpButtonCellWillPopUpNotification = @"NSPopUpButtonCellWillPopUpNotification";
|
1999-07-26 07:02:26 +00:00
|
|
|
|
2013-04-21 21:32:36 +00:00
|
|
|
// NSPopover notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPopoverWillShowNotification = @"NSPopoverWillShowNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSPopoverDidShowNotification = @"NSPopoverDidShowNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSPopoverWillCloseNotification = @"NSPopoverWillCloseNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSPopoverDidCloseNotification = @"NSPopoverDidCloseNotification";
|
2013-04-21 21:32:36 +00:00
|
|
|
|
|
|
|
// NSPopover keys
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPopoverCloseReasonKey = @"NSPopoverCloseReasonKey";
|
|
|
|
APPKIT_DECLARE NSString *NSPopoverCloseReasonStandard = @"NSPopoverCloseReasonStandard";
|
|
|
|
APPKIT_DECLARE NSString *NSPopoverCloseReasonDetachToWindow = @"NSPopoverCloseReasonDetachToWindow";
|
2013-04-21 21:32:36 +00:00
|
|
|
|
1999-08-04 09:15:07 +00:00
|
|
|
// NSTable notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTableViewSelectionDidChangeNotification = @"NSTableViewSelectionDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTableViewColumnDidMoveNotification = @"NSTableViewColumnDidMoveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTableViewColumnDidResizeNotification = @"NSTableViewColumnDidResizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSTableViewSelectionIsChangingNotification = @"NSTableViewSelectionIsChangingNotification";
|
1999-08-04 09:15:07 +00:00
|
|
|
|
2002-02-23 16:37:17 +00:00
|
|
|
// NSOutlineView notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewSelectionDidChangeNotification = @"NSOutlineViewSelectionDidChangeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewColumnDidMoveNotification = @"NSOutlineViewColumnDidMoveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewColumnDidResizeNotification = @"NSOutlineViewColumnDidResizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewSelectionIsChangingNotification = @"NSOutlineViewSelectionIsChangingNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewItemDidExpandNotification = @"NSOutlineViewItemDidExpandNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewItemDidCollapseNotification = @"NSOutlineViewItemDidCollapseNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewItemWillExpandNotification = @"NSOutlineViewItemWillExpandNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSOutlineViewItemWillCollapseNotification = @"NSOutlineViewItemWillCollapseNotification";
|
2002-02-23 16:37:17 +00:00
|
|
|
|
1997-08-04 20:42:56 +00:00
|
|
|
// NSWindow notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSWindowDidBecomeKeyNotification = @"NSWindowDidBecomeKeyNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidBecomeMainNotification = @"NSWindowDidBecomeMainNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidChangeScreenNotification = @"NSWindowDidChangeScreenNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidChangeScreenProfileNotification = @"NSWindowDidChangeScreenProfileNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidDeminiaturizeNotification = @"NSWindowDidDeminiaturizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidEndSheetNotification = @"NSWindowDidEndSheetNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidExposeNotification = @"NSWindowDidExposeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidMiniaturizeNotification = @"NSWindowDidMiniaturizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidMoveNotification = @"NSWindowDidMoveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidResignKeyNotification = @"NSWindowDidResignKeyNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidResignMainNotification = @"NSWindowDidResignMainNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidResizeNotification = @"NSWindowDidResizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowDidUpdateNotification = @"NSWindowDidUpdateNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowWillBeginSheetNotification = @"NSWindowWillBeginSheetNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowWillCloseNotification = @"NSWindowWillCloseNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowWillMiniaturizeNotification = @"NSWindowWillMiniaturizeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWindowWillMoveNotification = @"NSWindowWillMoveNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
// Workspace File Type Globals
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSPlainFileType = @"NSPlainFileType";
|
|
|
|
APPKIT_DECLARE NSString *NSDirectoryFileType = @"NSDirectoryFileType";
|
|
|
|
APPKIT_DECLARE NSString *NSApplicationFileType = @"NSApplicationFileType";
|
|
|
|
APPKIT_DECLARE NSString *NSFilesystemFileType = @"NSFilesystemFileType";
|
|
|
|
APPKIT_DECLARE NSString *NSShellCommandFileType = @"NSShellCommandFileType";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
// Workspace File Operation Globals
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceCompressOperation = @"compress";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceCopyOperation = @"copy";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDecompressOperation = @"decompress";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDecryptOperation = @"decrypt";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDestroyOperation = @"destroy";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDuplicateOperation = @"duplicate";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceEncryptOperation = @"encrypt";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceLinkOperation = @"link";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceMoveOperation = @"move";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceRecycleOperation = @"recycle";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
|
|
|
// NSWorkspace notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDidLaunchApplicationNotification = @"NSWorkspaceDidLaunchApplicationNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDidMountNotification = @"NSWorkspaceDidMountNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDidPerformFileOperationNotification = @"NSWorkspaceDidPerformFileOperationNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDidTerminateApplicationNotification = @"NSWorkspaceDidTerminateApplicationNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDidUnmountNotification = @"NSWorkspaceDidUnmountNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceWillLaunchApplicationNotification = @"NSWorkspaceWillLaunchApplicationNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceWillPowerOffNotification = @"NSWorkspaceWillPowerOffNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceWillUnmountNotification = @"NSWorkspaceWillUnmountNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceDidWakeNotification = @"NSWorkspaceDidWakeNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceSessionDidBecomeActiveNotification = @"NSWorkspaceSessionDidBecomeActiveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceSessionDidResignActiveNotification = @"NSWorkspaceSessionDidResignActiveNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSWorkspaceWillSleepNotification = @"NSWorkspaceWillSleepNotification";
|
1997-08-04 20:42:56 +00:00
|
|
|
|
1999-07-15 05:52:55 +00:00
|
|
|
/*
|
2007-03-26 13:37:33 +00:00
|
|
|
* NSStringDrawing NSAttributedString additions
|
1999-07-15 05:52:55 +00:00
|
|
|
*/
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSAttachmentAttributeName = @"NSAttachment";
|
|
|
|
APPKIT_DECLARE NSString *NSBackgroundColorAttributeName = @"NSBackgroundColor";
|
|
|
|
APPKIT_DECLARE NSString *NSBaselineOffsetAttributeName = @"NSBaselineOffset";
|
|
|
|
APPKIT_DECLARE NSString *NSCursorAttributeName = @"NSCursor";
|
|
|
|
APPKIT_DECLARE NSString *NSExpansionAttributeName = @"NSExpansion";
|
|
|
|
APPKIT_DECLARE NSString *NSFontAttributeName = @"NSFont";
|
|
|
|
APPKIT_DECLARE NSString *NSForegroundColorAttributeName = @"NSColor";
|
|
|
|
APPKIT_DECLARE NSString *NSKernAttributeName = @"NSKern";
|
|
|
|
APPKIT_DECLARE NSString *NSLigatureAttributeName = @"NSLigature";
|
|
|
|
APPKIT_DECLARE NSString *NSLinkAttributeName = @"NSLink";
|
|
|
|
APPKIT_DECLARE NSString *NSObliquenessAttributeName = @"NSObliqueness";
|
|
|
|
APPKIT_DECLARE NSString *NSParagraphStyleAttributeName = @"NSParagraphStyle";
|
|
|
|
APPKIT_DECLARE NSString *NSShadowAttributeName = @"NSShadow";
|
|
|
|
APPKIT_DECLARE NSString *NSStrikethroughColorAttributeName = @"NSStrikethroughColor";
|
|
|
|
APPKIT_DECLARE NSString *NSStrikethroughStyleAttributeName = @"NSStrikethrough";
|
|
|
|
APPKIT_DECLARE NSString *NSStrokeColorAttributeName = @"NSStrokeColor";
|
|
|
|
APPKIT_DECLARE NSString *NSStrokeWidthAttributeName = @"NSStrokeWidth";
|
|
|
|
APPKIT_DECLARE NSString *NSSuperscriptAttributeName = @"NSSuperScript";
|
|
|
|
APPKIT_DECLARE NSString *NSToolTipAttributeName = @"NSToolTip";
|
|
|
|
APPKIT_DECLARE NSString *NSUnderlineColorAttributeName = @"NSUnderlineColor";
|
|
|
|
APPKIT_DECLARE NSString *NSUnderlineStyleAttributeName = @"NSUnderline";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSTextAlternativesAttributeName = @"NSTextAlternatives";
|
|
|
|
APPKIT_DECLARE NSString *NSWritingDirectionAttributeName = @"NSWritingDirection";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSCharacterShapeAttributeName = @"NSCharacterShape";
|
|
|
|
APPKIT_DECLARE NSString *NSGlyphInfoAttributeName = @"NSGlyphInfo";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSPaperSizeDocumentAttribute = @"PaperSize";
|
|
|
|
APPKIT_DECLARE NSString *NSLeftMarginDocumentAttribute = @"LeftMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSRightMarginDocumentAttribute = @"RightMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSTopMarginDocumentAttribute = @"TopMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSBottomMarginDocumentAttribute = @"BottomMargin";
|
|
|
|
APPKIT_DECLARE NSString *NSHyphenationFactorDocumentAttribute = @"HyphenationFactor";
|
|
|
|
APPKIT_DECLARE NSString *NSDocumentTypeDocumentAttribute = @"DocumentType";
|
|
|
|
APPKIT_DECLARE NSString *NSCharacterEncodingDocumentAttribute = @"CharacterEncoding";
|
|
|
|
APPKIT_DECLARE NSString *NSViewSizeDocumentAttribute = @"ViewSize";
|
|
|
|
APPKIT_DECLARE NSString *NSViewZoomDocumentAttribute = @"ViewZoom";
|
|
|
|
APPKIT_DECLARE NSString *NSViewModeDocumentAttribute = @"ViewMode";
|
|
|
|
APPKIT_DECLARE NSString *NSBackgroundColorDocumentAttribute = @"BackgroundColor";
|
|
|
|
APPKIT_DECLARE NSString *NSCocoaVersionDocumentAttribute = @"CocoaVersion";
|
|
|
|
APPKIT_DECLARE NSString *NSReadOnlyDocumentAttribute = @"ReadOnly";
|
|
|
|
APPKIT_DECLARE NSString *NSConvertedDocumentAttribute = @"Converted";
|
|
|
|
APPKIT_DECLARE NSString *NSDefaultTabIntervalDocumentAttribute = @"DefaultTabInterval";
|
|
|
|
APPKIT_DECLARE NSString *NSTitleDocumentAttribute = @"Title";
|
|
|
|
APPKIT_DECLARE NSString *NSCompanyDocumentAttribute = @"Company";
|
|
|
|
APPKIT_DECLARE NSString *NSCopyrightDocumentAttribute = @"Copyright";
|
|
|
|
APPKIT_DECLARE NSString *NSSubjectDocumentAttribute = @"Subject";
|
|
|
|
APPKIT_DECLARE NSString *NSAuthorDocumentAttribute = @"Author";
|
|
|
|
APPKIT_DECLARE NSString *NSKeywordsDocumentAttribute = @"Keywords";
|
|
|
|
APPKIT_DECLARE NSString *NSCommentDocumentAttribute = @"Comment";
|
|
|
|
APPKIT_DECLARE NSString *NSEditorDocumentAttribute = @"Editor";
|
|
|
|
APPKIT_DECLARE NSString *NSCreationTimeDocumentAttribute = @"CreationTime";
|
|
|
|
APPKIT_DECLARE NSString *NSModificationTimeDocumentAttribute = @"ModificationTime";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSTextInsertionUndoableAttributeName = @"NSTextInsertionUndoableAttributeName";
|
|
|
|
|
|
|
|
APPKIT_DECLARE const unsigned NSUnderlineByWordMask = 0x01;
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSSpellingStateAttributeName = @"NSSpellingState";
|
|
|
|
APPKIT_DECLARE const unsigned NSSpellingStateSpellingFlag = 1;
|
|
|
|
APPKIT_DECLARE const unsigned NSSpellingStateGrammarFlag = 2;
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification = @"NSSpellCheckerDidChangeAutomaticSpellingCorrectionNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSSpellCheckerDidChangeAutomaticTextReplacementNotification = @"NSSpellCheckerDidChangeAutomaticTextReplacementNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification = @"NSSpellCheckerDidChangeAutomaticQuoteSubstitutionNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification = @"NSSpellCheckerDidChangeAutomaticDashSubstitutionNotification";
|
|
|
|
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSPlainTextDocumentType = @"NSPlainText";
|
|
|
|
APPKIT_DECLARE NSString *NSRTFTextDocumentType = @"NSRTF";
|
|
|
|
APPKIT_DECLARE NSString *NSRTFDTextDocumentType = @"NSRTFD";
|
|
|
|
APPKIT_DECLARE NSString *NSMacSimpleTextDocumentType = @"NSMacSimpleText";
|
|
|
|
APPKIT_DECLARE NSString *NSHTMLTextDocumentType = @"NSHTML";
|
|
|
|
APPKIT_DECLARE NSString *NSDocFormatTextDocumentType = @"NSDocFormat";
|
|
|
|
APPKIT_DECLARE NSString *NSWordMLTextDocumentType = @"NSWordML";
|
|
|
|
APPKIT_DECLARE NSString *NSOfficeOpenXMLTextDocumentType = @"NSOfficeOpenXML";
|
|
|
|
APPKIT_DECLARE NSString *NSOpenDocumentTextDocumentType = @"NSOpenDocumentText";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSExcludedElementsDocumentAttribute = @"ExcludedElements";
|
|
|
|
APPKIT_DECLARE NSString *NSTextEncodingNameDocumentAttribute = @"TextEncodingName";
|
|
|
|
APPKIT_DECLARE NSString *NSPrefixSpacesDocumentAttribute = @"PrefixSpaces";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSBaseURLDocumentOption = @"BaseURL";
|
|
|
|
APPKIT_DECLARE NSString *NSCharacterEncodingDocumentOption = @"CharacterEncoding";
|
|
|
|
APPKIT_DECLARE NSString *NSDefaultAttributesDocumentOption = @"DefaultAttributes";
|
|
|
|
APPKIT_DECLARE NSString *NSDocumentTypeDocumentOption = @"DocumentType";
|
|
|
|
APPKIT_DECLARE NSString *NSTextEncodingNameDocumentOption = @"TextEncodingName";
|
|
|
|
APPKIT_DECLARE NSString *NSTextSizeMultiplierDocumentOption = @"TextSizeMultiplier";
|
|
|
|
APPKIT_DECLARE NSString *NSTimeoutDocumentOption = @"Timeout";
|
|
|
|
APPKIT_DECLARE NSString *NSWebPreferencesDocumentOption = @"WebPreferences";
|
|
|
|
APPKIT_DECLARE NSString *NSWebResourceLoadDelegateDocumentOption = @"WebResourceLoadDelegate";
|
2007-06-18 21:08:54 +00:00
|
|
|
|
|
|
|
// NSTextTab
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTabColumnTerminatorsAttributeName = @"NSTabColumnTerminatorsAttributeName";
|
2000-12-22 16:49:09 +00:00
|
|
|
|
2017-08-19 23:01:10 +00:00
|
|
|
// Private Exports
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSMarkedClauseSegmentAttributeName = @"NSMarkedClauseSegmentAttributeName";
|
|
|
|
APPKIT_DECLARE NSString *NSTextInputReplacementRangeAttributeName = @"NSTextInputReplacementRangeAttributeName";
|
2017-08-19 23:01:10 +00:00
|
|
|
|
2002-06-30 05:14:21 +00:00
|
|
|
// NSToolbar notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSToolbarDidRemoveItemNotification = @"NSToolbarDidRemoveItemNotification";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarWillAddItemNotification = @"NSToolbarWillAddItemNotification";
|
2002-06-30 05:14:21 +00:00
|
|
|
|
|
|
|
// NSToolbarItem constants
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSToolbarSeparatorItemIdentifier = @"NSToolbarSeparatorItem";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarSpaceItemIdentifier = @"NSToolbarSpaceItem";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarFlexibleSpaceItemIdentifier = @"NSToolbarFlexibleSpaceItem";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarShowColorsItemIdentifier = @"NSToolbarShowColorsItem";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarShowFontsItemIdentifier = @"NSToolbarShowFontsItem";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarCustomizeToolbarItemIdentifier = @"NSToolbarCustomizeToolbarItem";
|
|
|
|
APPKIT_DECLARE NSString *NSToolbarPrintItemIdentifier = @"NSToolbarPrintItem";
|
2002-06-30 05:14:21 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSImageNameTrashEmpty = @"NSImageTrashEmpty";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNameTrashFull = @"NSImageTrashFull";
|
2015-11-18 23:05:00 +00:00
|
|
|
|
|
|
|
// Misc named images
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSImageNameMultipleDocuments = @"NSImageNameMultipleDocuments";
|
2015-11-18 23:05:00 +00:00
|
|
|
|
2000-12-22 16:49:09 +00:00
|
|
|
/*
|
|
|
|
* NSTextView userInfo for notifications
|
|
|
|
*/
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSOldSelectedCharacterRange = @"NSOldSelectedCharacterRange";
|
1998-11-16 20:32:48 +00:00
|
|
|
|
1999-05-13 13:51:57 +00:00
|
|
|
/* NSFont matrix */
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE const CGFloat NSFontIdentityMatrix[] = {1, 0, 0, 1, 0, 0};
|
1998-11-16 20:32:48 +00:00
|
|
|
|
1998-12-10 19:53:41 +00:00
|
|
|
/* Drawing engine externs */
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSBackendContext = @"NSBackendContext";
|
1998-11-16 20:32:48 +00:00
|
|
|
|
2000-04-25 20:26:51 +00:00
|
|
|
typedef int NSWindowDepth;
|
|
|
|
|
|
|
|
/**** Color function externs ****/
|
|
|
|
/* Since these are constants it was not possible
|
|
|
|
to do the OR directly. If you change the
|
|
|
|
_GS*BitValue numbers, please remember to
|
|
|
|
change the corresponding depth values */
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE const NSWindowDepth _GSGrayBitValue = 256;
|
|
|
|
APPKIT_DECLARE const NSWindowDepth _GSRGBBitValue = 512;
|
|
|
|
APPKIT_DECLARE const NSWindowDepth _GSCMYKBitValue = 1024;
|
|
|
|
APPKIT_DECLARE const NSWindowDepth _GSNamedBitValue = 2048;
|
|
|
|
APPKIT_DECLARE const NSWindowDepth _GSCustomBitValue = 4096;
|
|
|
|
APPKIT_DECLARE const NSWindowDepth NSDefaultDepth = 0; // GRAY = 256, RGB = 512
|
|
|
|
APPKIT_DECLARE const NSWindowDepth NSTwoBitGrayDepth = 258; // 0100000010 GRAY | 2bps
|
|
|
|
APPKIT_DECLARE const NSWindowDepth NSEightBitGrayDepth = 264; // 0100001000 GRAY | 8bps
|
|
|
|
APPKIT_DECLARE const NSWindowDepth NSEightBitRGBDepth = 514; // 1000000010 RGB | 2bps
|
|
|
|
APPKIT_DECLARE const NSWindowDepth NSTwelveBitRGBDepth = 516; // 1000000100 RGB | 4bps
|
|
|
|
APPKIT_DECLARE const NSWindowDepth GSSixteenBitRGBDepth = 517; // 1000000101 RGB | 5bps GNUstep specific
|
|
|
|
APPKIT_DECLARE const NSWindowDepth NSTwentyFourBitRGBDepth = 520; // 1000001000 RGB | 8bps
|
|
|
|
APPKIT_DECLARE const NSWindowDepth _GSWindowDepths[7] = { 258, 264, 514, 516, 517, 520, 0 };
|
2000-04-25 20:26:51 +00:00
|
|
|
|
|
|
|
/* End of color functions externs */
|
2001-10-17 03:53:55 +00:00
|
|
|
|
2006-12-19 18:35:16 +00:00
|
|
|
// NSKeyValueBinding
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSObservedObjectKey = @"NSObservedObject";
|
|
|
|
APPKIT_DECLARE NSString *NSObservedKeyPathKey = @"NSObservedKeyPath";
|
|
|
|
APPKIT_DECLARE NSString *NSOptionsKey = @"NSOptions";
|
|
|
|
|
|
|
|
APPKIT_DECLARE NSString *NSAllowsEditingMultipleValuesSelectionBindingOption = @"NSAllowsEditingMultipleValuesSelection";
|
|
|
|
APPKIT_DECLARE NSString *NSAllowsNullArgumentBindingOption = @"NSAllowsNullArgument";
|
|
|
|
APPKIT_DECLARE NSString *NSConditionallySetsEditableBindingOption = @"NSConditionallySetsEditable";
|
|
|
|
APPKIT_DECLARE NSString *NSConditionallySetsEnabledBindingOption = @"NSConditionallySetsEnabled";
|
|
|
|
APPKIT_DECLARE NSString *NSConditionallySetsHiddenBindingOption = @"NSConditionallySetsHidden";
|
|
|
|
APPKIT_DECLARE NSString *NSContinuouslyUpdatesValueBindingOption = @"NSContinuouslyUpdatesValue";
|
|
|
|
APPKIT_DECLARE NSString *NSCreatesSortDescriptorBindingOption = @"NSCreatesSortDescriptor";
|
|
|
|
APPKIT_DECLARE NSString *NSDeletesObjectsOnRemoveBindingsOption = @"NSDeletesObjectsOnRemove";
|
|
|
|
APPKIT_DECLARE NSString *NSDisplayNameBindingOption = @"NSDisplayName";
|
|
|
|
APPKIT_DECLARE NSString *NSDisplayPatternBindingOption = @"NSDisplayPattern";
|
|
|
|
APPKIT_DECLARE NSString *NSHandlesContentAsCompoundValueBindingOption = @"NSHandlesContentAsCompoundValue";
|
|
|
|
APPKIT_DECLARE NSString *NSInsertsNullPlaceholderBindingOption = @"NSInsertsNullPlaceholder";
|
|
|
|
APPKIT_DECLARE NSString *NSInvokesSeparatelyWithArrayObjectsBindingOption = @"NSInvokesSeparatelyWithArrayObjects";
|
|
|
|
APPKIT_DECLARE NSString *NSMultipleValuesPlaceholderBindingOption = @"NSMultipleValuesPlaceholder";
|
|
|
|
APPKIT_DECLARE NSString *NSNoSelectionPlaceholderBindingOption = @"NSNoSelectionPlaceholder";
|
|
|
|
APPKIT_DECLARE NSString *NSNotApplicablePlaceholderBindingOption = @"NSNotApplicablePlaceholder";
|
|
|
|
APPKIT_DECLARE NSString *NSNullPlaceholderBindingOption = @"NSNullPlaceholder";
|
|
|
|
APPKIT_DECLARE NSString *NSPredicateFormatBindingOption = @"NSPredicateFormat";
|
|
|
|
APPKIT_DECLARE NSString *NSRaisesForNotApplicableKeysBindingOption = @"NSRaisesForNotApplicableKeys";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectorNameBindingOption = @"NSSelectorName";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectsAllWhenSettingContentBindingOption = @"NSSelectsAllWhenSettingContent";
|
|
|
|
APPKIT_DECLARE NSString *NSValidatesImmediatelyBindingOption = @"NSValidatesImmediately";
|
|
|
|
APPKIT_DECLARE NSString *NSValueTransformerNameBindingOption = @"NSValueTransformerName";
|
|
|
|
APPKIT_DECLARE NSString *NSValueTransformerBindingOption = @"NSValueTransformer";
|
2007-12-11 18:50:42 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSAlignmentBinding = @"alignment";
|
|
|
|
APPKIT_DECLARE NSString *NSContentArrayBinding = @"contentArray";
|
|
|
|
APPKIT_DECLARE NSString *NSContentBinding = @"content";
|
|
|
|
APPKIT_DECLARE NSString *NSContentObjectBinding = @"contentObject";
|
|
|
|
APPKIT_DECLARE NSString *NSContentValuesBinding = @"contentValues";
|
|
|
|
APPKIT_DECLARE NSString *NSEditableBinding = @"editable";
|
|
|
|
APPKIT_DECLARE NSString *NSEnabledBinding = @"enabled";
|
|
|
|
APPKIT_DECLARE NSString *NSFontBinding = @"font";
|
|
|
|
APPKIT_DECLARE NSString *NSFontNameBinding = @"fontName";
|
|
|
|
APPKIT_DECLARE NSString *NSFontSizeBinding = @"fontSize";
|
|
|
|
APPKIT_DECLARE NSString *NSHiddenBinding = @"hidden";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectedIndexBinding = @"selectedIndex";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectedObjectBinding = @"selectedObject";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectedTagBinding = @"selectedTag";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectedValueBinding = @"selectedValue";
|
|
|
|
APPKIT_DECLARE NSString *NSSelectionIndexesBinding = @"selectionIndexes";
|
|
|
|
APPKIT_DECLARE NSString *NSSortDescriptorsBinding = @"sortDescriptors";
|
|
|
|
APPKIT_DECLARE NSString *NSTextColorBinding = @"textColor";
|
|
|
|
APPKIT_DECLARE NSString *NSTitleBinding = @"title";
|
|
|
|
APPKIT_DECLARE NSString *NSToolTipBinding = @"toolTip";
|
|
|
|
APPKIT_DECLARE NSString *NSValueBinding = @"value";
|
2007-12-11 18:50:42 +00:00
|
|
|
|
2014-06-09 10:21:22 +00:00
|
|
|
// FIXME: Need to define class _NSStateMarker!
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE id NSMultipleValuesMarker = @"<MULTIPLE VALUES MARKER>";
|
|
|
|
APPKIT_DECLARE id NSNoSelectionMarker = @"<NO SELECTION MARKER>";
|
|
|
|
APPKIT_DECLARE id NSNotApplicableMarker = @"<NOT APPLICABLE MARKER>";
|
2006-12-19 18:35:16 +00:00
|
|
|
|
|
|
|
|
2010-03-28 21:33:08 +00:00
|
|
|
// NSNib
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSNibTopLevelObjects = @"NSTopLevelObjects";
|
|
|
|
APPKIT_DECLARE NSString *NSNibOwner = @"NSOwner";
|
2010-03-28 21:33:08 +00:00
|
|
|
|
2016-03-04 00:10:16 +00:00
|
|
|
// NSImage directly mapped NS named images constants
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSImageNameUserAccounts = @"NSUserAccounts";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNamePreferencesGeneral = @"NSPreferencesGeneral";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNameAdvanced = @"NSAdvanced";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNameInfo = @"NSInfo";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNameFontPanel = @"NSFontPanel";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNameColorPanel = @"NSColorPanel";
|
|
|
|
APPKIT_DECLARE NSString *NSImageNameCaution = @"NSCaution";
|
2016-03-04 00:10:16 +00:00
|
|
|
|
2020-01-07 20:25:21 +00:00
|
|
|
// NSRuleEditor
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateLeftExpression = @"NSRuleEditorPredicateLeftExpression";
|
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateRightExpression = @"NSRuleEditorPredicateRightExpression";
|
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateComparisonModifier = @"NSRuleEditorPredicateComparisonModifier";
|
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateOptions = @"NSRuleEditorPredicateOptions";
|
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateOperatorType = @"NSRuleEditorPredicateOperatorType";
|
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateCustomSelector = @"NSRuleEditorPredicateCustomSelector";
|
|
|
|
APPKIT_DECLARE NSString *const NSRuleEditorPredicateCompoundType = @"NSRuleEditorPredicateCompoundType";
|
2020-01-07 20:25:21 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSRuleEditorRowsDidChangeNotification = @"NSRuleEditorRowsDidChangeNotification";
|
2020-01-07 20:25:21 +00:00
|
|
|
|
2020-01-17 15:06:00 +00:00
|
|
|
// NSAppearance
|
|
|
|
const NSAppearanceName NSAppearanceNameAqua = @"NSAppearanceNameAqua";
|
|
|
|
const NSAppearanceName NSAppearanceNameDarkAqua = @"NSAppearanceNameDarkAqua";
|
|
|
|
const NSAppearanceName NSAppearanceNameVibrantLight = @"NSAppearanceNameVibrantLight";
|
|
|
|
const NSAppearanceName NSAppearanceNameVibrantDark = @"NSAppearanceNameVibrantDark";
|
|
|
|
const NSAppearanceName NSAppearanceNameAccessibilityHighContrastAqua = @"NSAppearanceNameAccessibilityHighContrastAqua";
|
|
|
|
const NSAppearanceName NSAppearanceNameAccessibilityHighContrastDarkAqua = @"NSAppearanceNameAccessibilityHighContrastDarkAqua";
|
2022-09-29 16:09:13 +00:00
|
|
|
const NSAppearanceName NSAppearanceNameAccessibilityHighContrastVibrantLight = @"NSAppearanceNameAccessibilityHighContrastVibrantLight";
|
|
|
|
const NSAppearanceName NSAppearanceNameAccessibilityHighContrastVibrantDark = @"NSAppearanceNameAccessibilityHighContrastVibrantDark";
|
2020-01-17 15:06:00 +00:00
|
|
|
const NSAppearanceName NSAppearanceNameLightContent = @"NSAppearanceNameLightContent";
|
|
|
|
|
2020-01-25 22:25:55 +00:00
|
|
|
// Values for NSFontCollectionAction
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSFontCollectionActionTypeKey const NSFontCollectionWasShown = @"NSFontCollectionWasShown";
|
|
|
|
APPKIT_DECLARE NSFontCollectionActionTypeKey const NSFontCollectionWasHidden = @"NSFontCollectionWasHidden";
|
|
|
|
APPKIT_DECLARE NSFontCollectionActionTypeKey const NSFontCollectionWasRenamed = @"NSFontCollectionWasRenamed";
|
2020-01-25 22:25:55 +00:00
|
|
|
|
|
|
|
// Standard named collections
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSFontCollectionName const NSFontCollectionAllFonts = @"NSFontCollectionAllFonts";
|
|
|
|
APPKIT_DECLARE NSFontCollectionName const NSFontCollectionUser = @"NSFontCollectionUser";
|
|
|
|
APPKIT_DECLARE NSFontCollectionName const NSFontCollectionFavorites = @"NSFontCollectionFavorites";
|
|
|
|
APPKIT_DECLARE NSFontCollectionName const NSFontCollectionRecentlyUsed = @"NSFontCollectionRecentlyUsed";
|
2020-01-25 22:25:55 +00:00
|
|
|
|
|
|
|
// Collections
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSFontCollectionMatchingOptionKey const NSFontCollectionIncludeDisabledFontsOption = @"NSFontCollectionIncludeDisabledFontsOption";
|
|
|
|
APPKIT_DECLARE NSFontCollectionMatchingOptionKey const NSFontCollectionRemoveDuplicatesOption = @"NSFontCollectionRemoveDuplicatesOption";
|
|
|
|
APPKIT_DECLARE NSFontCollectionMatchingOptionKey const NSFontCollectionDisallowAutoActivationOption = @"NSFontCollectionDisallowAutoActivationOption";
|
2020-01-25 22:25:55 +00:00
|
|
|
|
2020-02-04 10:26:52 +00:00
|
|
|
// Speech recognition...
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE const NSString *GSSpeechRecognizerDidRecognizeWordNotification = @"GSSpeechRecognizerDidRecognizeWordNotification";
|
2020-02-04 10:26:52 +00:00
|
|
|
|
2020-08-02 15:39:51 +00:00
|
|
|
// NSTextInputContext notifications
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSString *NSTextInputContextKeyboardSelectionDidChangeNotification = @"NSTextInputContextKeyboardSelectionDidChangeNotification";
|
2020-08-02 15:39:51 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE NSPasteboardTypeTextFinderOptionKey const NSTextFinderCaseInsensitiveKey = @"NSTextFinderCaseInsensitiveKey";
|
|
|
|
APPKIT_DECLARE NSPasteboardTypeTextFinderOptionKey const NSTextFinderMatchingTypeKey = @"NSTextFinderMatchingTypeKey";
|
2020-08-02 15:39:51 +00:00
|
|
|
|
2022-09-29 16:09:13 +00:00
|
|
|
APPKIT_DECLARE CGFloat const NSGridViewSizeForContent = 0.0;
|
2021-02-20 06:59:16 +00:00
|
|
|
|
2022-11-28 06:55:09 +00:00
|
|
|
// NSCollectionView constants
|
|
|
|
APPKIT_DECLARE NSCollectionViewSupplementaryElementKind const NSCollectionElementKindInterItemGapIndicator = @"NSCollectionElementKindInterItemGapIndicator";
|
|
|
|
APPKIT_DECLARE NSCollectionViewSupplementaryElementKind const NSCollectionElementKindSectionHeader = @"UICollectionElementKindSectionHeader";
|
|
|
|
APPKIT_DECLARE NSCollectionViewSupplementaryElementKind const NSCollectionElementKindSectionFooter = @"UICollectionElementKindSectionFooter";
|
|
|
|
|
2001-10-17 03:53:55 +00:00
|
|
|
extern void __objc_gui_force_linking (void);
|
|
|
|
|
|
|
|
void
|
|
|
|
__objc_gui_force_linking (void)
|
|
|
|
{
|
|
|
|
extern void __objc_gui_linking (void);
|
|
|
|
__objc_gui_linking ();
|
|
|
|
}
|