[][src]Trait megaui::InputHandler

pub trait InputHandler {
    pub fn mouse_down(&mut self, position: (f32, f32));
pub fn mouse_up(&mut self, _: (f32, f32));
pub fn mouse_wheel(&mut self, x: f32, y: f32);
pub fn mouse_move(&mut self, position: (f32, f32));
pub fn char_event(&mut self, character: char, shift: bool, ctrl: bool);
pub fn key_down(&mut self, key_down: KeyCode, shift: bool, ctrl: bool); }

Required methods

pub fn mouse_down(&mut self, position: (f32, f32))[src]

pub fn mouse_up(&mut self, _: (f32, f32))[src]

pub fn mouse_wheel(&mut self, x: f32, y: f32)[src]

pub fn mouse_move(&mut self, position: (f32, f32))[src]

pub fn char_event(&mut self, character: char, shift: bool, ctrl: bool)[src]

pub fn key_down(&mut self, key_down: KeyCode, shift: bool, ctrl: bool)[src]

Loading content...

Implementors

impl InputHandler for Ui[src]

Loading content...