2012-08-22 11:24:59 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2012-09-05 00:08:05 +00:00
|
|
|
@protocol OutputWindowDelegate
|
|
|
|
|
|
|
|
-(void)outputWindowDidResize: (NSSize)size;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2012-08-22 11:24:59 +00:00
|
|
|
@interface OutputWindowController : NSWindowController
|
|
|
|
{
|
2012-09-05 00:08:05 +00:00
|
|
|
NSOpenGLView* _openGlView;
|
|
|
|
id<OutputWindowDelegate> _delegate;
|
2012-08-22 11:24:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@property(assign, nonatomic) IBOutlet NSOpenGLView* openGlView;
|
|
|
|
|
2012-09-05 00:08:05 +00:00
|
|
|
-(void)setDelegate: (id<OutputWindowDelegate>)delegate;
|
|
|
|
-(NSSize)contentSize;
|
|
|
|
|
2012-08-22 11:24:59 +00:00
|
|
|
@end
|