cog-task 1.2.0

A general-purpose low-latency application to run cognitive tasks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::server::Server;
use eframe::egui;
use eframe::egui::CursorIcon;

impl Server {
    #[inline]
    pub(crate) fn show_loading(&mut self, ui: &mut egui::Ui) {
        ui.output().cursor_icon = CursorIcon::None;

        ui.centered_and_justified(|ui| {
            ui.heading("...");
        });
    }
}