2024-03-22 15:59:42 +03:00
|
|
|
mod game;
|
2024-03-25 05:20:18 +03:00
|
|
|
mod labled_switch;
|
2024-03-27 11:27:15 +03:00
|
|
|
mod ui;
|
2024-03-22 15:59:42 +03:00
|
|
|
|
2024-03-27 11:27:15 +03:00
|
|
|
use crate::ui::build_ui;
|
|
|
|
|
|
|
|
use gtk::prelude::*;
|
|
|
|
use gtk::{glib, Application};
|
2024-03-22 15:59:42 +03:00
|
|
|
|
2024-03-25 05:20:18 +03:00
|
|
|
const APP_ID: &str = "org.foxarmy.learn-hieroglyph";
|
2024-03-22 15:59:42 +03:00
|
|
|
|
|
|
|
fn main() -> glib::ExitCode {
|
|
|
|
let app = Application::builder().application_id(APP_ID).build();
|
|
|
|
|
|
|
|
app.connect_activate(build_ui);
|
|
|
|
|
|
|
|
app.run()
|
|
|
|
}
|