/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

  1. #ifndef _OSXWINDOW_INC
  2. #define _OSXWINDOW_INC
  3. #include <Cocoa/Cocoa.h>
  4. #include <Foundation/Foundation.h>
  5. struct _OSXWindowPlatformVars
  6. {
  7. void* windowClassRef;
  8. NSWindow* windowRef;
  9. NSEvent* curEvent;
  10. unsigned int curEventType; // 0 - mouseMoved, 1 - mouseDragged
  11. struct _OSXViewPlatformVars* viewVars;
  12. };
  13. #endif // _OSXWINDOW_INC