aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-02-27 22:04:48 -0500
committerSam Anthony <sam@samanthony.xyz>2025-02-27 22:04:48 -0500
commitaf662e8de6003d1b966ff8a049494488cd60f136 (patch)
tree0378ed22ca23d62afbdec1e1b09ef8baff8a49cb /ui.h
parentc121528c29204268f760f1e17918a5980768659a (diff)
downloadvolute-af662e8de6003d1b966ff8a049494488cd60f136.zip
rpm, map, and ve inputs
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index c8388c4..232ef54 100644
--- a/ui.h
+++ b/ui.h
@@ -1,6 +1,17 @@
+enum { MAX_POINTS = 16 };
+
typedef struct {
w_Field displacement;
w_Select displacement_unit;
+
+ w_Field rpm[MAX_POINTS];
+
+ w_Field map[MAX_POINTS];
+ w_Select map_unit;
+
+ w_Field ve[MAX_POINTS];
+
+ int npoints;
} UI;
void init_ui(UI *ui);