diff options
| author | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-16 00:08:41 +0100 |
|---|---|---|
| committer | Rubén Beltrán del Río <jj@r.bdr.sh> | 2026-01-16 00:12:53 +0100 |
| commit | 04b1e6080d99601b8d6343be3140f545cd8f9eae (patch) | |
| tree | 2180b7d50f2442e5d18a99a87e56def29b02f68e /src/constants.rs | |
| parent | ab6492a9f9b8a65121fcf10ff5a44660bd063af1 (diff) | |
Separate concerns
Diffstat (limited to 'src/constants.rs')
| -rw-r--r-- | src/constants.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index d163b45..1677828 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -1,7 +1,16 @@ +// Zoom configuration pub const MIN_ZOOM: f64 = 0.1; pub const MAX_ZOOM: f64 = 2.0; pub const ZOOM_STEP: f64 = 0.1; +// File handling pub const FILE_EXTENSION: &str = "wmap"; pub const MIME_TYPE: &str = "application/vnd.wmap"; + +// Application pub const APP_NAME: &str = "Map"; +pub const APP_ID: &str = "systems.tranquil.map"; + +// Window defaults +pub const DEFAULT_WINDOW_WIDTH: i32 = 300; +pub const DEFAULT_WINDOW_HEIGHT: i32 = 100; |