unen_window 0.0.3

Window crate for UnnamedEngine
Documentation
1
2
3
4
5
6
7
8
9
10
11
use unen_event::prelude::Event;

use crate::handle::SendableWindowHandle;

#[derive(Debug, Event)]
pub enum WindowEvent {
    Created(SendableWindowHandle),
    Resized { width: u32, height: u32 },
    Redraw,
    Destroyed,
}