1#![cfg_attr(not(feature = "std"), no_std)]
4#![deny(unreachable_pub)]
5
6#[cfg(not(feature = "std"))]
7extern crate alloc;
8
9#[cfg(all(feature = "std", not(target_os = "redox")))]
10#[path = "sys/sdl2.rs"]
11mod sys;
12
13#[cfg(all(feature = "std", target_os = "redox"))]
14#[path = "sys/orbital.rs"]
15mod sys;
16
17#[cfg(feature = "std")]
18pub use sys::Surface;
19#[cfg(feature = "std")]
20pub use sys::{get_display_size, EventIter, Window};
21
22#[cfg(feature = "unifont")]
23pub static FONT: &[u8] = include_bytes!("../res/unifont.font");
24
25pub use color::Color;
26pub use event::*;
27pub use graphicspath::GraphicsPath;
28pub use renderer::Renderer;
29
30#[cfg(feature = "std")]
31mod blur;
32pub mod color;
33pub mod event;
34mod flags;
35pub mod graphicspath;
36pub mod image;
37pub mod rect;
38pub mod renderer;
39pub use flags::*;