1 2 3 4 5 6 7 8 9 10 11 12
use egui::Context; use crate::state::UiState; impl UiState { pub fn show_statusline(&self, ctx: &Context) { // statusline with events and other info egui::TopBottomPanel::bottom("statusline").show(ctx, |ui| { ui.label(&self.last_event); }); } }