mirror of
https://github.com/13hannes11/focus_annotator.git
synced 2024-09-03 23:21:01 +02:00
refactor split off application state file
This commit is contained in:
11
src/constants.rs
Normal file
11
src/constants.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
pub const MARGIN_TOP: i32 = 32;
|
||||
pub const MARGIN_BOTTOM: i32 = 32;
|
||||
pub const MARGIN_LEFT: i32 = 16;
|
||||
pub const MARGIN_RIGHT_SCALE_ADDITIONAL: i32 = 38;
|
||||
|
||||
pub const NONE_STRING_OPTION: Option<String> = None;
|
||||
|
||||
pub const TOGGLE_NEIGHBOURS_TEXT_TOGGLED: &str = "Hide Neighbours";
|
||||
pub const TOGGLE_NEIGHBOURS_TEXT: &str = "Show Neighbours";
|
||||
|
||||
pub const SCALE_STEP: f64 = 1.0;
|
||||
Reference in New Issue
Block a user