summaryrefslogtreecommitdiffstats
path: root/native/src/event.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-10 01:28:45 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-10 01:28:45 +0100
commit7ab6ed7ef912011318e07533e40fc98f4a846511 (patch)
tree626692c9269231497f52e6acc2fcbd7f194b264d /native/src/event.rs
parent0a8302450557877cb667b51fc84383aaf0a11b02 (diff)
downloadiced-7ab6ed7ef912011318e07533e40fc98f4a846511.tar.gz
iced-7ab6ed7ef912011318e07533e40fc98f4a846511.tar.bz2
iced-7ab6ed7ef912011318e07533e40fc98f4a846511.zip
Add `window::Event::Resized` to `iced_native`
Diffstat (limited to 'native/src/event.rs')
-rw-r--r--native/src/event.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/native/src/event.rs b/native/src/event.rs
index 71f06006..1d28aa7b 100644
--- a/native/src/event.rs
+++ b/native/src/event.rs
@@ -1,4 +1,7 @@
-use crate::input::{keyboard, mouse};
+use crate::{
+ input::{keyboard, mouse},
+ window,
+};
/// A user interface event.
///
@@ -13,4 +16,7 @@ pub enum Event {
/// A mouse event
Mouse(mouse::Event),
+
+ /// A window event
+ Window(window::Event),
}