Example #1
0
 public override bool DispatchKeyEvent(KeyEvent e)
 {
     if (!AndroidSDLSurface.DispatchKeyEvent(e))
     {
         return(false);
     }
     return(base.DispatchKeyEvent(e));
 }
Example #2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var mLayout = new AbsoluteLayout(this);
            var surface = AndroidSDLSurface.CreateSurface(this, false, typeof(AtomicMain));

            mLayout.AddView(surface);
            SetContentView(mLayout);
        }
Example #3
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var mLayout = new AbsoluteLayout(this);
            var surface = AndroidSDLSurface.CreateSurface(this, false, typeof($$APPLICATION_APPDELEGATECLASS$$));

            mLayout.AddView(surface);
            SetContentView(mLayout);
        }
Example #4
0
 public override void OnWindowFocusChanged(bool hasFocus)
 {
     AndroidSDLSurface.OnWindowFocusChanged(hasFocus);
     base.OnWindowFocusChanged(hasFocus);
 }
Example #5
0
 protected override void OnDestroy()
 {
     AndroidSDLSurface.OnDestroy();
     base.OnDestroy();
 }
Example #6
0
 public override void OnLowMemory()
 {
     AndroidSDLSurface.OnLowMemory();
     base.OnLowMemory();
 }
Example #7
0
 protected override void OnPause()
 {
     AndroidSDLSurface.OnPause();
     base.OnPause();
 }
Example #8
0
 protected override void OnResume()
 {
     AndroidSDLSurface.OnResume();
     base.OnResume();
 }