mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-30 08:36:55 +00:00
Removed obsolete OnCreate and OnDestroy methods/events.
This commit is contained in:
parent
72eb674817
commit
594f877021
|
@ -1221,21 +1221,6 @@ namespace OpenTK.Platform.X11
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region OnCreate
|
|
||||||
|
|
||||||
public event CreateEvent Create;
|
|
||||||
|
|
||||||
private void OnCreate(EventArgs e)
|
|
||||||
{
|
|
||||||
if (this.Create != null)
|
|
||||||
{
|
|
||||||
Debug.Print("Create event fired from window: {0}", window.ToString());
|
|
||||||
this.Create(this, e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
public void Close() { Exit(); }
|
public void Close() { Exit(); }
|
||||||
|
|
||||||
#region public void Exit()
|
#region public void Exit()
|
||||||
|
@ -1260,19 +1245,6 @@ namespace OpenTK.Platform.X11
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region OnDestroy
|
|
||||||
|
|
||||||
public event DestroyEvent Destroy;
|
|
||||||
|
|
||||||
private void OnDestroy(EventArgs e)
|
|
||||||
{
|
|
||||||
Debug.Print("Destroy event fired from window: {0}", window.ToString());
|
|
||||||
if (this.Destroy != null)
|
|
||||||
this.Destroy(this, e);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region PointToClient
|
#region PointToClient
|
||||||
|
|
||||||
public Point PointToClient(Point point)
|
public Point PointToClient(Point point)
|
||||||
|
|
Loading…
Reference in a new issue