lib.rs 563 Bytes
Newer Older
1
#![crate_type="lib"]
2 3
#![feature(associated_consts)]
#![feature(box_syntax)]
4
#![feature(deprecated)]
5

6 7
#![deny(warnings)]

8
extern crate core;
9

Jeremy Soller's avatar
Jeremy Soller committed
10 11
pub static FONT: &'static [u8] = include_bytes!("../res/unifont.font");

12
pub use bmp::BmpFile;
Jeremy Soller's avatar
Jeremy Soller committed
13
pub use color::Color;
14
pub use event::*;
Jeremy Soller's avatar
Jeremy Soller committed
15 16
pub use point::Point;
pub use size::Size;
17 18 19
pub use window::Window;

pub mod bmp;
Jeremy Soller's avatar
Jeremy Soller committed
20
pub mod color;
21
pub mod event;
Jeremy Soller's avatar
Jeremy Soller committed
22 23
pub mod point;
pub mod size;
Jeremy Soller's avatar
Jeremy Soller committed
24 25 26

#[cfg(target_os = "redox")]
#[path="orbital/window.rs"]
27
pub mod window;
Jeremy Soller's avatar
Jeremy Soller committed
28 29 30 31

#[cfg(not(target_os = "redox"))]
#[path="sdl2/window.rs"]
pub mod window;