mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2025-04-04 16:54:55 +03:00
21 lines
482 B
Rust
21 lines
482 B
Rust
{8a64cf1a90068dd8e7f895ea157eb9f761b78ff7 true 482 main.rs 0xc001e00d20}
pub mod area_capture;
|
|
pub mod config_management;
|
|
pub mod fluent;
|
|
pub mod timer;
|
|
mod ui;
|
|
|
|
use libadwaita::Application;
|
|
use libadwaita::prelude::{ApplicationExt, ApplicationExtManual};
|
|
use ui::run_ui;
|
|
|
|
#[async_std::main]
|
|
async fn main() {
|
|
// Init GTK
|
|
libadwaita::gtk::init().expect("Failed to initialize GTK.");
|
|
|
|
// Create new application
|
|
let application = Application::new(None, Default::default());
|
|
application.connect_activate(run_ui);
|
|
application.run();
|
|
}
|