mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-12-22 17:30:15 +00:00
39 lines
742 B
Objective-C
39 lines
742 B
Objective-C
#import <Cocoa/Cocoa.h>
|
|
|
|
@class ResourceDocument, Resource;
|
|
|
|
enum Attributes
|
|
{
|
|
changedBox = 0,
|
|
preloadBox,
|
|
protectedBox,
|
|
lockedBox,
|
|
purgableBox,
|
|
systemHeapBox
|
|
};
|
|
|
|
@interface InfoWindowController : NSWindowController
|
|
{
|
|
IBOutlet NSImageView *iconView;
|
|
IBOutlet NSTextField *nameView;
|
|
|
|
IBOutlet NSBox *placeholderView;
|
|
IBOutlet NSBox *resourceView;
|
|
IBOutlet NSBox *documentView;
|
|
|
|
IBOutlet NSMatrix *attributesMatrix;
|
|
|
|
@private
|
|
ResourceDocument *currentDocument;
|
|
Resource *selectedResource;
|
|
}
|
|
|
|
- (void)updateInfoWindow;
|
|
- (void)setMainWindow:(NSWindow *)mainWindow;
|
|
- (IBAction)attributesChanged:(id)sender;
|
|
- (void)resourceAttributesDidChange:(NSNotification *)notification;
|
|
|
|
+ (id)sharedInfoWindowController;
|
|
|
|
@end
|