dim_screen/lib.rs
1mod dim;
2mod opts;
3mod surface;
4
5pub mod buffer;
6
7pub use dim::DimData;
8pub use opts::DimOpts;
9pub use surface::DimSurface;
10
11pub mod consts {
12 pub const DEFAULT_DURATION: u64 = 30;
13 pub const DEFAULT_ALPHA: f32 = 0.5;
14
15 pub const CONFIG_FILENAME: &str = "config.toml";
16
17 /// Default window size in width and height, in logical pixels
18 pub const INIT_SIZE: u32 = 100;
19}