summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Yiğit Özdemir <yigitozdemir1299@gmail.com>2023-06-22 18:28:32 +0300
committerLibravatar Yiğit Özdemir <yigitozdemir1299@gmail.com>2023-06-22 18:28:32 +0300
commitb394c84b37eacb266d45663d5d6626f1b616af7e (patch)
tree2f364d9f5896e52d0185668ffe0c8c83bf7d665c /core
parent21a71b753d6da2233bce913f4e623ee14859ec23 (diff)
downloadiced-b394c84b37eacb266d45663d5d6626f1b616af7e.tar.gz
iced-b394c84b37eacb266d45663d5d6626f1b616af7e.tar.bz2
iced-b394c84b37eacb266d45663d5d6626f1b616af7e.zip
Add FetchSize command - apply the changes discussed at #water-cooler
Diffstat (limited to '')
-rw-r--r--core/src/window.rs4
-rw-r--r--core/src/window/fetch_size.rs8
2 files changed, 1 insertions, 11 deletions
diff --git a/core/src/window.rs b/core/src/window.rs
index cd343893..4beebf9f 100644
--- a/core/src/window.rs
+++ b/core/src/window.rs
@@ -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; \ No newline at end of file
+pub use user_attention::UserAttention; \ No newline at end of file
diff --git a/core/src/window/fetch_size.rs b/core/src/window/fetch_size.rs
deleted file mode 100644
index aa3431aa..00000000
--- a/core/src/window/fetch_size.rs
+++ /dev/null
@@ -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,
-} \ No newline at end of file