mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 15:13:13 -04:00
Add a transition macro system
This commit is contained in:
@@ -5,7 +5,7 @@ use std::sync::Arc;
|
||||
|
||||
use CreationError;
|
||||
use CursorState;
|
||||
use Event;
|
||||
use WindowEvent as Event;
|
||||
use MouseCursor;
|
||||
use WindowAttributes;
|
||||
use libc;
|
||||
@@ -17,6 +17,8 @@ use api::x11::XError;
|
||||
use api::x11::XNotSupported;
|
||||
use api::x11::ffi::XVisualInfo;
|
||||
|
||||
gen_api_transition!();
|
||||
|
||||
#[derive(Clone, Default)]
|
||||
pub struct PlatformSpecificWindowBuilderAttributes {
|
||||
pub visual_infos: Option<XVisualInfo>,
|
||||
|
||||
Reference in New Issue
Block a user