22 |
|
|
23 |
|
@interface VMSettingsController : NSWindowController |
24 |
|
{ |
25 |
+ |
BOOL cancelWasClicked; |
26 |
+ |
|
27 |
|
IBOutlet NSView *diskSaveSize; |
28 |
|
IBOutlet NSTextField *diskSaveSizeField; |
29 |
|
NSMutableArray *diskArray; |
48 |
|
// Keyboard/Mouse |
49 |
|
IBOutlet NSButton *useRawKeyCodes; |
50 |
|
IBOutlet NSTextField *rawKeyCodes; |
51 |
+ |
IBOutlet NSButton *browseRawKeyCodesButton; |
52 |
|
IBOutlet NSPopUpButton *mouseWheel; |
53 |
|
IBOutlet NSTextField *scrollLines; |
54 |
|
IBOutlet NSStepper *scrollLinesStepper; |
65 |
|
|
66 |
|
+ (id) sharedInstance; |
67 |
|
- (id) init; |
68 |
+ |
- (void) setupGUI; |
69 |
|
- (void) editSettingsFor: (NSString *) vmdir sender: (id) sender; |
70 |
+ |
- (void) editSettingsForNewVM: (NSString *) vmdir sender: (id) sender; |
71 |
|
- (IBAction) addDisk: (id) sender; |
72 |
|
- (IBAction) removeDisk: (id) sender; |
73 |
|
- (IBAction) createDisk: (id) sender; |
74 |
|
- (IBAction) useRawKeyCodesClicked: (id) sender; |
75 |
|
- (IBAction) browseForROMFileClicked: (id) sender; |
76 |
|
- (IBAction) browseForUnixRootClicked: (id) sender; |
77 |
+ |
- (IBAction) browseForKeyCodesFileClicked: (id) sender; |
78 |
|
- (void) cancelEdit: (id) sender; |
79 |
|
- (void) saveChanges: (id) sender; |
80 |
+ |
- (BOOL) cancelWasClicked; |
81 |
|
- (void) dealloc; |
82 |
|
|
83 |
|
@end |