use super::{WindowDescriptor, WindowId};
use bevy_math::Vec2;
#[derive(Debug, Clone)]
pub struct WindowResized {
pub id: WindowId,
pub width: usize,
pub height: usize,
}
#[derive(Debug, Clone)]
pub struct CreateWindow {
pub id: WindowId,
pub descriptor: WindowDescriptor,
}
#[derive(Debug, Clone)]
pub struct CloseWindow {
pub id: WindowId,
}
#[derive(Debug, Clone)]
pub struct WindowCreated {
pub id: WindowId,
}
#[derive(Debug, Clone)]
pub struct WindowCloseRequested {
pub id: WindowId,
}
#[derive(Debug, Clone)]
pub struct CursorMoved {
pub id: WindowId,
pub position: Vec2,
}