aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
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);