|
|
1.1 root 1: /* SDLMain.m - main entry point for our Cocoa-ized SDL app
2: Initial Version: Darrell Walisser <[email protected]>
3: Non-NIB-Code & other changes: Max Horn <[email protected]>
4:
5: Feel free to customize this file to suit your needs
6: */
7:
1.1.1.2 root 8: #ifndef _SDLMain_h_
9: #define _SDLMain_h_
1.1 root 10: #import <Cocoa/Cocoa.h>
11:
12: @interface SDLMain : NSObject
13: {
14: IBOutlet NSMenuItem *beginCaptureAnim;
15: IBOutlet NSMenuItem *endCaptureAnim;
16: IBOutlet NSMenuItem *beginCaptureSound;
17: IBOutlet NSMenuItem *endCaptureSound;
18: }
1.1.1.2 root 19: - (IBAction)openConfig:(id)sender;
20: - (IBAction)saveConfig:(id)sender;
1.1 root 21: - (IBAction)prefsMenu:(id)sender;
1.1.1.4 ! root 22:
! 23: - (IBAction)openPreferences:(id)sender;
! 24:
1.1 root 25: - (IBAction)warmReset:(id)sender;
26: - (IBAction)coldReset:(id)sender;
27: - (IBAction)insertDiskA:(id)sender;
28: - (IBAction)insertDiskB:(id)sender;
1.1.1.4 ! root 29: //- (IBAction)help:(id)sender;
1.1 root 30: - (IBAction)captureScreen:(id)sender;
31: - (IBAction)captureAnimation:(id)sender;
32: - (IBAction)endCaptureAnimation:(id)sender;
1.1.1.2 root 33: //- (IBAction)captureAnimation_AVI:(id)sender;
34: //- (IBAction)endCaptureAnimation_AVI:(id)sender;
1.1 root 35: - (IBAction)captureSound:(id)sender;
36: - (IBAction)endCaptureSound:(id)sender;
37: - (IBAction)saveMemorySnap:(id)sender;
38: - (IBAction)restoreMemorySnap:(id)sender;
39: - (IBAction)doFullScreen:(id)sender;
1.1.1.2 root 40: - (IBAction)debugUI:(id)sender;
1.1 root 41: - (BOOL)validateMenuItem:(NSMenuItem*)item;
42:
43: @end
1.1.1.2 root 44:
45: #endif /* _SDLMain_h_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.