//
// 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