// // NSImage+Additions.h // Perforce // // Created by Adam Czubernat on 03.06.2013. // Copyright (c) 2013 Perforce Software, Inc. All rights reserved. // #import <Cocoa/Cocoa.h> @interface NSImage (Additions) + (NSImage *)imageWithFilePreview:(NSString *)filePath size:(NSSize)size icon:(BOOL)icon; - (NSImage *)resizableImageWithCapInsets:(NSEdgeInsets)capInsets; - (NSImage *)resizableImageWithLeftCap:(CGFloat)left rightCap:(CGFloat)right; - (NSImage *)resizableImageWithTopCap:(CGFloat)top bottomCap:(CGFloat)bottom; - (BOOL)isResizable; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 9421 | tjuricek |
Copying //guest/perforce_software/piper/... to //guest/tjuricek/piper/... |
||
//guest/perforce_software/piper/Perforce/Classes/Helpers/NSImage+Additions.h | |||||
#1 | 8919 | Matt Attaway | Initial add of Piper, a lightweight Perforce client for artists and designers. |