aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui.h b/ui.h
index 232ef54..ac8b047 100644
--- a/ui.h
+++ b/ui.h
@@ -4,6 +4,8 @@ typedef struct {
w_Field displacement;
w_Select displacement_unit;
+ int npoints;
+
w_Field rpm[MAX_POINTS];
w_Field map[MAX_POINTS];
@@ -11,7 +13,9 @@ typedef struct {
w_Field ve[MAX_POINTS];
- int npoints;
+ Engine points[MAX_POINTS];
} UI;
void init_ui(UI *ui);
+void insert_point(UI *ui, int idx);
+void remove_point(UI *ui, int idx);