Changeset 587 for trunk/Cocoa/Pester/Source/NSImage-OAExtensions.h
- Timestamp:
- 09/20/09 21:08:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/NSImage-OAExtensions.h
r102 r587 14 14 @interface NSImage (OAExtensions) 15 15 16 + (NSImage *)imageNamed:(NSString *)imageName inBundleForClass:(Class)aClass;17 16 + (NSImage *)imageNamed:(NSString *)imageName inBundle:(NSBundle *)aBundle; 18 + (NSImage *)imageForFileType:(NSString *)fileType;19 // Caching wrapper for -[NSWorkspace iconForFileType:]. This method is not thread-safe at the moment.20 + (NSImage *)draggingIconWithTitle:(NSString *)title andImage:(NSImage *)image;21 22 - (void)drawFlippedInRect:(NSRect)rect operation:(NSCompositingOperation)op fraction:(float)delta;23 - (void)drawFlippedInRect:(NSRect)rect operation:(NSCompositingOperation)op;24 25 // Puts the image on the pasteboard as TIFF, and also supplies data from any PDF, EPS, or PICT representations available. Returns the number of types added to the pasteboard and adds their names to notThese. This routine uses -addTypes:owner:, so the pasteboard must have previously been set up using -declareTypes:owner.26 - (int)addDataToPasteboard:(NSPasteboard *)aPasteboard exceptTypes:(NSMutableSet *)notThese;27 17 28 18 @end
Note:
See TracChangeset
for help on using the changeset viewer.