Home
last modified time | relevance | path

Searched refs:events (Results 1 – 5 of 5) sorted by relevance

/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs71 events: RefCell<Vec<Event>>, field
86 events: RefCell::new(Vec::new()), in new()
164 self.events.borrow_mut().push(event); in send_event()
168 pub fn send_events(&self, mut events: Vec<Event>) { in send_events()
169 self.events.borrow_mut().append(&mut events); in send_events()
174 while let Some(event) = self.events.borrow_mut().pop() { in handle_all_events()
/StarryEngine/starry_server/src/core/input/
H A Dinputs.rs86 let mut events: Vec<Event> = Vec::new(); in handle() localVariable
92 events.push(ButtonEvent::new(packet).to_event()); in handle()
116 events.push( in handle()
127 return events; in handle()
H A Dmod.rs74 let events = self.handle(buf[i]); in polling() localVariable
75 window_manager().unwrap().send_events(events); in polling()
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs93 events: RefCell<Vec<Event>>, field
118 events: RefCell::new(Vec::new()), in from_window()
278 while let Some(event) = self.events.borrow_mut().pop() { in handle_events()
295 self.events.borrow_mut().push(event); in push_event()
/StarryEngine/starry_server/src/base/
H A Dwindow.rs44 pub events: Vec<Event>, field
63 events: Vec::new(), in new()