use eframe::egui;

fn main() -> eframe::Result<()> {
    let options = eframe::NativeOptions {
        viewport: egui::ViewportBuilder::default()
            .with_title("Motte")
            .with_inner_size([1060.0, 720.0])
            .with_min_inner_size([680.0, 500.0]),
        ..Default::default()
    };

    eframe::run_native(
        "Motte",
        options,
        Box::new(|cc| Ok(Box::new(motte::app::MotteApp::new(cc)))),
    )
}
