Ian Burgmyer
7 years ago
4 changed files with 25 additions and 2 deletions
@ -0,0 +1,12 @@
|
||||
namespace DotSDL.Events { |
||||
/// <summary> |
||||
/// An interface describing a common DotSDL event. |
||||
/// </summary> |
||||
public interface IEvent { |
||||
/// <summary> |
||||
/// The timestamp of the event. Thsi is measured in milliseconds, |
||||
/// starting from when the application is first executed. |
||||
/// </summary> |
||||
uint Timestamp { get; set; } |
||||
} |
||||
} |
@ -0,0 +1,11 @@
|
||||
namespace DotSDL.Events { |
||||
/// <summary> |
||||
/// Represents a window event. Window events are thrown when an event occurs |
||||
/// that affects an <see cref="DotSDL.Graphics.SdlWindow"/> instance and/or |
||||
/// the applicaiton as a whole. This includes the UI toolkit minimizing, |
||||
/// maximizing, and closing a window, as well as application quit messages. |
||||
/// </summary> |
||||
public class WindowEvent : IEvent { |
||||
public uint Timestamp { get; set; } |
||||
} |
||||
} |
Loading…
Reference in new issue