23 lines
616 B
Rust
23 lines
616 B
Rust
mod adapters;
|
|
mod application;
|
|
mod domain;
|
|
mod infrastructure;
|
|
mod ui;
|
|
|
|
fn main() -> eframe::Result<()> {
|
|
// Configurações nativas da janela
|
|
let native_options = eframe::NativeOptions {
|
|
viewport: eframe::egui::ViewportBuilder::default()
|
|
.with_title("Editor de Faixas de Mídia")
|
|
.with_inner_size([1100.0, 720.0])
|
|
.with_min_inner_size([700.0, 500.0]),
|
|
..Default::default()
|
|
};
|
|
|
|
eframe::run_native(
|
|
"Editor de Faixas de Mídia",
|
|
native_options,
|
|
Box::new(|cc| Box::new(ui::app::App::new(cc)) as Box<dyn eframe::App>),
|
|
)
|
|
}
|