CocoaDev

Edit AllPages

General/OpenGLScript

// // General/UmGLScriptEditor.h // General/UmGL // // // Created by Benjamin on Sat Feb 08 2003. // Copyright (c) 2003 Unified Modular All rights reserved. // www.unifiedmodular.com //

#import <Cocoa/Cocoa.h> #import “General/UmGLScriptEditor.h”

@interface General/UmGLScriptEditor : General/NSWindow { General/NSTabView *tabView; General/NSTableView *tableView; General/NSScrollView *tableScrollView; General/NSTextView *textView; General/NSNotificationCenter *myCenter; id glView; id scriptor; General/NSArray *script; } -(void)initWithFrame:(General/NSRect)_frame; -(void)setGLView:(id)view; -(void)setGLScript:(id)_scriptor; -(void)setDataSource:(id)source; -(id)textView; -(id)tableView;

@end

// // General/UmGLScriptEditor.m // General/UmGL // // // Created by Benjamin on Sat Feb 08 2003. // Copyright (c) 2003 Unified Modular All rights reserved. // www.unifiedmodular.com //

#import “General/UmGLScriptEditor.h”

@implementation General/UmGLScriptEditor

-(void)setGLScript:(id)_scriptor { scriptor=_scriptor; } -(void)setGLView:(id)view { glView=view; } -(void)setDataSource:(id)source { [tableView setDataSource:source]; [source setTableView:tableView]; }

@end