diff --git a/apple/OSX/en.lproj/MainMenu.xib b/apple/OSX/en.lproj/MainMenu.xib index 3a77f31350..dc83299cc7 100644 --- a/apple/OSX/en.lproj/MainMenu.xib +++ b/apple/OSX/en.lproj/MainMenu.xib @@ -1,7 +1,7 @@ - 1090 + 1060 13A603 4514 1265 @@ -355,15 +355,6 @@ - - - Toggle Full Screen Mode - f - 1048576 - 2147483647 - - - YES @@ -426,9 +417,12 @@ - + 256 {480, 360} + + + {{0, 0}, {2560, 1418}} {10000000000000, 10000000000000} @@ -608,6 +602,7 @@ {{180, 13}, {82, 32}} + _NS:9 YES @@ -744,22 +739,6 @@ 493 - - - toggleFullScreen: - - - - 583 - - - - window - - - - 532 - basicEvent: @@ -792,14 +771,6 @@ 556 - - - _coreSelectSheet - - - - 569 - coreWasChosen: @@ -824,6 +795,22 @@ 588 + + + coreSelectSheet + + + + 590 + + + + window + + + + 591 + @@ -1024,7 +1011,6 @@ - @@ -1183,11 +1169,6 @@ - - 582 - - - 585 @@ -1261,7 +1242,6 @@ com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin @@ -1276,7 +1256,7 @@ - 588 + 591 @@ -1317,6 +1297,10 @@ 0 IBCocoaFramework YES + + com.apple.InterfaceBuilder.CocoaPlugin.macosx + + com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 diff --git a/apple/OSX/en.lproj/Settings.xib b/apple/OSX/en.lproj/Settings.xib index 8e2612ca7f..7b99b93f06 100644 --- a/apple/OSX/en.lproj/Settings.xib +++ b/apple/OSX/en.lproj/Settings.xib @@ -240,7 +240,7 @@ {559, 539} - + _NS:13 YES NO @@ -366,7 +366,6 @@ {{1, 541}, {486, 15}} - _NS:60 NO 1 @@ -392,7 +391,7 @@ {{178, 20}, {561, 557}} - + _NS:9 133682 @@ -483,7 +482,6 @@ {{384, 13}, {82, 32}} - _NS:9 YES @@ -557,30 +555,6 @@ 113 - - - _window - - - - 100 - - - - _table - - - - 104 - - - - _outline - - - - 180 - booleanCell @@ -613,6 +587,22 @@ 603 + + + outline + + + + 604 + + + + table + + + + 605 + dataSource @@ -882,7 +872,7 @@ - 603 + 605 @@ -920,26 +910,13 @@ - NSWindow - NSOutlineView - NSTableView NSTextFieldCell RAInputBinder NSButtonCell + NSOutlineView + NSTableView - - _inputWindow - NSWindow - - - _outline - NSOutlineView - - - _table - NSTableView - binderCell NSTextFieldCell @@ -952,6 +929,14 @@ booleanCell NSButtonCell + + outline + NSOutlineView + + + table + NSTableView + IBProjectSource diff --git a/apple/OSX/platform.m b/apple/OSX/platform.m index 2df53e0f0f..51f7f1fcad 100644 --- a/apple/OSX/platform.m +++ b/apple/OSX/platform.m @@ -81,6 +81,15 @@ static void* const associated_core_key = (void*)&associated_core_key; @implementation RetroArch_OSX { + NSWindow* _window; + NSString* _configDirectory; + NSString* _globalConfigFile; + NSString* _coreDirectory; + NSWindowController* _settingsWindow; + NSWindow* _coreSelectSheet; + NSString* _file; + NSString* _core; + bool _isTerminating; bool _loaded; bool _wantReload; diff --git a/apple/OSX/settings.m b/apple/OSX/settings.m index ae3e5f1bf9..0b7b88196b 100644 --- a/apple/OSX/settings.m +++ b/apple/OSX/settings.m @@ -29,6 +29,11 @@ static void* const associated_name_tag = (void*)&associated_name_tag; @end @implementation RAInputBinder +{ + NSTimer* _timer; + const rarch_setting_t* _setting; +} + @synthesize timer = _timer; @synthesize setting = _setting; @@ -95,6 +100,16 @@ static void* const associated_name_tag = (void*)&associated_name_tag; @end @implementation RASettingsDelegate +{ + RAInputBinder* _binderWindow; + NSButtonCell* _booleanCell; + NSTextFieldCell* _binderCell; + NSTableView* _table; + NSOutlineView* _outline; + NSMutableArray* _settings; + NSMutableArray* _currentGroup; +} + @synthesize binderWindow = _binderWindow; @synthesize booleanCell = _booleanCell; @synthesize binderCell = _binderCell; diff --git a/apple/common/RAGameView.m b/apple/common/RAGameView.m index 9433d166ee..10fcc34cda 100644 --- a/apple/common/RAGameView.m +++ b/apple/common/RAGameView.m @@ -331,7 +331,6 @@ static RAScreen* get_chosen_screen() RAScreen *s = (RAScreen*)[screens objectAtIndex:g_settings.video.monitor_index]; #ifdef OSX [pool drain]; - [pool release]; #endif return s; #ifdef IOS