use crate::graphics::{DisplayMode, Vsync};
use alloc::string::String;
#[derive(Debug, Clone, PartialEq)]
pub struct WindowSettings {
pub title: String,
pub display_mode: DisplayMode,
pub vsync: Vsync,
}
impl Default for WindowSettings {
fn default() -> WindowSettings {
WindowSettings {
title: String::from("Storm Engine"),
display_mode: DisplayMode::Windowed {
width: 500,
height: 500,
resizable: true,
},
vsync: Vsync::Disabled,
}
}
}