Skip to content
Snippets Groups Projects
Commit 553f4d0c authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Brandize xib file

parent 1cd1f01b
No related branches found
No related tags found
No related merge requests found
...@@ -391,7 +391,7 @@ void allowDirectMarkedTextInput(bool allow, GLViewRef glView) ...@@ -391,7 +391,7 @@ void allowDirectMarkedTextInput(bool allow, GLViewRef glView)
NSWindowRef getMainAppWindow() NSWindowRef getMainAppWindow()
{ {
LLNSWindow *winRef = [(LLAppDelegate*)[[NSApplication sharedApplication] delegate] window]; LLNSWindow *winRef = [(LLAppDelegate*)[[LLApplication sharedApplication] delegate] window];
[winRef setAcceptsMouseMovedEvents:TRUE]; [winRef setAcceptsMouseMovedEvents:TRUE];
return winRef; return winRef;
...@@ -404,7 +404,7 @@ void makeFirstResponder(NSWindowRef window, GLViewRef view) ...@@ -404,7 +404,7 @@ void makeFirstResponder(NSWindowRef window, GLViewRef view)
void requestUserAttention() void requestUserAttention()
{ {
[[NSApplication sharedApplication] requestUserAttention:NSInformationalRequest]; [[LLApplication sharedApplication] requestUserAttention:NSInformationalRequest];
} }
long showAlert(std::string text, std::string title, int type) long showAlert(std::string text, std::string title, int type)
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies> </dependencies>
<objects> <objects>
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication"> <customObject id="-2" userLabel="File's Owner" customClass="LLApplication">
<connections> <connections>
<outlet property="delegate" destination="824" id="845"/> <outlet property="delegate" destination="824" id="845"/>
</connections> </connections>
</customObject> </customObject>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application"/> <customObject id="-3" userLabel="Application" customClass="LLApplication"/>
<menu title="Main Menu" systemMenu="main" id="29" userLabel="Main Menu"> <menu title="Main Menu" systemMenu="main" id="29" userLabel="Main Menu">
<items> <items>
<menuItem title="Alchemy" id="56"> <menuItem title="Alchemy" id="56">
......
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
// Once pumpMainLoop() reports that we're done, cancel frameTimer: // Once pumpMainLoop() reports that we're done, cancel frameTimer:
// stop the repetitive calls. // stop the repetitive calls.
[frameTimer release]; [frameTimer release];
[[NSApplication sharedApplication] terminate:self]; [[LLApplication sharedApplication] terminate:self];
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment