aboutsummaryrefslogtreecommitdiffstats
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index c88ccb5..6f31e35 100644
--- a/ui.c
+++ b/ui.c
@@ -78,6 +78,11 @@ set_map(UI *ui, int idx) {
}
void
+set_ve(UI *ui, int idx) {
+ ui->points[idx].ve = percent(ui->ve[idx].value);
+}
+
+void
set_volume_flow_rate(UI *ui, int idx) {
int unit_idx;
double (*convert)(VolumeFlowRate), v;