uh, left this project for a few days so idk

This commit is contained in:
LunarAkai 2025-07-31 22:04:00 +02:00
commit 168cdd6cf8
18 changed files with 76 additions and 11 deletions

View file

@ -1,2 +1,3 @@
//! Provides an abstraction above Winit functionality
pub mod window_config;
pub mod winit_window;

View file

@ -1,5 +1,3 @@
use std::{any::Any, string};
/// General Config for [`WinitWindow`](crate::winit::winit_window::WinitWindow)
pub struct WindowConfig {
pub title: String,

View file

@ -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;