use dip::{ bevy::{log::LogPlugin, time::TimePlugin, window::PresentMode}, prelude::*, }; /// This example illustrates how to customize the default window settings fn main() { App::new() .insert_resource(WindowDescriptor { title: "Window Settings".to_string(), width: 500., height: 300., present_mode: PresentMode::Fifo, ..Default::default() }) .add_plugin(LogPlugin) .add_plugin(TimePlugin) .add_plugin(DesktopPlugin::::new( Root, )) .add_system(change_title) .add_system(toggle_cursor) // .add_system(cycle_cursor_icon) .run(); } #[allow(non_snake_case)] fn Root(cx: Scope) -> Element { cx.render(rsx! { h1 { "Window Settings" } }) } /// This system will then change the title during execution fn change_title(time: Res