Move pix modules to sub module

This commit is contained in:
Tim Visée
2017-12-31 00:05:37 +01:00
parent c113a9ebaf
commit 82d4eeb0f3
6 changed files with 39 additions and 19 deletions

View File

@@ -7,13 +7,12 @@ mod color;
mod image_manager;
mod painter;
mod painter_handle;
mod pix_canvas;
mod pix_client;
mod pix;
mod rect;
use arg_handler::ArgHandler;
use image_manager::ImageManager;
use pix_canvas::PixCanvas;
use pix::canvas::Canvas;
@@ -32,7 +31,7 @@ fn start<'a>(arg_handler: &ArgHandler<'a>) {
println!("Starting...");
// Create a new pixelflut canvas
let mut canvas = PixCanvas::new(
let mut canvas = Canvas::new(
arg_handler.host(),
arg_handler.count(),
arg_handler.size(),