[−][src]Trait cat_engine::WindowPage
Типаж для создания страниц окна. Trait for implementing window pages.
Типаж для создания страниц окна. Trait for implementing window pages.
fn on_close_requested(&mut self, window: &mut Window)
fn on_redraw_requested(&mut self, window: &mut Window)
fn on_mouse_pressed(&mut self, window: &mut Window, button: MouseButton)
fn on_mouse_released(&mut self, window: &mut Window, button: MouseButton)
fn on_mouse_scrolled(&mut self, window: &mut Window, scroll: MouseScrollDelta)
fn on_mouse_moved(&mut self, window: &mut Window, position: [f32; 2])
fn on_keyboard_pressed(&mut self, window: &mut Window, button: KeyboardButton)
fn on_keyboard_released(&mut self, window: &mut Window, button: KeyboardButton)
fn on_character_recieved(&mut self, window: &mut Window, character: char)
fn on_window_resized(&mut self, window: &mut Window, new_size: [u32; 2])
fn on_window_moved(&mut self, window: &mut Window, position: [i32; 2])
fn on_window_focused(&mut self, window: &mut Window, focused: bool)
fn on_suspended(&mut self, window: &mut Window)
fn on_resumed(&mut self, window: &mut Window)
fn on_file_dropped(&mut self, window: &mut Window, path: PathBuf)
fn on_file_hovered(&mut self, window: &mut Window, path: PathBuf)
fn on_file_hovered_canceled(&mut self, window: &mut Window)