Use raw-window-handle instead of HWND
This commit is contained in:
parent
09a2a06130
commit
d6027d7da6
2 changed files with 4 additions and 1 deletions
|
|
@ -1,10 +1,12 @@
|
|||
//! Platform specific settings for Windows.
|
||||
|
||||
use raw_window_handle::RawWindowHandle;
|
||||
|
||||
/// The platform specific window settings of an application.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
pub struct PlatformSpecific {
|
||||
/// Parent window
|
||||
pub parent: Option<winit::platform::windows::HWND>,
|
||||
pub parent: Option<RawWindowHandle>,
|
||||
|
||||
/// Drag and drop support
|
||||
pub drag_and_drop: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue