Expand description
A function for converting a winit::Event to a conrod::event::Input.
Modules§
Macros§
- conversion_
fns - Generate a set of conversion functions for converting between types of the crate’s versions of
winitandconrod_core. - convert_
event - A macro for converting a
winit::Eventto aconrod_core::event::Input. - convert_
key - Maps winit’s key to a conrod
Key. - convert_
mouse_ button - Maps winit’s mouse button to conrod’s mouse button.
- convert_
mouse_ cursor - Convert a given conrod mouse cursor to the corresponding winit cursor type.
- convert_
window_ event - A macro for converting a
winit::WindowEventto aOption<conrod_core::event::Input>. - v020_
conversion_ fns - v020_
convert_ event - A macro for converting a
winit::Eventto aconrod_core::event::Input. - v020_
convert_ key - v020_
convert_ mouse_ button - Maps winit’s mouse button to conrod’s mouse button.
- v020_
convert_ mouse_ cursor - Convert a given conrod mouse cursor to the corresponding winit cursor type.
- v020_
convert_ window_ event - A macro for converting a
winit::WindowEventto aOption<conrod_core::event::Input>. - v021_
conversion_ fns - v021_
convert_ event - A macro for converting a
winit::Eventto aconrod_core::event::Input. - v021_
convert_ key - v021_
convert_ mouse_ button - Maps winit’s mouse button to conrod’s mouse button.
- v021_
convert_ mouse_ cursor - Convert a given conrod mouse cursor to the corresponding winit cursor type.
- v021_
convert_ window_ event - A macro for converting a
winit::WindowEventto aOption<conrod_core::event::Input>. - v022_
conversion_ fns - v022_
convert_ event - A macro for converting a
winit::Eventto aconrod_core::event::Input. - v022_
convert_ key - v022_
convert_ mouse_ button - Maps winit’s mouse button to conrod’s mouse button.
- v022_
convert_ mouse_ cursor - Convert a given conrod mouse cursor to the corresponding winit cursor type.
- v022_
convert_ window_ event - A macro for converting a
winit::WindowEventto aOption<conrod_core::event::Input>. - v023_
conversion_ fns - v023_
convert_ event - A macro for converting a
winit::Eventto aconrod_core::event::Input. - v023_
convert_ key - v023_
convert_ mouse_ button - Maps winit’s mouse button to conrod’s mouse button.
- v023_
convert_ mouse_ cursor - Convert a given conrod mouse cursor to the corresponding winit cursor type.
- v023_
convert_ window_ event - A macro for converting a
winit::WindowEventto aOption<conrod_core::event::Input>.
Traits§
- Winit
Window - Types that have access to a
winit::Windowand can provide the necessary dimensions and hidpi factor for convertingwinit::Events toconrod::event::Input, as well as set the mouse cursor.