/platform/osx/objc/OSXWindow.h
http://github.com/wilkie/djehuty · C Header · 17 lines · 13 code · 4 blank · 0 comment · 0 complexity · 85d03a30df4a64a15e01063ce448719f MD5 · raw file
- #ifndef _OSXWINDOW_INC
- #define _OSXWINDOW_INC
- #include <Cocoa/Cocoa.h>
- #include <Foundation/Foundation.h>
- struct _OSXWindowPlatformVars
- {
- void* windowClassRef;
- NSWindow* windowRef;
- NSEvent* curEvent;
- unsigned int curEventType; // 0 - mouseMoved, 1 - mouseDragged
- struct _OSXViewPlatformVars* viewVars;
- };
- #endif // _OSXWINDOW_INC