diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-16 09:13:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-16 09:13:11 -0400 |
| commit | a9717bfb4fd6627d51dfc07c35f393f0a93368ff (patch) | |
| tree | e9b2eaa2c979f45a829187343676fc5efae02eff /delegateuitask_darwin.m | |
| parent | acc4a543566550ed563887a5827735596a5d816c (diff) | |
Organized the dummyRect declarations/definitions/etc. in the Objective-C files. I think that's it for the Objective-C conversion of the Mac OS X code!
Diffstat (limited to 'delegateuitask_darwin.m')
| -rw-r--r-- | delegateuitask_darwin.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/delegateuitask_darwin.m b/delegateuitask_darwin.m index 9aeabaf..52074d6 100644 --- a/delegateuitask_darwin.m +++ b/delegateuitask_darwin.m @@ -10,6 +10,8 @@ #include <Foundation/NSAutoreleasePool.h> #include <AppKit/NSEvent.h> +extern NSRect dummyRect; + @interface appDelegate : NSObject @end @@ -56,6 +58,7 @@ id windowGetContentView(id window) BOOL initCocoa(id appDelegate) { + dummyRect = NSMakeRect(0, 0, 100, 100); [NSApplication sharedApplication]; if ([NSApp setActivationPolicy:NSApplicationActivationPolicyRegular] != YES) return NO; |
