mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-07 15:13:35 +00:00
minor cleanup work
This commit is contained in:
parent
de7f062944
commit
c357c9d91f
@ -5,6 +5,7 @@
|
|||||||
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
||||||
{
|
{
|
||||||
boo::IApplicationCallback* callback;
|
boo::IApplicationCallback* callback;
|
||||||
|
@public
|
||||||
NSPanel* aboutPanel;
|
NSPanel* aboutPanel;
|
||||||
}
|
}
|
||||||
- (id)initWithCallback:(boo::IApplicationCallback*)cb;
|
- (id)initWithCallback:(boo::IApplicationCallback*)cb;
|
||||||
@ -134,6 +135,7 @@ public:
|
|||||||
[aboutText setAlignment:NSCenterTextAlignment];
|
[aboutText setAlignment:NSCenterTextAlignment];
|
||||||
[aboutText setString:@"\nRWK Authors\n\nJackoalan\nAntidote\n"];
|
[aboutText setString:@"\nRWK Authors\n\nJackoalan\nAntidote\n"];
|
||||||
[aboutPanel setContentView:aboutText];
|
[aboutPanel setContentView:aboutText];
|
||||||
|
appDelegate->aboutPanel = aboutPanel;
|
||||||
|
|
||||||
[app run];
|
[app run];
|
||||||
}
|
}
|
||||||
|
@ -1,15 +1,5 @@
|
|||||||
|
|
||||||
#if __APPLE__
|
|
||||||
#include <CoreFoundation/CoreFoundation.h>
|
|
||||||
#else
|
|
||||||
#endif
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <boo.hpp>
|
#include <boo.hpp>
|
||||||
#if _WIN32
|
|
||||||
|
|
||||||
#else
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boo
|
namespace boo
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user