public override bool DispatchKeyEvent(KeyEvent e) { if (!AndroidSDLSurface.DispatchKeyEvent(e)) { return(false); } return(base.DispatchKeyEvent(e)); }
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); }
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); }
public override void OnWindowFocusChanged(bool hasFocus) { AndroidSDLSurface.OnWindowFocusChanged(hasFocus); base.OnWindowFocusChanged(hasFocus); }
protected override void OnDestroy() { AndroidSDLSurface.OnDestroy(); base.OnDestroy(); }
public override void OnLowMemory() { AndroidSDLSurface.OnLowMemory(); base.OnLowMemory(); }
protected override void OnPause() { AndroidSDLSurface.OnPause(); base.OnPause(); }
protected override void OnResume() { AndroidSDLSurface.OnResume(); base.OnResume(); }