DroppedFile event for Win32
This commit is contained in:
parent
1aedc828c5
commit
826931e2c2
5 changed files with 35 additions and 2 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#[derive(Clone, Debug, Copy)]
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum Event {
|
||||
/// The size of the window has changed.
|
||||
Resized(u32, u32),
|
||||
|
|
@ -9,6 +11,9 @@ pub enum Event {
|
|||
/// The window has been closed.
|
||||
Closed,
|
||||
|
||||
/// A file has been dropped into the window.
|
||||
DroppedFile(PathBuf),
|
||||
|
||||
/// The window received a unicode character.
|
||||
ReceivedCharacter(char),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue