Added touch/click settings panels for SpO₂, ART, CO₂ and the bottom-right NIBP cell. Their threshold editors use large, unit-specific +/− and ON/OFF controls; the panels expose relevant waveform/sensor options and stay synchronized with Admin. NIBP additionally provides interval selection, manual **Measure now**, Auto ON/OFF and cuff options. Startup no longer initiates a cuff cycle or shows any NIBP reading; Auto is OFF by default. Existing NIBP cycle physics and signal quality behavior are unchanged.
10 lines
384 B
Diff
10 lines
384 B
Diff
--- a/src/ui.rs
|
|
+++ b/src/ui.rs
|
|
@@ -80,6 +80,7 @@
|
|
let previous = Rc::new(Cell::new(Instant::now()));
|
|
canvas.add_tick_callback({
|
|
let params = params.clone();
|
|
+ let simulator = simulator.clone();
|
|
move |area, _frame_clock| {
|
|
let now = Instant::now();
|
|
let elapsed = now.saturating_duration_since(previous.get()).as_secs_f64();
|