at main 489 B view raw
1fn main() -> eframe::Result { 2 env_logger::init(); // Log to stderr (if you run with `RUST_LOG=debug`). 3 4 let native_options = eframe::NativeOptions { 5 viewport: egui::ViewportBuilder::default() 6 .with_inner_size([400.0, 300.0]) 7 .with_min_inner_size([300.0, 220.0]), 8 ..Default::default() 9 }; 10 eframe::run_native( 11 "Star Studio", 12 native_options, 13 Box::new(|cc| Ok(Box::new(star_studio::StarStudio::new(cc)))), 14 ) 15}