diff --git a/BasiliskII/src/MacOSX/Emulator.h b/BasiliskII/src/MacOSX/Emulator.h index f89d65e6..b8b7e363 100644 --- a/BasiliskII/src/MacOSX/Emulator.h +++ b/BasiliskII/src/MacOSX/Emulator.h @@ -61,6 +61,7 @@ - (IBAction) Suspend: (id)sender; - (IBAction) PowerKey: (id)sender; - (IBAction) Restart: (id)sender; +- (IBAction) ScreenHideShow:(NSButton *)sender; - (IBAction) Snapshot: (id)sender; - (IBAction) SpeedChange: (NSSlider *)sender; - (IBAction) Resume: (id)sender; diff --git a/BasiliskII/src/MacOSX/Emulator.mm b/BasiliskII/src/MacOSX/Emulator.mm index aab9a3bb..12467c22 100644 --- a/BasiliskII/src/MacOSX/Emulator.mm +++ b/BasiliskII/src/MacOSX/Emulator.mm @@ -204,6 +204,13 @@ [xPRAM resume]; } +- (IBAction) ScreenHideShow: (NSButton *)sender; +{ + WarningSheet(@"Nigel doesn't know how to shrink or grow this window", + @"Maybe you can grab the source code and have a go yourself?", + nil, win); +} + - (IBAction) Snapshot: (id) sender { if ( screen == nil || uaeCreated == NO ) @@ -427,4 +434,4 @@ uint8 lastXPRAM[XPRAM_SIZE]; // Copy of PRAM } } -@end \ No newline at end of file +@end