aboutsummaryrefslogtreecommitdiffstats
path: root/widget.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-03-01 13:01:24 -0500
committerSam Anthony <sam@samanthony.xyz>2025-03-01 13:01:24 -0500
commit5c871346cb3db341e9b4061618c3cee4497b04e9 (patch)
tree9c70c115d0c026d1d7326a43ff844e510754cd81 /widget.h
parent5438f11e0d826b0d6222b0bc9bea5b5a0c23f6f8 (diff)
downloadvolute-5c871346cb3db341e9b4061618c3cee4497b04e9.zip
draw red box around bad input fields
Diffstat (limited to 'widget.h')
-rw-r--r--widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/widget.h b/widget.h
index bc6a375..c9a9a8a 100644
--- a/widget.h
+++ b/widget.h
@@ -5,6 +5,7 @@ enum { LABEL_SIZE = 128 };
typedef struct {
char buf[64];
double value;
+ int invalid;
} w_Field;
void w_init_field(w_Field *f);