1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#![warn(missing_docs)]
#![doc(html_logo_url = "https://plopgrizzly.com/images/awi.png",
html_favicon_url = "https://plopgrizzly.com/images/awi.png")]
#[macro_use] extern crate ami;
extern crate stick;
pub extern crate afi;
#[cfg(target_os="windows")] extern crate winapi;
#[cfg(not(target_arch="wasm32"))] #[macro_use] extern crate dl_api;
#[cfg(target_arch="wasm32")] #[macro_use] extern crate stdweb;
#[cfg(target_arch="wasm32")] #[macro_use] extern crate stdweb_derive;
pub mod screen;
mod window_connection;
pub(crate) mod input;
#[cfg(not(target_arch="wasm32"))] pub(crate) mod window;
#[cfg(not(target_arch="wasm32"))] pub(crate) mod window_ops;
pub mod render;
#[cfg(target_os = "windows")] pub(crate) mod os { mod windows; pub use self::windows::*; }
#[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "bitrig", target_os = "openbsd", target_os = "netbsd"))] pub(crate) mod os { mod linux; pub use self::linux::*; }
#[cfg(target_os = "rpi")] pub(crate) mod os { mod rpi; pub use self::rpi::*; }
#[cfg(target_os = "deskron")] pub(crate) mod os { mod deskron; pub use self::deskron::*; }
#[cfg(target_os = "android")] pub(crate) mod os { mod android; pub use self::android::*; }
#[cfg(any(target_os = "macos", target_os = "ios"))] pub(crate) mod os { mod apple; pub use self::apple::*; }
#[cfg(target_arch = "wasm32")] pub(crate) mod os { mod wasm32; pub use self::wasm32::*; }
#[cfg(target_os = "switch")] pub(crate) mod os { mod switch; pub use self::switch::*; }
#[cfg(target_os = "redox")] pub(crate) mod os { mod redox; pub use self::redox::*; }
#[cfg(target_os = "xbox")] pub(crate) mod os { mod xbox; pub use self::xbox::*; }
pub(crate) use std::os::raw::c_void;
pub(crate) use input::keyboard::Keyboard;
pub use input::Event;
#[cfg(not(target_arch="wasm32"))] pub(crate) use window_connection::WindowConnection;
#[cfg(not(target_arch="wasm32"))] pub(crate) use window::Window;
pub use ami::*;