From 608494aad09f520e7d78bff9950dbb282f8276a2 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Tue, 29 Oct 2024 09:31:09 +1300 Subject: Add a SetIcon request type This is used to set the window icon at runtime. This commit also exposes the Icon and CursorIcon types in the crate root, as they were previously inaccessible. --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index f856775..acf8287 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,6 +14,7 @@ pub use phosphor::Phosphor; pub use event_queue::EventWriter; pub use winit::keyboard::{KeyCode, ModifiersState}; +pub use winit::window::{CursorIcon, Icon}; pub type Position = geometry::Point; pub type Dimensions = geometry::Dimensions; -- cgit v1.2.3-70-g09d2