27 lines
618 B
Rust
27 lines
618 B
Rust
mod application;
|
|
mod domain;
|
|
mod infrastructure;
|
|
mod ui;
|
|
|
|
use ui::app::App;
|
|
|
|
fn main() -> eframe::Result {
|
|
let native_options = eframe::NativeOptions {
|
|
viewport: egui::ViewportBuilder::default()
|
|
.with_title("Comparador de Notas")
|
|
.with_inner_size([1024.0, 768.0])
|
|
.with_min_inner_size([800.0, 600.0]),
|
|
..Default::default()
|
|
};
|
|
|
|
eframe::run_native(
|
|
"Comparador de Notas",
|
|
native_options,
|
|
Box::new(|_cc| {
|
|
let mut app = App::default();
|
|
app.inicializar();
|
|
Ok(Box::new(app))
|
|
}),
|
|
)
|
|
}
|