ResKnife/Cocoa/Classes/InfoWindowController.h

39 lines
742 B
C
Raw Normal View History

2001-10-19 19:41:13 +00:00
#import <Cocoa/Cocoa.h>
@class ResourceDocument, Resource;
enum Attributes
{
changedBox = 0,
preloadBox,
protectedBox,
lockedBox,
purgableBox,
systemHeapBox
};
@interface InfoWindowController : NSWindowController
{
2002-02-07 07:37:51 +00:00
IBOutlet NSImageView *iconView;
IBOutlet NSTextField *nameView;
IBOutlet NSBox *placeholderView;
IBOutlet NSBox *resourceView;
IBOutlet NSBox *documentView;
IBOutlet NSMatrix *attributesMatrix;
2001-10-19 19:41:13 +00:00
@private
ResourceDocument *currentDocument;
Resource *selectedResource;
}
- (void)updateInfoWindow;
- (void)setMainWindow:(NSWindow *)mainWindow;
- (IBAction)attributesChanged:(id)sender;
- (void)resourceAttributesDidChange:(NSNotification *)notification;
2001-10-19 19:41:13 +00:00
+ (id)sharedInfoWindowController;
@end