aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorArne Dußin2020-12-16 13:34:56 +0100
committerArne Dußin2020-12-16 13:34:56 +0100
commit82d11b7d3e15d8175accf7579db1fbe528fc6583 (patch)
treebe9a5601e99608966d4ccd146c3bfb3a70c7fc02 /src/config.rs
parent9799d3c6a8f0c242668203a1c70d7b6cfed3e855 (diff)
downloadgraf_karto-82d11b7d3e15d8175accf7579db1fbe528fc6583.tar.gz
graf_karto-82d11b7d3e15d8175accf7579db1fbe528fc6583.zip
Add constant for default colours and selection tool
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 4e63387..2a1e5ed 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -19,6 +19,7 @@ pub struct ToolActivationKeys {
pub icon: Button,
pub polygon_room: Button,
pub rect_room: Button,
+ pub selection: Button,
pub wall: Button,
}
@@ -73,6 +74,7 @@ impl Default for Config {
icon: Button::Keyboard(KeyboardKey::I),
polygon_room: Button::Keyboard(KeyboardKey::P),
rect_room: Button::Keyboard(KeyboardKey::R),
+ selection: Button::Keyboard(KeyboardKey::S),
wall: Button::Keyboard(KeyboardKey::W),
},
tool_general_keys: ToolGeneralKeys {