Simplify internal type construction
This commit is contained in:
parent
25b129362f
commit
fafdedfb7d
30 changed files with 242 additions and 285 deletions
|
|
@ -2,8 +2,8 @@ use crate::{
|
|||
dpi::{PhysicalPosition, PhysicalSize, Size},
|
||||
event::ModifiersState,
|
||||
icon::Icon,
|
||||
platform_impl::platform::{event_loop, util},
|
||||
window::{CursorIcon, Fullscreen, Theme, WindowAttributes},
|
||||
platform_impl::platform::{event_loop, util, Fullscreen},
|
||||
window::{CursorIcon, Theme, WindowAttributes},
|
||||
};
|
||||
use std::io;
|
||||
use std::sync::MutexGuard;
|
||||
|
|
@ -24,7 +24,7 @@ use windows_sys::Win32::{
|
|||
};
|
||||
|
||||
/// Contains information about states and the window that the callback is going to use.
|
||||
pub struct WindowState {
|
||||
pub(crate) struct WindowState {
|
||||
pub mouse: MouseProperties,
|
||||
|
||||
/// Used by `WM_GETMINMAXINFO`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue