From 4ba29314375337c7c4deca01b06450dbccfc0289 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Fri, 9 Dec 2016 21:10:49 -0800 Subject: Cleaning up main; Added window module Adds a wrapper for the glutin::Window which provides strongly typed APIs and more convenient interfaces. Moves some gl calls into the opengl-based renderer. The point of most of the changes here is to clean up main(). --- src/lib.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 8f08303b..cd4f382e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -48,8 +48,11 @@ extern crate bitflags; #[macro_use] pub mod macros; +pub mod ansi; +pub mod config; pub mod event; pub mod event_loop; +pub mod grid; pub mod index; pub mod input; pub mod meter; @@ -58,9 +61,7 @@ pub mod sync; pub mod term; pub mod tty; pub mod util; -pub mod ansi; -pub mod config; -pub mod grid; +pub mod window; use std::sync::Arc; use std::sync::atomic::{AtomicBool, Ordering}; -- cgit v1.2.3-54-g00ecf