We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f69ff61 commit 7c3d34dCopy full SHA for 7c3d34d
src/lib.rs
@@ -157,6 +157,14 @@ impl WinitPlatform {
157
_ => (),
158
}
159
160
+
161
+ /// Handles a winit window event.
162
+ ///
163
+ /// This function performs the following actions (depends on the event):
164
165
+ /// * window size / dpi factor changes are applied
166
+ /// * keyboard state is updated
167
+ /// * mouse state is updated
168
pub fn handle_window_event(&mut self, io: &mut Io, window: &Window, event: &WindowEvent) {
169
match *event {
170
WindowEvent::Resized(physical_size) => {
0 commit comments