From: Joe Wreschnig Date: Tue, 12 Mar 2013 21:16:35 +0000 (+0100) Subject: Create new mappings from the menu. X-Git-Tag: version-1.1~42 X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=commitdiff_plain;h=5a0c575facf7002f69d1d87f8d4362cbb0895301 Create new mappings from the menu. --- diff --git a/Classes/NJMappingsController.m b/Classes/NJMappingsController.m index 500e901..772b14a 100644 --- a/Classes/NJMappingsController.m +++ b/Classes/NJMappingsController.m @@ -116,6 +116,7 @@ } - (IBAction)addPressed:(id)sender { + [self mappingPressed:sender]; NJMapping *newMapping = [[NJMapping alloc] init]; [_mappings addObject:newMapping]; [self activateMapping:newMapping]; diff --git a/Info.plist b/Info.plist index 9017347..49083b1 100644 --- a/Info.plist +++ b/Info.plist @@ -46,7 +46,7 @@ CFBundleSignature ???? CFBundleVersion - 210 + 213 LSApplicationCategoryType public.app-category.utilities NSHumanReadableCopyright diff --git a/Resources/English.lproj/MainMenu.xib b/Resources/English.lproj/MainMenu.xib index bd469bb..47b41c1 100644 --- a/Resources/English.lproj/MainMenu.xib +++ b/Resources/English.lproj/MainMenu.xib @@ -222,6 +222,15 @@ + + + New… + n + 1048576 + 2147483647 + + + Import… @@ -492,6 +501,7 @@ 274 {{20, 20}, {194, 283}} + _NS:22 YES @@ -530,7 +540,8 @@ aW5nLg {232, 321} - + + YES NO YES @@ -625,6 +636,7 @@ aW5nLg {{1, 1}, {232, 321}} + @@ -635,6 +647,7 @@ aW5nLg -2147483392 {{1, 1}, {8, 298}} + NO @@ -646,6 +659,7 @@ aW5nLg -2147483392 {{-100, -100}, {473, 15}} + NO 1 @@ -656,7 +670,8 @@ aW5nLg {234, 323} - + + 150034 @@ -669,6 +684,7 @@ aW5nLg {234, 323} + _NS:9 NSView @@ -682,6 +698,7 @@ aW5nLg 265 {{189, 117}, {224, 20}} + _NS:9 YES @@ -723,6 +740,8 @@ aW5nLg 268 {{343, 31}, {70, 18}} + + _NS:9 YES @@ -753,6 +772,7 @@ aW5nLg 265 {{189, 33}, {150, 20}} + _NS:9 YES @@ -797,6 +817,7 @@ aW5nLg 265 {{191, 24}, {146, 16}} + _NS:9 YES @@ -822,6 +843,7 @@ aW5nLg 265 {{189, 70}, {224, 24}} + _NS:9 YES @@ -875,6 +897,7 @@ aW5nLg 265 {{191, 108}, {220, 16}} + _NS:9 YES @@ -900,6 +923,7 @@ aW5nLg 265 {{191, 196}, {220, 23}} + _NS:9 NJKeyInputField @@ -909,6 +933,7 @@ aW5nLg 265 {{188, 153}, {226, 26}} + YES @@ -941,6 +966,7 @@ aW5nLg 268 {{24, 20}, {163, 250}} + NO 6 @@ -1071,6 +1097,7 @@ aW5nLg 266 {{9, 286}, {412, 17}} + YES @@ -1094,6 +1121,7 @@ aW5nLg 10 {{12, 276}, {406, 5}} + {0, 0} @@ -1120,6 +1148,7 @@ aW5nLg {{233, 0}, {431, 323}} + _NS:9 NSView @@ -1127,6 +1156,7 @@ aW5nLg {664, 323} + {{0, 0}, {1440, 878}} @@ -1790,6 +1820,14 @@ aW5nLg 902 + + + addPressed: + + + + 971 + dataSource @@ -2175,6 +2213,7 @@ aW5nLg + @@ -2912,6 +2951,11 @@ aW5nLg + + 970 + + + @@ -3107,7 +3151,7 @@ aW5nLg com.apple.InterfaceBuilder.userDefinedRuntimeAttributeType.number firstMappingIndex - + com.apple.InterfaceBuilder.userDefinedRuntimeAttributeType.boolean @@ -3160,12 +3204,13 @@ aW5nLg com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin + com.apple.InterfaceBuilder.CocoaPlugin - 969 + 971 @@ -3262,7 +3307,7 @@ aW5nLg NJKeyInputField - NSTextField + NSControl delegate id