1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 23:13:13 -04:00

Code cleanup and improved docs

This commit is contained in:
Emil Ernerfeldt
2022-07-30 18:39:38 +02:00
parent 5fb4efa768
commit 2500a60062
7 changed files with 48 additions and 36 deletions

View File

@@ -195,6 +195,9 @@ pub struct NativeOptions {
pub drag_and_drop_support: bool,
/// The application icon, e.g. in the Windows task bar etc.
///
/// This doesn't work on Mac and on Wayland.
/// See <https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_window_icon> for more.
pub icon_data: Option<IconData>,
/// The initial (inner) position of the native window in points (logical pixels).