mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 13:20:06 -04:00
Add a transition macro system
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user