aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-03-23 07:39:41 +0000
committerAkshay <[email protected]>2021-03-23 07:39:41 +0000
commit0ecfaf7b7cf762590d5ba92f57567901c02af15b (patch)
treeef008b50fe6219a66fe91b4735dab6d952f2a3bd /src/main.rs
parente2c2cc460052191439abec62c465f0a4430b5b8a (diff)
implement message display and types
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ebdf793..197b200 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,6 +3,8 @@ mod bitmap;
3mod command; 3mod command;
4mod consts; 4mod consts;
5mod dither; 5mod dither;
6mod lisp;
7mod message;
6mod symmetry; 8mod symmetry;
7mod undo; 9mod undo;
8mod utils; 10mod utils;
@@ -22,7 +24,7 @@ pub fn main() {
22 let ttf_context = sdl2::ttf::init().unwrap(); 24 let ttf_context = sdl2::ttf::init().unwrap();
23 let args: Vec<_> = env::args().collect(); 25 let args: Vec<_> = env::args().collect();
24 if args.len() < 2 { 26 if args.len() < 2 {
25 AppState::init(200, 200, &sdl_context, &ttf_context, None).run(); 27 AppState::init(160, 160, &sdl_context, &ttf_context, None).run();
26 return; 28 return;
27 } else { 29 } else {
28 let path = args.get(1).unwrap(); 30 let path = args.get(1).unwrap();