diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-03-01 13:02:48 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-03-01 13:02:48 -0500 |
| commit | 86e37e20bcb08025b6e8d9ba3dd970d27f9ef077 (patch) | |
| tree | b02ff14ce958f5f100ccda19a4096b1c91e8e9fe /widget.h | |
| parent | 5c871346cb3db341e9b4061618c3cee4497b04e9 (diff) | |
| download | volute-86e37e20bcb08025b6e8d9ba3dd970d27f9ef077.zip | |
field size constant
Diffstat (limited to 'widget.h')
| -rw-r--r-- | widget.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,9 +1,12 @@ -enum { LABEL_SIZE = 128 }; +enum { + FIELD_SIZE = 64, + LABEL_SIZE = 128, +}; /* Field is a floating point number input field. */ typedef struct { - char buf[64]; + char buf[FIELD_SIZE]; double value; int invalid; } w_Field; |