mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 18:51:08 +00:00
Removed obsolete OnCreate and OnDestroy methods/events.
This commit is contained in:
parent
8ac756bf1d
commit
dd383f477a
|
@ -1221,21 +1221,6 @@ namespace OpenTK.Platform.X11
|
|||
|
||||
#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(); }
|
||||
|
||||
#region public void Exit()
|
||||
|
@ -1260,19 +1245,6 @@ namespace OpenTK.Platform.X11
|
|||
|
||||
#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
|
||||
|
||||
public Point PointToClient(Point point)
|
||||
|
|
Loading…
Reference in a new issue