2001-10-19 19:41:13 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
2002-02-12 01:24:53 +00:00
|
|
|
#import <Carbon/Carbon.h>
|
2002-02-14 23:24:53 +00:00
|
|
|
|
|
|
|
@class ResourceDocument, ResourceDataSource;
|
2001-10-19 19:41:13 +00:00
|
|
|
|
|
|
|
@interface CreateResourceSheetController : NSWindowController
|
|
|
|
{
|
|
|
|
IBOutlet ResourceDataSource *dataSource;
|
|
|
|
IBOutlet NSMatrix *attributesMatrix;
|
|
|
|
IBOutlet NSButton *cancelButton;
|
|
|
|
IBOutlet NSButton *createButton;
|
|
|
|
IBOutlet NSTextField *nameView;
|
|
|
|
IBOutlet NSTextField *resIDView;
|
|
|
|
IBOutlet NSTextField *typeView;
|
|
|
|
IBOutlet NSPopUpButton *typePopup;
|
2002-02-14 23:24:53 +00:00
|
|
|
IBOutlet ResourceDocument *document;
|
2001-10-19 19:41:13 +00:00
|
|
|
IBOutlet NSWindow *parent;
|
|
|
|
}
|
|
|
|
|
2002-02-12 01:24:53 +00:00
|
|
|
- (void)controlTextDidChange:(NSNotification *)notification;
|
|
|
|
|
2001-10-19 19:41:13 +00:00
|
|
|
- (IBAction)showCreateResourceSheet:(id)sender;
|
|
|
|
- (IBAction)hideCreateResourceSheet:(id)sender;
|
|
|
|
- (IBAction)typePopupSelection:(id)sender;
|
|
|
|
|
|
|
|
@end
|