Trait awi::WindowOps [] [src]

pub trait WindowOps {
    fn new(title: &str, icon: (u32, u32, &[u32]), v: Option<i32>) -> Self;
fn show(&self);
fn update(&self);
fn poll_event(
        &mut self,
        input: &mut InputQueue,
        wh: &mut (u32, u32),
        keyboard: &mut Keyboard
    ) -> bool;
fn fullscreen(&mut self);
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.

Toggle fullscreen.

Get connection details

Implementors