Files
RobustToolbox/Robust.Client/Graphics/WindowResizedEventArgs.cs
Pieter-Jan Briers 033e20cbf1 Add Closed (past tense) event to OSWindow.
Change a bunch of window event stuff up.
2021-08-24 04:49:04 +02:00

19 lines
460 B
C#

using Robust.Shared.Maths;
namespace Robust.Client.Graphics
{
public readonly struct WindowResizedEventArgs
{
public WindowResizedEventArgs(Vector2i oldSize, Vector2i newSize, IClydeWindow window)
{
OldSize = oldSize;
NewSize = newSize;
Window = window;
}
public Vector2i OldSize { get; }
public Vector2i NewSize { get; }
public IClydeWindow Window { get; }
}
}