#![warn(missing_docs)]
#[macro_use]
extern crate glium;
extern crate glutin;
extern crate vecmath;
extern crate image;
extern crate num;
extern crate clock_ticks;
extern crate poison_pool;
mod private;
pub use private::types;
pub use private::error::{LuxError, LuxResult};
pub mod color {
pub use private::color::{Color, rgb, rgba, hsv, hsva, hex_rgb, hex_rgba};
pub use private::colors::*;
}
pub mod graphics {
pub use private::canvas::{Canvas, Rectangle, Ellipse, ContainedSprite};
pub use private::gfx_integration::{ColorVertex, TexVertex};
pub use private::primitive_canvas::{PrimitiveCanvas, StencilType};
pub use private::sprite::{
IntoSprite,
Sprite,
Texture,
DrawableTexture,
UniformSpriteSheet,
NonUniformSpriteSheet,
TextureLoader
};
pub use glium::index::PrimitiveType;
pub use glium::index::PrimitiveType::*;
}
pub mod interactive {
pub use private::interactive::{
keycodes,
EventIterator,
Event,
MouseButton,
Interactive,
AbstractKey
};
}
pub mod window {
pub use private::glutin_window::{Window, Frame, WindowOptions};
}
pub mod modifiers {
pub use private::raw::{Colored, Transform};
}
pub mod game {
pub use private::game::{Game, GameRunner, Loader};
}
pub mod prelude {
pub use color::{Color, rgb, rgba, hsv, hsva};
pub use graphics::{Canvas, IntoSprite, Sprite, Texture};
pub use interactive::Interactive;
pub use window::{Window, Frame};
pub use interactive::EventIterator;
pub use modifiers::{Colored, Transform};
pub use graphics::TextureLoader;
pub use LuxError;
pub use LuxResult;
}