Add resize_events subscription to window module
This commit is contained in:
parent
1eabd38219
commit
a108b2eebe
3 changed files with 16 additions and 15 deletions
|
|
@ -23,20 +23,10 @@ pub enum Event {
|
|||
Closed,
|
||||
|
||||
/// A window was moved.
|
||||
Moved {
|
||||
/// The new logical x location of the window
|
||||
x: i32,
|
||||
/// The new logical y location of the window
|
||||
y: i32,
|
||||
},
|
||||
Moved(Point),
|
||||
|
||||
/// A window was resized.
|
||||
Resized {
|
||||
/// The new logical width of the window
|
||||
width: u32,
|
||||
/// The new logical height of the window
|
||||
height: u32,
|
||||
},
|
||||
Resized(Size),
|
||||
|
||||
/// A window redraw was requested.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue