aboutsummaryrefslogtreecommitdiff
path: root/src/colours.rs
diff options
context:
space:
mode:
authorArne Dußin2021-01-06 21:32:48 +0100
committerArne Dußin2021-01-06 21:32:48 +0100
commit61d255a420c9d977b46670e7fa9e7735d2acf819 (patch)
treed1cf79fec1b643814568544c3691e25564ae874a /src/colours.rs
parent9b5762cf3716503819e2cf06f3c335bbfd3b0a3c (diff)
downloadgraf_karto-61d255a420c9d977b46670e7fa9e7735d2acf819.tar.gz
graf_karto-61d255a420c9d977b46670e7fa9e7735d2acf819.zip
Add CLI with save feature
Diffstat (limited to 'src/colours.rs')
-rw-r--r--src/colours.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/colours.rs b/src/colours.rs
index d381266..d7c728c 100644
--- a/src/colours.rs
+++ b/src/colours.rs
@@ -39,6 +39,10 @@ pub struct Colours {
/// The colour used for drawing the lines of the grid which divides the map into chunks of evenly
/// spaced cells.
pub grid_lines: Color,
+ /// Color used to draw the background of the Command Line Interface
+ pub cli_background: Color,
+ /// Color used to draw the normal text of the Command Line Interface
+ pub cli_foreground: Color,
}
impl Colours {
@@ -137,6 +141,18 @@ impl Colours {
b: 255,
a: 75,
},
+ cli_background: Color {
+ r: 100,
+ g: 100,
+ b: 100,
+ a: 150,
+ },
+ cli_foreground: Color {
+ r: 255,
+ g: 255,
+ b: 255,
+ a: 200,
+ },
}
}
}