Home
last modified time | relevance | path

Searched refs:ButtonEvent (Results 1 – 3 of 3) sorted by relevance

/StarryEngine/starry_client/src/base/
H A Devent.rs8 Button(ButtonEvent),
51 EVENT_BUTTON => EventOption::Button(ButtonEvent::from_event(self)), in to_option()
119 pub struct ButtonEvent { struct
128 impl ButtonEvent { argument
130 ButtonEvent { in new()
147 pub fn from_event(event: Event) -> ButtonEvent { in from_event() argument
148 ButtonEvent { in from_event()
/StarryEngine/starry_server/src/core/input/
H A Dinputs.rs3 use starry_client::base::event::{ButtonEvent, Event, MouseRelativeEvent};
92 events.push(ButtonEvent::new(packet).to_event()); in handle()
/StarryEngine/starry_server/src/core/
H A Dwindow_manager.rs9 ButtonEvent, Event, EventOption, KeyEvent, MouseRelativeEvent, MouseUpdateEvent,
233 fn handle_button_event(&self, _event: ButtonEvent) {} in handle_button_event() argument