minor cleanup work

This commit is contained in:
Jack Andersen 2015-05-05 15:03:49 -10:00
parent de7f062944
commit c357c9d91f
2 changed files with 2 additions and 10 deletions

View File

@ -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];
} }

View File

@ -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
{ {