Go to the documentation of this file.00001
00002 #import <Cocoa/Cocoa.h>
00003 #import "OSX_Platform.h"
00004 #import "OSX_Gamepad.h"
00005
00006 #import <CoreGraphics/CoreGraphics.h>
00007 #import <CoreGraphics/CGDirectDisplay.h>
00008
00009 @interface OVRApp : NSApplication
00010
00011 @property (assign) IBOutlet NSWindow* win;
00012 @property (assign) OVR::Platform::OSX::PlatformCore* Platform;
00013 @property (assign) OVR::Platform::Application* App;
00014
00015 -(void) run;
00016
00017 @end
00018
00019 @interface OVRView : NSOpenGLView <NSWindowDelegate>
00020
00021 @property (assign) OVR::Platform::OSX::PlatformCore* Platform;
00022 @property (assign) OVR::Platform::Application* App;
00023 @property unsigned long Modifiers;
00024
00025 -(void)ProcessMouse:(NSEvent*)event;
00026 -(void)warpMouseToCenter;
00027
00028 +(CGDirectDisplayID) displayFromScreen:(NSScreen*)s;
00029
00030 @end
00031