v0.5.2: monitor layout change
This commit is contained in:
parent
3be878804b
commit
4eb67a76ec
6 changed files with 53 additions and 39 deletions
46
patient-monitor-simulation-v0.5.1-to-v0.5.2.patch
Normal file
46
patient-monitor-simulation-v0.5.1-to-v0.5.2.patch
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
diff -ruN a/Cargo.toml b/Cargo.toml
|
||||
--- a/Cargo.toml 2026-11-12 13:05:10.000000000 +0000
|
||||
+++ b/Cargo.toml 2026-11-12 13:10:05.130839688 +0000
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "patient-monitor-simulation"
|
||||
-version = "0.5.1"
|
||||
+version = "0.5.2"
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
description = "Synthetic patient-monitor simulation for teaching (not for clinical use)"
|
||||
diff -ruN a/README.de.md b/README.de.md
|
||||
--- a/README.de.md 2026-11-12 13:05:10.000000000 +0000
|
||||
+++ b/README.de.md 2026-11-12 13:10:05.131166243 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-# Patient Monitor Simulation (PaMSim) — v0.5.1
|
||||
+# Patient Monitor Simulation (PaMSim) — v0.5.2
|
||||
|
||||
Ein mit Rust und GTK4 entwickelter Patient*innenmonitor-Simulator mit zwei Fenstern für die Lehre unter Fedora Linux.
|
||||
|
||||
diff -ruN a/README.md b/README.md
|
||||
--- a/README.md 2026-11-12 13:05:10.000000000 +0000
|
||||
+++ b/README.md 2026-11-12 13:10:05.130976637 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-# Patient Monitor Simulation (PaMSim) — v0.5.1
|
||||
+# Patient Monitor Simulation (PaMSim) — v0.5.2
|
||||
|
||||
A two-window, Rust/GTK4 patient-monitor simulator for teaching on Fedora Linux.
|
||||
|
||||
diff -ruN a/src/render.rs b/src/render.rs
|
||||
--- a/src/render.rs 2026-11-12 13:05:10.000000000 +0000
|
||||
+++ b/src/render.rs 2026-11-12 13:10:05.128193199 +0000
|
||||
@@ -102,13 +102,6 @@
|
||||
let value_width = (width - 35.0).max(30.0);
|
||||
let small = (height * 0.095).clamp(10.0, 14.0);
|
||||
let number_size = (height * 0.25).clamp(18.0, 41.0);
|
||||
- // Subtle red outline distinguishes the independent cuff reading box.
|
||||
- let _ = cr.save();
|
||||
- cr.set_source_rgb(0.28, 0.09, 0.10);
|
||||
- cr.set_line_width(1.0);
|
||||
- cr.rectangle(x - 7.0, top, width + 13.0, height - 1.0);
|
||||
- let _ = cr.stroke();
|
||||
- let _ = cr.restore();
|
||||
text(cr, "NIBP", x, top + height * 0.13, small * 1.15, RED, true);
|
||||
if in_progress {
|
||||
text(cr, "MEASURING", x, top + height * 0.27, small, RED, false);
|
||||
Loading…
Reference in a new issue