mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 09:35:21 +00:00
(OSX) Change interface to RetroArch_OSX
This commit is contained in:
parent
e085747e02
commit
09dca0c0f0
@ -657,7 +657,7 @@
|
||||
<int key="NSWindowBacking">2</int>
|
||||
<string key="NSWindowRect">{{335, 390}, {480, 360}}</string>
|
||||
<int key="NSWTFlags">1954021376</int>
|
||||
<string key="NSWindowTitle">RetroArch</string>
|
||||
<string key="NSWindowTitle">RetroArch_OSX</string>
|
||||
<string key="NSWindowClass">NSWindow</string>
|
||||
<nil key="NSViewClass"/>
|
||||
<nil key="NSUserInterfaceItemIdentifier"/>
|
||||
@ -673,7 +673,7 @@
|
||||
<bool key="NSWindowIsRestorable">YES</bool>
|
||||
</object>
|
||||
<object class="NSCustomObject" id="976324537">
|
||||
<string key="NSClassName">RetroArch</string>
|
||||
<string key="NSClassName">RetroArch_OSX</string>
|
||||
</object>
|
||||
</object>
|
||||
<object class="IBObjectContainer" key="IBDocument.Objects">
|
||||
@ -1714,7 +1714,7 @@
|
||||
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
<object class="IBPartialClassDescription">
|
||||
<string key="className">RetroArch</string>
|
||||
<string key="className">RetroArch_OSX</string>
|
||||
<string key="superclassName">NSObject</string>
|
||||
<object class="NSMutableDictionary" key="actions">
|
||||
<bool key="EncodedWithXMLCoder">YES</bool>
|
||||
|
@ -95,7 +95,7 @@ void get_ios_version(int *major, int *minor);
|
||||
|
||||
@end
|
||||
|
||||
@interface RetroArch : NSObject
|
||||
@interface RetroArch_OSX : NSObject
|
||||
{
|
||||
NSWindow* _window;
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ void apple_rarch_exited(void)
|
||||
static int waiting_argc;
|
||||
static char** waiting_argv;
|
||||
|
||||
@implementation RetroArch
|
||||
@implementation RetroArch_OSX
|
||||
|
||||
@synthesize window = _window;
|
||||
|
||||
@ -439,7 +439,7 @@ void apple_display_alert(const char *message, const char *title)
|
||||
[alert setMessageText:(*title) ? BOXSTRING(title) : BOXSTRING("RetroArch")];
|
||||
[alert setInformativeText:BOXSTRING(message)];
|
||||
[alert setAlertStyle:NSInformationalAlertStyle];
|
||||
[alert beginSheetModalForWindow:((RetroArch*)[[NSApplication sharedApplication] delegate]).window
|
||||
[alert beginSheetModalForWindow:((RetroArch_OSX*)[[NSApplication sharedApplication] delegate]).window
|
||||
modalDelegate:apple_platform
|
||||
didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
|
||||
contextInfo:nil];
|
||||
|
Loading…
x
Reference in New Issue
Block a user