[−][src]Macro conrod_winit::convert_window_event
macro_rules! convert_window_event { ($event:expr, $window:expr) => { ... }; }
A macro for converting a winit::WindowEvent
to a Option<conrod_core::event::Input>
.
Expects a winit::WindowEvent
and a reference to a window implementing WinitWindow
.
Returns an Option<conrod_core::event::Input>
.