Rename "inner size" to "surface size" (#3889)
* Rename `WindowEvent::Resized` to `SurfaceResized` * Rename `InnerSizeWriter` to `SurfaceSizeWriter` * Replace `inner_size` with `surface_size` * Rename `resize_increments` to `surface_resize_increments`
This commit is contained in:
parent
d37c591378
commit
8db3e0e043
32 changed files with 466 additions and 436 deletions
|
|
@ -30,7 +30,7 @@ pub(crate) struct WindowState {
|
|||
pub min_size: Option<Size>,
|
||||
pub max_size: Option<Size>,
|
||||
|
||||
pub resize_increments: Option<Size>,
|
||||
pub surface_resize_increments: Option<Size>,
|
||||
|
||||
pub window_icon: Option<Icon>,
|
||||
pub taskbar_icon: Option<Icon>,
|
||||
|
|
@ -151,10 +151,10 @@ impl WindowState {
|
|||
last_position: None,
|
||||
},
|
||||
|
||||
min_size: attributes.min_inner_size,
|
||||
max_size: attributes.max_inner_size,
|
||||
min_size: attributes.min_surface_size,
|
||||
max_size: attributes.max_surface_size,
|
||||
|
||||
resize_increments: attributes.resize_increments,
|
||||
surface_resize_increments: attributes.surface_resize_increments,
|
||||
|
||||
window_icon: attributes.window_icon.clone(),
|
||||
taskbar_icon: None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue