feat: SuggestedBounds event
This commit is contained in:
parent
b961e4877d
commit
66dc0eab25
3 changed files with 42 additions and 5 deletions
|
|
@ -368,6 +368,13 @@ pub enum WindowEvent {
|
|||
surface_size_writer: SurfaceSizeWriter,
|
||||
},
|
||||
|
||||
/// The suggested bounds of the window's surface has changed.
|
||||
///
|
||||
/// Contains the new bounds of the surface
|
||||
///
|
||||
/// - **iOS / Android / Web / Orbital / Windows:** Unsupported.
|
||||
SuggestedBounds(Option<PhysicalSize<u32>>),
|
||||
|
||||
/// The system window theme has changed.
|
||||
///
|
||||
/// Applications might wish to react to this to change the theme of the content of the window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue