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