canary-rs/apps/magpie/src/window.rs

13 lines
265 B
Rust
Raw Normal View History

2022-10-28 02:15:47 +00:00
use canary::PanelId;
use glium::glutin;
use glutin::event::{Event, WindowEvent};
use glutin::event_loop::{ControlFlow, EventLoop};
use crate::gl::Graphics;
pub struct Window {
pub display: glium::Display,
pub graphics: Graphics,
pub panel: PanelId,
}