baseview 0.2.2

Low-level windowing system geared towards making audio plugin UIs.
Documentation
1
2
3
4
5
6
7
use crate::{Event, EventStatus, WindowSize};

pub trait WindowHandler: 'static {
    fn on_frame(&self);
    fn resized(&self, new_size: WindowSize);
    fn on_event(&self, event: Event) -> EventStatus;
}