From 21a71b753d6da2233bce913f4e623ee14859ec23 Mon Sep 17 00:00:00 2001 From: Yiğit Özdemir Date: Wed, 21 Jun 2023 19:43:20 +0300 Subject: Add command to retrieve window size --- core/src/window/fetch_size.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 core/src/window/fetch_size.rs (limited to 'core/src/window') diff --git a/core/src/window/fetch_size.rs b/core/src/window/fetch_size.rs new file mode 100644 index 00000000..aa3431aa --- /dev/null +++ b/core/src/window/fetch_size.rs @@ -0,0 +1,8 @@ +/// 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 -- cgit