|
|
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: ! 8: #import <Cocoa/Cocoa.h> ! 9: ! 10: @interface SDLMain : NSObject ! 11: { ! 12: IBOutlet NSMenuItem *beginCaptureAnim; ! 13: IBOutlet NSMenuItem *endCaptureAnim; ! 14: IBOutlet NSMenuItem *beginCaptureSound; ! 15: IBOutlet NSMenuItem *endCaptureSound; ! 16: } ! 17: - (IBAction)prefsMenu:(id)sender; ! 18: - (IBAction)warmReset:(id)sender; ! 19: - (IBAction)coldReset:(id)sender; ! 20: - (IBAction)insertDiskA:(id)sender; ! 21: - (IBAction)insertDiskB:(id)sender; ! 22: - (IBAction)help:(id)sender; ! 23: - (IBAction)captureScreen:(id)sender; ! 24: - (IBAction)captureAnimation:(id)sender; ! 25: - (IBAction)endCaptureAnimation:(id)sender; ! 26: - (IBAction)captureSound:(id)sender; ! 27: - (IBAction)endCaptureSound:(id)sender; ! 28: - (IBAction)saveMemorySnap:(id)sender; ! 29: - (IBAction)restoreMemorySnap:(id)sender; ! 30: - (IBAction)doFullScreen:(id)sender; ! 31: - (BOOL)validateMenuItem:(NSMenuItem*)item; ! 32: ! 33: ! 34: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.