if (!initialized)
{
#if ANDROID || IPHONE
- runningOnMono = true;
+ RunningOnMono = true;
#else
RunningOnMono = DetectMono();
RunningOnWindows = DetectWindows();
<Compile Include="Input\ButtonState.cs" />
<Compile Include="Input\Buttons.cs" />
<Compile Include="Input\ConfigurationType.cs" />
+ <Compile Include="Input\FileDropEventArgs.cs" />
<Compile Include="Input\GamePad.cs" />
<Compile Include="Input\GamePadAxes.cs" />
<Compile Include="Input\GamePadButtons.cs" />
<Compile Include="Input\HatPosition.cs" />
<Compile Include="Input\IGamePadDriver.cs" />
<Compile Include="Input\IInputDevice.cs" />
- <Compile Include="Input\IInputDriver.cs" />
<Compile Include="Input\IInputDriver2.cs" />
- <Compile Include="Input\IJoystickDriver.cs" />
<Compile Include="Input\IJoystickDriver2.cs" />
- <Compile Include="Input\IKeyboardDriver.cs" />
<Compile Include="Input\IKeyboardDriver2.cs" />
- <Compile Include="Input\IMouseDriver.cs" />
<Compile Include="Input\IMouseDriver2.cs" />
<Compile Include="Input\Joystick.cs" />
- <Compile Include="Input\JoystickAxis.cs" />
<Compile Include="Input\JoystickCapabilities.cs" />
<Compile Include="Input\JoystickDevice.cs" />
<Compile Include="Input\JoystickHat.cs" />
<Compile Include="Math\BezierCurveCubic.cs" />
<Compile Include="Math\BezierCurveQuadric.cs" />
<Compile Include="Math\Box2.cs" />
- <Compile Include="Math\Functions.cs" />
<Compile Include="Math\Half.cs" />
<Compile Include="Math\MathHelper.cs" />
<Compile Include="Math\Matrix2.cs" />
<Compile Include="Platform\EmbeddedGraphicsContext.cs" />
<Compile Include="Platform\Factory.cs" />
<Compile Include="Platform\IDisplayDeviceDriver.cs" />
- <Compile Include="Platform\INativeGLWindow.cs" />
<Compile Include="Platform\IPlatformFactory.cs" />
<Compile Include="Platform\IWindowInfo.cs" />
- <Compile Include="Platform\LegacyInputDriver.cs" />
- <Compile Include="Platform\LegacyJoystickDriver.cs" />
<Compile Include="Platform\MappedGamePadDriver.cs" />
<Compile Include="Platform\NativeWindowBase.cs" />
<Compile Include="Platform\PlatformException.cs" />
<Compile Include="Input\ButtonState.cs" />
<Compile Include="Input\Buttons.cs" />
<Compile Include="Input\ConfigurationType.cs" />
+ <Compile Include="Input\FileDropEventArgs.cs" />
<Compile Include="Input\GamePad.cs" />
<Compile Include="Input\GamePadAxes.cs" />
<Compile Include="Input\GamePadButtons.cs" />
<Compile Include="Input\HatPosition.cs" />
<Compile Include="Input\IGamePadDriver.cs" />
<Compile Include="Input\IInputDevice.cs" />
- <Compile Include="Input\IInputDriver.cs" />
<Compile Include="Input\IInputDriver2.cs" />
- <Compile Include="Input\IJoystickDriver.cs" />
<Compile Include="Input\IJoystickDriver2.cs" />
- <Compile Include="Input\IKeyboardDriver.cs" />
<Compile Include="Input\IKeyboardDriver2.cs" />
- <Compile Include="Input\IMouseDriver.cs" />
<Compile Include="Input\IMouseDriver2.cs" />
<Compile Include="Input\Joystick.cs" />
- <Compile Include="Input\JoystickAxis.cs" />
<Compile Include="Input\JoystickCapabilities.cs" />
<Compile Include="Input\JoystickDevice.cs" />
<Compile Include="Input\JoystickHat.cs" />
<Compile Include="Math\BezierCurveCubic.cs" />
<Compile Include="Math\BezierCurveQuadric.cs" />
<Compile Include="Math\Box2.cs" />
- <Compile Include="Math\Functions.cs" />
<Compile Include="Math\Half.cs" />
<Compile Include="Math\MathHelper.cs" />
<Compile Include="Math\Matrix2.cs" />
<Compile Include="Platform\EmbeddedGraphicsContext.cs" />
<Compile Include="Platform\Factory.cs" />
<Compile Include="Platform\IDisplayDeviceDriver.cs" />
- <Compile Include="Platform\INativeGLWindow.cs" />
<Compile Include="Platform\IPlatformFactory.cs" />
<Compile Include="Platform\IWindowInfo.cs" />
- <Compile Include="Platform\LegacyInputDriver.cs" />
- <Compile Include="Platform\LegacyJoystickDriver.cs" />
<Compile Include="Platform\MappedGamePadDriver.cs" />
<Compile Include="Platform\NativeWindowBase.cs" />
<Compile Include="Platform\PlatformException.cs" />
}
}
- public OpenTK.Input.IInputDriver InputDriver {
- get {
- throw new NotSupportedException ();
- }
- }
-
MouseCursor INativeWindow.Cursor
{
get { throw new NotSupportedException(); }
remove { throw new NotSupportedException(); }
}
+ event EventHandler<FileDropEventArgs> INativeWindow.FileDrop
+ {
+ add { throw new NotSupportedException(); }
+ remove { throw new NotSupportedException(); }
+ }
+
#endregion
}
}
public event EventHandler<FrameEventArgs> UpdateFrame;
public event EventHandler<FrameEventArgs> RenderFrame;
- public OpenTK.Input.IInputDriver InputDriver
- {
- get
- {
- throw new NotSupportedException();
- }
- }
-
MouseCursor INativeWindow.Cursor
{
get { throw new NotSupportedException(); }
remove { throw new NotSupportedException(); }
}
+ public event EventHandler<FileDropEventArgs> FileDrop
+ {
+ add { throw new NotSupportedException(); }
+ remove { throw new NotSupportedException(); }
+ }
+
}
}