From 258a306e8a119d4868ea0320da9eba5312ab8d48 Mon Sep 17 00:00:00 2001 From: deego Date: Sat, 25 Jan 2025 16:43:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AF=BC=E5=87=BAIconExtWindows,=E4=BD=BFI?= =?UTF-8?q?con=E6=94=AF=E6=8C=81Icon::from=5Fresource=E4=BB=8E=E8=B5=84?= =?UTF-8?q?=E6=BA=90resource=E4=B8=AD=E5=8A=A0=E8=BD=BDicon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.rs b/src/window.rs index aa7c524a..f7dc78f5 100644 --- a/src/window.rs +++ b/src/window.rs @@ -6,6 +6,7 @@ pub use winit::window::Theme; pub use winit::window::WindowButtons; pub use winit::window::WindowId; pub use winit::window::WindowLevel; +pub use winit::platform::windows::IconExtWindows; use crate::app::{add_app_update_event, AppUpdateEvent}; use crate::view::IntoView; From 2a008d3b5b30dd003f8b3e68e826f7c80dcc6f01 Mon Sep 17 00:00:00 2001 From: cyberdoors <87289746+cyberdoors@users.noreply.github.com> Date: Sat, 25 Jan 2025 20:34:06 +0800 Subject: [PATCH 2/2] Update src/window.rs Co-authored-by: Jakub Panek --- src/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.rs b/src/window.rs index f7dc78f5..3b93d009 100644 --- a/src/window.rs +++ b/src/window.rs @@ -6,6 +6,7 @@ pub use winit::window::Theme; pub use winit::window::WindowButtons; pub use winit::window::WindowId; pub use winit::window::WindowLevel; +#[cfg(windows)] pub use winit::platform::windows::IconExtWindows; use crate::app::{add_app_update_event, AppUpdateEvent};