aboutsummaryrefslogtreecommitdiff
path: root/src/consts.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-03-15 05:25:44 +0000
committerAkshay <[email protected]>2021-03-15 05:25:44 +0000
commit9b0dff82215da7dfcefcea12862d18faab55bb91 (patch)
tree69b646a5cc2b082cd64aa3dbe82715e948f56d77 /src/consts.rs
parentf6cff545d27d5939a1b651004458e97deaf900de (diff)
ui changes: symmetry lines and brush size indicator
Diffstat (limited to 'src/consts.rs')
-rw-r--r--src/consts.rs14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/consts.rs b/src/consts.rs
index 8c90693..2f7576e 100644
--- a/src/consts.rs
+++ b/src/consts.rs
@@ -1,7 +1,11 @@
1use sdl2::pixels::Color; 1pub mod colors {
2 2 use sdl2::pixels::Color;
3pub const GRID_COLOR: Color = Color::RGB(64, 64, 64); 3 pub const GRID_COLOR: Color = Color::RGB(64, 64, 64);
4pub const WHITE: Color = Color::RGB(255, 255, 255); 4 pub const WHITE: Color = Color::RGB(255, 255, 255);
5pub const BLACK: Color = Color::RGB(0, 0, 0); 5 pub const BLACK: Color = Color::RGB(0, 0, 0);
6 pub const GREY: Color = Color::RGB(127, 127, 127);
7 pub const CYAN: Color = Color::RGB(121, 255, 225);
8 pub const PINK: Color = Color::RGB(255, 50, 153);
9}
6 10
7pub const FONT_PATH: &'static str = "./assets/NerdInput-Regular.ttf"; 11pub const FONT_PATH: &'static str = "./assets/NerdInput-Regular.ttf";