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
#![crate_type="lib"] #![feature(associated_consts)] #![feature(box_syntax)] #![feature(deprecated)] #![deny(warnings)] extern crate core; pub static FONT: &'static [u8] = include_bytes!("../res/unifont.font"); pub use bmp::BmpFile; pub use color::Color; pub use event::*; pub use point::Point; pub use size::Size; pub use window::Window; pub mod bmp; pub mod color; pub mod event; pub mod point; pub mod size; #[cfg(target_os = "redox")] #[path="orbital/window.rs"] pub mod window; #[cfg(not(target_os = "redox"))] #[path="sdl2/window.rs"] pub mod window;