2019-07-16 20:00:03 -07:00
|
|
|
// TODO: close events (port from old stdweb branch)
|
2019-06-25 03:15:34 +02:00
|
|
|
// TODO: pointer locking (stdweb PR required)
|
2019-07-16 20:00:03 -07:00
|
|
|
// TODO: fullscreen API (stdweb PR required)
|
2019-06-25 03:15:34 +02:00
|
|
|
|
|
|
|
|
mod device;
|
|
|
|
|
mod error;
|
|
|
|
|
mod event_loop;
|
|
|
|
|
mod monitor;
|
|
|
|
|
mod window;
|
|
|
|
|
|
2019-07-01 20:43:54 +02:00
|
|
|
#[cfg(feature = "web-sys")]
|
2019-06-25 03:15:34 +02:00
|
|
|
#[path = "web_sys/mod.rs"]
|
|
|
|
|
mod backend;
|
|
|
|
|
|
2019-07-01 20:43:54 +02:00
|
|
|
#[cfg(feature = "stdweb")]
|
2019-06-27 00:02:46 +02:00
|
|
|
#[path = "stdweb/mod.rs"]
|
|
|
|
|
mod backend;
|
|
|
|
|
|
2019-06-25 03:15:34 +02:00
|
|
|
pub use self::device::Id as DeviceId;
|
|
|
|
|
pub use self::error::OsError;
|
|
|
|
|
pub use self::event_loop::{
|
|
|
|
|
EventLoop, Proxy as EventLoopProxy, WindowTarget as EventLoopWindowTarget,
|
|
|
|
|
};
|
2019-09-24 19:41:59 -04:00
|
|
|
pub use self::monitor::{Handle as MonitorHandle, Mode as VideoMode};
|
2019-06-25 03:15:34 +02:00
|
|
|
pub use self::window::{
|
|
|
|
|
Id as WindowId, PlatformSpecificBuilderAttributes as PlatformSpecificWindowBuilderAttributes,
|
|
|
|
|
Window,
|
|
|
|
|
};
|