SDLSurface.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. using System;
  2. using Android.Content;
  3. using Android.Graphics;
  4. using Android.Hardware;
  5. using Android.Runtime;
  6. using Android.Util;
  7. using Android.Views;
  8. namespace Urho.Android
  9. {
  10. public class SDLSurface : SurfaceView, ISurfaceHolderCallback, View.IOnKeyListener, View.IOnTouchListener, ISensorEventListener
  11. {
  12. protected SDLSurface(IntPtr javaReference, JniHandleOwnership transfer) : base(javaReference, transfer)
  13. {
  14. }
  15. public SDLSurface(Context context) : base(context)
  16. {
  17. }
  18. public SDLSurface(Context context, IAttributeSet attrs) : base(context, attrs)
  19. {
  20. }
  21. public SDLSurface(Context context, IAttributeSet attrs, int defStyleAttr) : base(context, attrs, defStyleAttr)
  22. {
  23. }
  24. public SDLSurface(Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes) : base(context, attrs, defStyleAttr, defStyleRes)
  25. {
  26. }
  27. public void SurfaceChanged(ISurfaceHolder holder, Format format, int width, int height)
  28. {
  29. throw new NotImplementedException();
  30. }
  31. public void SurfaceCreated(ISurfaceHolder holder)
  32. {
  33. throw new NotImplementedException();
  34. }
  35. public void SurfaceDestroyed(ISurfaceHolder holder)
  36. {
  37. throw new NotImplementedException();
  38. }
  39. public bool OnKey(View v, Keycode keyCode, KeyEvent e)
  40. {
  41. throw new NotImplementedException();
  42. }
  43. public bool OnTouch(View v, MotionEvent e)
  44. {
  45. throw new NotImplementedException();
  46. }
  47. public void OnAccuracyChanged(Sensor sensor, SensorStatus accuracy)
  48. {
  49. throw new NotImplementedException();
  50. }
  51. public void OnSensorChanged(SensorEvent e)
  52. {
  53. throw new NotImplementedException();
  54. }
  55. }
  56. }