wip changes

This commit is contained in:
Nickiel12 2024-05-22 19:27:35 -06:00
parent 76904e33b2
commit 9487a9439c

View file

@ -234,8 +234,12 @@ pub fn build_ui(app: &Application, config: Arc<RwLock<AppConfig>>, runtime: Hand
}), }),
); );
println!("We are here!");
glib::spawn_future_local( glib::spawn_future_local(
glib::clone!(@weak axis_label, @weak conn_status_label, @weak control_panel, @strong gui_recv, @weak drawable => async move { glib::clone!(@weak axis_label, @weak conn_status_label, @weak control_panel, @weak drawable => async move {
println!("We are also here!");
info!("Hello world!");
while let Ok(d) = gui_recv.recv().await { while let Ok(d) = gui_recv.recv().await {
drawable.queue_draw(); drawable.queue_draw();
match d { match d {
@ -274,6 +278,7 @@ pub fn build_ui(app: &Application, config: Arc<RwLock<AppConfig>>, runtime: Hand
} }
} }
} }
info!("Closing update loop");
}), }),
); );