diff options
Diffstat (limited to 'schist_desktop_gui/src/main.rs')
| -rw-r--r-- | schist_desktop_gui/src/main.rs | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/schist_desktop_gui/src/main.rs b/schist_desktop_gui/src/main.rs index f79c691..b836453 100644 --- a/schist_desktop_gui/src/main.rs +++ b/schist_desktop_gui/src/main.rs @@ -1,2 +1,18 @@ -fn main() { -} +mod config; +mod message; +mod settings; +mod state; +mod theme; +mod window_settings; +mod view; + +use crate::{config::Config, settings::make_settings, state::State, theme::make_theme, window_settings::make_window_settings, view::view}; + +fn main() -> iced::Result { + let config = Config::default(); + iced::application("Schist", State::update, view) + .settings(make_settings(&config.clone())) + .theme(|state: &State| make_theme(state)) + .window(make_window_settings(&config.clone())) + .run() +}
\ No newline at end of file |
