Home
last modified time | relevance | path

Searched refs:Event (Results 1 – 10 of 10) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Devent.rs14 Unknown(Event),
29 pub struct Event { struct
35 impl Event { implementation
36 pub fn new() -> Event { in new()
37 Event { in new()
70 pub fn to_event(&self) -> Event { in to_event() argument
71 Event { in to_event()
79 pub fn from_event(event: Event) -> KeyEvent { in from_event()
99 pub fn to_event(&self) -> Event { in to_event() argument
100 Event { in to_event()
[all …]
/StarryEngine/starry_server/src/core/input/
H A Dinputs.rs3 use starry_client::base::event::{ButtonEvent, Event, MouseRelativeEvent};
79 fn handle(&mut self, packet: u8) -> Vec<Event> { in handle() argument
86 let mut events: Vec<Event> = Vec::new(); in handle()
154 fn handle(&mut self, _packet: u8) -> Vec<Event> { in handle() argument
H A Dmod.rs3 use starry_client::base::event::Event;
60 fn handle(&mut self, packet: u8) -> Vec<Event>; in handle() argument
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs9 ButtonEvent, Event, EventOption, KeyEvent, MouseRelativeEvent, MouseUpdateEvent,
71 events: RefCell<Vec<Event>>,
163 pub fn send_event(&self, event: Event) { in send_event() argument
168 pub fn send_events(&self, mut events: Vec<Event>) { in send_events() argument
186 fn handle_event(&self, event_union: Event) { in handle_event() argument
/StarryEngine/starry_toolkit/src/base/
H A Dpanel.rs19 use super::{event::Event, rect::Rect};
93 events: RefCell<Vec<Event>>,
294 pub fn push_event(&self, event: Event) { in push_event() argument
325 self.push_event(Event::KeyPressed { in polling_tty()
H A Devent.rs4 pub enum Event { enum
/StarryEngine/starry_server/src/base/
H A Dwindow.rs3 use starry_client::base::event::Event;
44 pub events: Vec<Event>,
/StarryEngine/starry_toolkit/src/widgets/
H A Dmod.rs11 base::{event::Event, panel::Panel, rect::Rect, vector2::Vector2},
94 _event: Event, in handle_event() argument
/StarryEngine/starry_toolkit/src/layout/
H A Dgrid.rs11 base::{event::Event, panel::Panel, rect::Rect, vector2::Vector2},
288 event: Event, in handle_event() argument
294 Event::KeyPressed { character, .. } => { in handle_event()
H A Dlist.rs217 _event: crate::base::event::Event, in handle_event() argument