diff options
author | 2022-10-19 22:56:00 -0300 | |
---|---|---|
committer | 2023-01-09 11:27:04 -0800 | |
commit | 1bc0c480f9747826b244c30e92d8c4a29b576e4a (patch) | |
tree | cfe793f0ad7977c334fb729bdb989dc6a88b4496 /native/src/window/icon.rs | |
parent | a386788b67bf4e008916e79a8c7dd7289a3ab3cd (diff) | |
download | iced-1bc0c480f9747826b244c30e92d8c4a29b576e4a.tar.gz iced-1bc0c480f9747826b244c30e92d8c4a29b576e4a.tar.bz2 iced-1bc0c480f9747826b244c30e92d8c4a29b576e4a.zip |
move window settings to `iced_native`
Diffstat (limited to '')
-rw-r--r-- | native/src/window/icon.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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<u8>, + /// TODO(derezzedex) + pub width: u32, + /// TODO(derezzedex) + pub height: u32, +} |