/StarryEngine/starry_client/src/base/ |
H A D | event.rs | 14 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 D | inputs.rs | 3 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 D | mod.rs | 3 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 D | window_manager.rs | 9 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 D | panel.rs | 19 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 D | event.rs | 4 pub enum Event { enum
|
/StarryEngine/starry_server/src/base/ |
H A D | window.rs | 3 use starry_client::base::event::Event; 44 pub events: Vec<Event>,
|
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | mod.rs | 11 base::{event::Event, panel::Panel, rect::Rect, vector2::Vector2}, 94 _event: Event, in handle_event() argument
|
/StarryEngine/starry_toolkit/src/layout/ |
H A D | grid.rs | 11 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 D | list.rs | 217 _event: crate::base::event::Event, in handle_event() argument
|