Searched refs:window_manager (Results 1 – 4 of 4) sorted by relevance
12 use super::{starry_server, window_manager::window_manager, SCREEN_WIDTH};54 let window_manager = window_manager().unwrap(); in redraw_all() localVariable56 let cursor_rect = window_manager.cursor_rect(); in redraw_all()59 window_manager.rezbuffer(); in redraw_all()78 let zbuffer = window_manager.zbuffer.borrow_mut(); in redraw_all()84 let mut windows = window_manager.windows.borrow_mut(); in redraw_all()99 .get_mut(&window_manager.cursor_i.get()) in redraw_all()
11 window_manager::{window_manager, CursorKind, WindowManager},16 pub mod window_manager; module76 window_manager().unwrap().window_new( in run()89 window_manager().unwrap().polling_all_windows(); // 轮询所有窗口通信管道 in run()90 window_manager().unwrap().handle_all_events(); // 处理所有事件 in run()
25 pub fn window_manager() -> Option<Arc<WindowManager>> { in window_manager() function77 let window_manager = WindowManager { in new() localVariable90 WINDOW_MANAGER = Some(Arc::new(window_manager)); in new()
7 use super::window_manager::window_manager;75 window_manager().unwrap().send_events(events); in polling()