update iris (window name)

This commit is contained in:
2025-12-04 14:53:21 -05:00
parent 02696b1f75
commit d8a96bc956
2 changed files with 9 additions and 2 deletions

2
iris

Submodule iris updated: f7b100e00c...23ae5b246e

View File

@@ -11,7 +11,10 @@ use openworm::{
net::{ClientMsg, ServerMsg, install_crypto_provider}, net::{ClientMsg, ServerMsg, install_crypto_provider},
rsc::DataDir, rsc::DataDir,
}; };
use winit::event::{ElementState, MouseButton, WindowEvent}; use winit::{
event::{ElementState, MouseButton, WindowEvent},
window::WindowAttributes,
};
mod debug; mod debug;
mod net; mod net;
@@ -47,6 +50,10 @@ impl DefaultUiState for Client {
&mut self.ui &mut self.ui
} }
fn window_attrs() -> WindowAttributes {
WindowAttributes::default().with_title("OPENWORM")
}
fn new(mut ui: DefaultUi, proxy: Proxy<Self::Event>) -> Self { fn new(mut ui: DefaultUi, proxy: Proxy<Self::Event>) -> Self {
let dir = DataDir::default(); let dir = DataDir::default();
let notif = WidgetPtr::default().add(&mut ui); let notif = WidgetPtr::default().add(&mut ui);