652 B · text History e745ef6
fn main() -> eframe::Result<()> {
    let options = eframe::NativeOptions {
        viewport: egui::ViewportBuilder::default()
            .with_inner_size([1360.0, 860.0])
            .with_min_inner_size([900.0, 600.0])
            .with_title("Icon Studio"),
        ..Default::default()
    };
    eframe::run_native(
        "icon-studio",
        options,
        Box::new(|cc| {
            // The icon picker renders Material Symbols as text, so egui needs
            // the same font the rasteriser uses.
            egui_material_icons::initialize(&cc.egui_ctx);
            Ok(Box::new(icon_studio::app::Studio::new()))
        }),
    )
}