🚀 initial commit
This commit is contained in:
19
src/main.rs
Normal file
19
src/main.rs
Normal file
@@ -0,0 +1,19 @@
|
||||
use eframe::Renderer;
|
||||
use Application_Catnip::TemplateApp;
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
eframe::run_native(
|
||||
"Meow",
|
||||
eframe::NativeOptions {
|
||||
centered: true,
|
||||
renderer: Renderer::Glow,
|
||||
viewport: egui::ViewportBuilder::default()
|
||||
.with_inner_size([400.0, 300.0])
|
||||
.with_min_inner_size([300.0, 220.0]),
|
||||
..Default::default()
|
||||
},
|
||||
Box::new(|context| Ok(Box::new(TemplateApp::new(context)))),
|
||||
)
|
||||
.expect("TODO: panic message");
|
||||
}
|
||||
Reference in New Issue
Block a user