Module conversion

Source
Expand description

Convert winit types into iced_runtime types, and viceversa.

Functions§

cursor_position
Converts a physical cursor position to a logical Point.
fullscreen
Converts a window::Mode to a winit fullscreen mode.
icon
Converts some window::Icon into it’s winit counterpart.
key
Converts a Key from winit to an iced key.
key_code
Converts a KeyCode from winit to an iced key code.
mode
Converts a winit fullscreen mode to a window::Mode.
modifiers
Converts some ModifiersState from winit to an iced modifiers state.
mouse_button
Converts a MouseButton from winit to an iced mouse button.
mouse_interaction
Converts a mouse::Interaction to a winit cursor icon.
native_key_code
Converts a NativeKeyCode from winit to an iced native key code.
physical_key
Converts a PhysicalKey from winit to an iced physical key.
position
Converts a window::Position to a winit logical position for a given monitor.
touch_event
Converts a Touch from winit to an iced touch event.
user_attention
Converts some UserAttention into it’s winit counterpart.
visible
Converts a window::Mode to a visibility flag.
window_attributes
Converts some window::Settings into some WindowAttributes from winit.
window_event
Converts a winit window event into an iced event.
window_level
Converts a window::Level to a winit window level.