aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-03-16 07:08:40 +0000
committerAkshay <[email protected]>2021-03-16 07:08:40 +0000
commitf33cf3e1cc42ff72e7d2dc3d66c47064f60bd0eb (patch)
tree43de2053437de0ef5838ef9ab661941a6008bab2 /src/main.rs
parent85b851a28beca0a2f5ef48587a5e978c9f72d7f8 (diff)
add dither_level to app state, integrate with brushes
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index c9c1bdd..14f4cf5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,6 +1,7 @@
1mod app; 1mod app;
2mod bitmap; 2mod bitmap;
3mod consts; 3mod consts;
4mod dither;
4mod symmetry; 5mod symmetry;
5mod undo; 6mod undo;
6mod utils; 7mod utils;
@@ -10,5 +11,5 @@ use app::AppState;
10pub fn main() { 11pub fn main() {
11 let sdl_context = sdl2::init().unwrap(); 12 let sdl_context = sdl2::init().unwrap();
12 let ttf_context = sdl2::ttf::init().unwrap(); 13 let ttf_context = sdl2::ttf::init().unwrap();
13 AppState::init(160, 160, &sdl_context, &ttf_context).run(); 14 AppState::init(200, 200, &sdl_context, &ttf_context).run();
14} 15}