winit-core: move window
Create `WindowAttributes` for respective platform specific window attributes in `winit` due to move of `WindowAttributes`.
This commit is contained in:
parent
c8b9a86885
commit
b4c5b76155
48 changed files with 843 additions and 808 deletions
|
|
@ -1,10 +1,10 @@
|
|||
#![cfg(feature = "serde")]
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use winit::cursor::CursorIcon;
|
||||
use winit::dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize};
|
||||
use winit::event::{ElementState, MouseButton, MouseScrollDelta, TouchPhase};
|
||||
use winit::keyboard::{Key, KeyCode, KeyLocation, ModifiersState, NamedKey, PhysicalKey};
|
||||
use winit::window::CursorIcon;
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn needs_serde<S: Serialize + Deserialize<'static>>() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue