Implement an opaque Size type
It immutably ties physical and logical sizes to a specific scale factor.
This commit is contained in:
parent
1d71f78f90
commit
fbc9deb424
3 changed files with 55 additions and 32 deletions
|
|
@ -32,6 +32,7 @@ mod application;
|
|||
mod clipboard;
|
||||
mod mode;
|
||||
mod proxy;
|
||||
mod size;
|
||||
|
||||
// We disable debug capabilities on release builds unless the `debug` feature
|
||||
// is explicitly enabled.
|
||||
|
|
@ -49,3 +50,4 @@ pub use settings::Settings;
|
|||
|
||||
use debug::Debug;
|
||||
use proxy::Proxy;
|
||||
use size::Size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue