Add a transition macro system
This commit is contained in:
parent
f1d70d351e
commit
422b332c1b
17 changed files with 162 additions and 87 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#![cfg(target_os = "macos")]
|
||||
|
||||
use {CreationError, Event, MouseCursor, CursorState};
|
||||
use {CreationError, WindowEvent as Event, MouseCursor, CursorState};
|
||||
use CreationError::OsError;
|
||||
use libc;
|
||||
|
||||
|
|
@ -29,6 +29,8 @@ use os::macos::WindowExt;
|
|||
use events::ElementState;
|
||||
use events::{self, MouseButton, TouchPhase};
|
||||
|
||||
gen_api_transition!();
|
||||
|
||||
pub use self::monitor::{MonitorId, get_available_monitors, get_primary_monitor};
|
||||
|
||||
mod monitor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue