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
#![crate_name="orbclient"]
#![crate_type="lib"]
#![feature(asm)]
#![feature(const_fn)]

#![deny(warnings)]

extern crate core;

pub static FONT: &'static [u8] = include_bytes!("../res/unifont.font");

pub use color::Color;
pub use event::*;
pub use imp::*;
pub use renderer::Renderer;

pub mod color;
pub mod event;
pub mod renderer;

#[cfg(target_os = "redox")]
#[path="orbital/mod.rs"]
pub mod imp;

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