child window created using a winapi::HWND instead of a WindowProxy
This commit is contained in:
parent
2b25bf1480
commit
3e2154a922
5 changed files with 54 additions and 59 deletions
|
|
@ -15,12 +15,14 @@ use CursorState;
|
|||
|
||||
use WindowAttributes;
|
||||
|
||||
use window;
|
||||
|
||||
#[derive(Clone, Default)]
|
||||
pub struct PlatformSpecificWindowBuilderAttributes {
|
||||
pub parent: Option<window::WindowProxy>,
|
||||
pub parent: Option<winapi::HWND>,
|
||||
}
|
||||
|
||||
unsafe impl Send for PlatformSpecificWindowBuilderAttributes {}
|
||||
unsafe impl Sync for PlatformSpecificWindowBuilderAttributes {}
|
||||
|
||||
#[derive(Clone, Default)]
|
||||
pub struct PlatformSpecificHeadlessBuilderAttributes;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue