Trait rinapp::ApplicationCallbacks[][src]

pub trait ApplicationCallbacks {
    fn update(&mut self, _delta: f64, _gl: &Renderer, _window: &WindowT) { ... }
fn draw(&mut self, _gl: &Renderer, _window: &WindowT) { ... }
fn key_pressed(&mut self, _key: Key, _mods: KeyModifiers, _repeat: bool) { ... }
fn key_released(&mut self, _key: Key) { ... }
fn mouse_moved(&mut self, _pos: Pnt2<f64>) { ... }
fn mouse_pressed(
        &mut self,
        _pos: Pnt2<f64>,
        _button: MouseButton,
        _mods: KeyModifiers
    ) { ... }
fn mouse_released(
        &mut self,
        _pos: Pnt2<f64>,
        _button: MouseButton,
        _mods: KeyModifiers
    ) { ... }
fn window_moved(&mut self, _pos: Pnt2<i32>) { ... }
fn window_resized(&mut self, _size: Vec2<i32>) { ... }
fn scroll(&mut self, _scroll: Vec2<f64>) { ... }
fn window_closing(&mut self) { ... }
fn dropped(&mut self, paths: &[PathBuf]) { ... } }

Provided Methods

Implementors