Add FetchSize command - apply the changes discussed at #water-cooler

This commit is contained in:
Yiğit Özdemir 2023-06-22 18:28:32 +03:00
parent 21a71b753d
commit b394c84b37
No known key found for this signature in database
GPG key ID: 7FDC39C00954F1C7
4 changed files with 7 additions and 38 deletions

View file

@ -6,12 +6,10 @@ mod level;
mod mode;
mod redraw_request;
mod user_attention;
mod fetch_size;
pub use event::Event;
pub use icon::Icon;
pub use level::Level;
pub use mode::Mode;
pub use redraw_request::RedrawRequest;
pub use user_attention::UserAttention;
pub use fetch_size::SizeType;
pub use user_attention::UserAttention;

View file

@ -1,8 +0,0 @@
/// A `struct` defining which size to fetch.
#[derive(Debug, Clone, Copy)]
pub enum SizeType {
/// Inner size. (not including title bars and so other OS decorations)
Inner,
/// Outer size. (including everything)
Outer,
}