21 lines
553 B
Rust
21 lines
553 B
Rust
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
mod application;
|
|
mod domain;
|
|
mod infrastructure;
|
|
mod ui;
|
|
|
|
use ui::app::App;
|
|
|
|
fn main() -> iced::Result {
|
|
iced::application("Comparador de Notas", App::update, App::view)
|
|
.subscription(App::subscription)
|
|
.theme(|_app| ui::theme::tema_dark())
|
|
.window(iced::window::Settings {
|
|
size: iced::Size::new(1024.0, 768.0),
|
|
min_size: Some(iced::Size::new(800.0, 600.0)),
|
|
..Default::default()
|
|
})
|
|
.run_with(App::new)
|
|
}
|