/// Options controlling the behavior of a native window
#[derive(Clone)]
pubstructNativeOptions{
/// The application icon, e.g. in the Windows task bar etc.
fnicon_data(&self)-> Option<IconData>{
None
}
pubicon_data: Option<IconData>,
/// The initial size of the native window in points (logical pixels).
pubinitial_window_size: Option<egui::Vec2>,
/// Should the app window be resizable?
pubresizable: bool,
/// On desktop: add window decorations (i.e. a frame around your app)?
/// If false it will be difficult to move and resize the app.
fndecorated(&self)-> bool{
true
}
pubdecorated: bool,
/// On desktop: make the window transparent.
/// You control the transparency with [`Self::clear_color()`].
/// You control the transparency with [`App::clear_color()`].
/// You should avoid having a [`egui::CentralPanel`], or make sure its frame is also transparent.
fntransparent(&self)-> bool{
false
}
pubtransparent: bool,
/// On Windows: enable drag and drop support.
/// Set to false to avoid issues with crates such as cpal which uses that use multi-threaded COM API <https://github.com/rust-windowing/winit/pull/1524>