Skip to content

Commit

Permalink
Export IconExtWindows (#745)
Browse files Browse the repository at this point in the history
* 导出IconExtWindows,使Icon支持Icon::from_resource从资源resource中加载icon

* Update src/window.rs

Co-authored-by: Jakub Panek <[email protected]>

* cargo fmt

---------

Co-authored-by: deego <[email protected]>
Co-authored-by: Jakub Panek <[email protected]>
Co-authored-by: deego <[email protected]>
  • Loading branch information
4 people authored Feb 7, 2025
1 parent 03a9582 commit a49bc20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/window.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
use peniko::kurbo::{Point, Size};
#[cfg(windows)]
pub use winit::platform::windows::IconExtWindows;
pub use winit::window::Fullscreen;
pub use winit::window::Icon;
pub use winit::window::ResizeDirection;
Expand Down

0 comments on commit a49bc20

Please sign in to comment.