uh, left this project for a few days so idk
This commit is contained in:
parent
418a92d38f
commit
168cdd6cf8
18 changed files with 76 additions and 11 deletions
|
|
@ -1,2 +1,3 @@
|
|||
//! Provides an abstraction above Winit functionality
|
||||
pub mod window_config;
|
||||
pub mod winit_window;
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
use std::{any::Any, string};
|
||||
|
||||
/// General Config for [`WinitWindow`](crate::winit::winit_window::WinitWindow)
|
||||
pub struct WindowConfig {
|
||||
pub title: String,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
use std::error::Error;
|
||||
|
||||
use winit::{application::ApplicationHandler, dpi::LogicalSize, event::WindowEvent, event_loop::{ActiveEventLoop, EventLoop}, window::{Window, WindowAttributes, WindowId}};
|
||||
use winit::{application::ApplicationHandler, dpi::LogicalSize, event::WindowEvent, event_loop::ActiveEventLoop, window::{Window, WindowAttributes}};
|
||||
|
||||
use crate::window_config::WindowConfig;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue