use egui::Context;
use crate::state::UiState;
use crate::worker::WorkerHandle;
mod about;
mod central;
mod left;
mod status;
mod top;
impl UiState {
pub fn show(&mut self, ctx: &Context, worker: &mut WorkerHandle) {
self.show_about_dialog(ctx);
self.show_topbar(ctx, worker);
if self.show_sidebar(ctx) {
self.apply(worker);
}
self.show_central_panel(ctx);
self.show_statusline(ctx);
}
}