diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-02-28 14:01:48 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-02-28 14:01:48 -0500 |
| commit | e0b42abda8d5d4e6e350ccd15618f7a2f1b14f6c (patch) | |
| tree | 205e959d255101dae3f29218e32089b07a9fed89 /ui.h | |
| parent | a5e695b40492346c73b5fa88e2adcd414eb8a54c (diff) | |
| download | volute-e0b42abda8d5d4e6e350ccd15618f7a2f1b14f6c.zip | |
dup/del buttons
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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); |