Introduce application::State in iced_winit
This commit is contained in:
parent
ed2b9a91b4
commit
fee46fd653
5 changed files with 201 additions and 161 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use crate::{Size, Transformation};
|
||||
|
||||
/// A viewing region for displaying computer graphics.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Viewport {
|
||||
physical_size: Size<u32>,
|
||||
logical_size: Size<f32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue