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>
{
boo::IApplicationCallback* callback;
@public
NSPanel* aboutPanel;
}
- (id)initWithCallback:(boo::IApplicationCallback*)cb;
@ -134,6 +135,7 @@ public:
[aboutText setAlignment:NSCenterTextAlignment];
[aboutText setString:@"\nRWK Authors\n\nJackoalan\nAntidote\n"];
[aboutPanel setContentView:aboutText];
appDelegate->aboutPanel = aboutPanel;
[app run];
}

View File

@ -1,15 +1,5 @@
#if __APPLE__
#include <CoreFoundation/CoreFoundation.h>
#else
#endif
#include <stdio.h>
#include <boo.hpp>
#if _WIN32
#else
#include <unistd.h>
#endif
namespace boo
{