mirror of https://github.com/stella-emu/stella.git
Added Save Properties and Merge Properties to Menu Items in Mac version
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@462 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
3408b439fd
commit
39fe5c8c04
|
@ -4,7 +4,7 @@
|
||||||
Mark Grebe <atarimac@cox.net>
|
Mark Grebe <atarimac@cox.net>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
/* $Id: Menus.h,v 1.5 2005-06-03 05:04:56 markgrebe Exp $ */
|
/* $Id: Menus.h,v 1.6 2005-06-03 06:00:22 markgrebe Exp $ */
|
||||||
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
|
|
||||||
|
@ -35,5 +35,7 @@
|
||||||
- (IBAction)doPrefs:(id)sender;
|
- (IBAction)doPrefs:(id)sender;
|
||||||
- (IBAction)volumePlus:(id)sender;
|
- (IBAction)volumePlus:(id)sender;
|
||||||
- (IBAction)volumeMinus:(id)sender;
|
- (IBAction)volumeMinus:(id)sender;
|
||||||
|
- (IBAction)saveProps:(id)sender;
|
||||||
|
- (IBAction)mergeProps:(id)sender;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Mark Grebe <atarimac@cox.net>
|
Mark Grebe <atarimac@cox.net>
|
||||||
|
|
||||||
*/
|
*/
|
||||||
/* $Id: Menus.m,v 1.8 2005-06-03 05:30:21 markgrebe Exp $ */
|
/* $Id: Menus.m,v 1.9 2005-06-03 06:00:22 markgrebe Exp $ */
|
||||||
|
|
||||||
#import <Cocoa/Cocoa.h>
|
#import <Cocoa/Cocoa.h>
|
||||||
#import "SDL.h"
|
#import "SDL.h"
|
||||||
|
@ -225,4 +225,14 @@ static Menus *sharedInstance = nil;
|
||||||
[self pushKeyEvent:SDLK_LEFTBRACKET:YES:YES];
|
[self pushKeyEvent:SDLK_LEFTBRACKET:YES:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (IBAction)saveProps:(id)sender
|
||||||
|
{
|
||||||
|
[self pushKeyEvent:SDLK_s:NO:YES];
|
||||||
|
}
|
||||||
|
|
||||||
|
- (IBAction)mergeProps:(id)sender
|
||||||
|
{
|
||||||
|
[self pushKeyEvent:SDLK_s:YES:YES];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -16,11 +16,13 @@
|
||||||
grabMouse = id;
|
grabMouse = id;
|
||||||
heightMinus = id;
|
heightMinus = id;
|
||||||
heightPlus = id;
|
heightPlus = id;
|
||||||
|
mergeProps = id;
|
||||||
ntscPalMode = id;
|
ntscPalMode = id;
|
||||||
openCart = id;
|
openCart = id;
|
||||||
paddleChange = id;
|
paddleChange = id;
|
||||||
pauseGame = id;
|
pauseGame = id;
|
||||||
restartGame = id;
|
restartGame = id;
|
||||||
|
saveProps = id;
|
||||||
smallerScreen = id;
|
smallerScreen = id;
|
||||||
speedLimit = id;
|
speedLimit = id;
|
||||||
toggleGlFilter = id;
|
toggleGlFilter = id;
|
||||||
|
@ -36,7 +38,6 @@
|
||||||
};
|
};
|
||||||
CLASS = Menus;
|
CLASS = Menus;
|
||||||
LANGUAGE = ObjC;
|
LANGUAGE = ObjC;
|
||||||
OUTLETS = {};
|
|
||||||
SUPERCLASS = NSObject;
|
SUPERCLASS = NSObject;
|
||||||
},
|
},
|
||||||
{CLASS = Preferences; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
{CLASS = Preferences; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<key>IBEditorPositions</key>
|
<key>IBEditorPositions</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>29</key>
|
<key>29</key>
|
||||||
<string>116 460 389 44 0 0 1280 1002 </string>
|
<string>116 460 447 44 0 0 1280 1002 </string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>IBFramework Version</key>
|
<key>IBFramework Version</key>
|
||||||
<string>437.0</string>
|
<string>437.0</string>
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue