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
#![crate_name="orbclient"]
#![crate_type="lib"]
#![cfg_attr(target_os = "redox", 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 mod color;
pub mod event;

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

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