-
Notifications
You must be signed in to change notification settings - Fork 0
/
aeroCADAppDelegate.h
48 lines (39 loc) · 1.38 KB
/
aeroCADAppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//
// aeroCADAppDelegate.h
// aeroCAD
//
// Created by Jeff Glaum on 7/4/10.
// Copyright 2010 Jeff Glaum. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "aeroCADCurve.h"
@interface aeroCADAppDelegate : NSObject <NSApplicationDelegate>
{
NSWindow *window;
NSTextField *consoleOutputField;
NSTextField *commandInputField;
aeroCADCurve *constructionCurve; // Used to keep track of a new curve/line under construction
}
@property (assign) IBOutlet NSWindow *window;
@property (assign) IBOutlet NSTextField *consoleOutputField;
@property (assign) IBOutlet NSTextField *commandInputField;
// Button handlers
//
-(IBAction) button_newLine: (id) sender;
-(IBAction) button_appendLine: (id) sender;
-(IBAction) button_endLine: (id) sender;
-(IBAction) button_fetchCurveFile: (id) sender;
-(IBAction) button_invertCurve: (id) sender;
-(IBAction) button_deleteCurve: (id) sender;
-(IBAction) button_drawShaded: (id) sender;
-(IBAction) button_drawWireframe: (id) sender;
-(IBAction) button_drawSurfaceNormals: (id) sender;
-(void) setConsoleOutputText: (NSString *) text;
-(void) setCommandInputText: (NSString *) text;
-(void) commandHandler: (NSString *) cmd;
-(void) newLineHandler;
-(void) appendLineHandler;
-(void) endLineHandler;
-(void) fetchCurveHandler;
-(void) deleteCurveHandler;
@end