From 1bc0c480f9747826b244c30e92d8c4a29b576e4a Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 19 Oct 2022 22:56:00 -0300 Subject: move window settings to `iced_native` --- native/src/window/icon.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 native/src/window/icon.rs (limited to 'native/src/window/icon.rs') diff --git a/native/src/window/icon.rs b/native/src/window/icon.rs new file mode 100644 index 00000000..e89baf03 --- /dev/null +++ b/native/src/window/icon.rs @@ -0,0 +1,12 @@ +//! Attach an icon to the window of your application. + +/// The icon of a window. +#[derive(Debug, Clone)] +pub struct Icon { + /// TODO(derezzedex) + pub rgba: Vec, + /// TODO(derezzedex) + pub width: u32, + /// TODO(derezzedex) + pub height: u32, +} -- cgit