aboutsummaryrefslogtreecommitdiffstats
path: root/src/events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/events.rs')
-rw-r--r--src/events.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events.rs b/src/events.rs
index ac30cfd..957e0c3 100644
--- a/src/events.rs
+++ b/src/events.rs
@@ -34,6 +34,9 @@ pub enum Event {
/// The event loop was woken up by another thread.
Awakened,
+
+ /// The window needs to be redrawn.
+ Refresh,
}
pub type ScanCode = u8;