Trait awi::WindowOps[][src]

pub trait WindowOps {
    fn new(title: &str, icon: (u16, u16, Vec<u32>), v: Option<i32>) -> Self;
fn show(&self);
fn update(&self);
fn poll_event(
        &mut self,
        input: &mut InputQueue,
        wh: &mut (u16, u16),
        keyboard: &mut Keyboard
    ) -> bool;
fn get_connection(&self) -> WindowConnection; }

Native window operations for implementing new platforms.

Required Methods

Create the window.

Show the window.

Re-draw the window.

Poll for events, returns true if there's more. Adds 1+ to input.

Get connection details

Implementors