diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-10-29 09:31:09 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-10-29 09:40:29 +1300 |
commit | 608494aad09f520e7d78bff9950dbb282f8276a2 (patch) | |
tree | 543cb64ac945d358cbf646544c5aa663db083d6c /src/lib.rs | |
parent | 47a754a7beb8741bfe0469236036cb8023043cd8 (diff) | |
download | phosphor-608494aad09f520e7d78bff9950dbb282f8276a2.zip |
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.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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<i32>; pub type Dimensions = geometry::Dimensions<u32>; |