PageRenderTime 25ms CodeModel.GetById 21ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 4#include <Cocoa/Cocoa.h>
 5#include <Foundation/Foundation.h>
 6
 7struct _OSXWindowPlatformVars
 8{
 9	void* windowClassRef;
10	NSWindow* windowRef;
11	NSEvent* curEvent;
12	unsigned int curEventType; // 0 - mouseMoved, 1 - mouseDragged
13
14	struct _OSXViewPlatformVars* viewVars;
15};
16
17#endif // _OSXWINDOW_INC