diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-04-28 12:42:33 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-04-28 12:42:33 -0400 |
| commit | 8dbf0d70b04b7dbb995a74e1f5ee183228ab80ac (patch) | |
| tree | 0b1684bf8c9c66b614dd52a1b6b2f7461fc8726c /widget.h | |
| parent | ba1170ac0504fbe7cf96a9d6515477ed8de1b29d (diff) | |
| download | volute-8dbf0d70b04b7dbb995a74e1f5ee183228ab80ac.zip | |
add filter string buffers to compressor-select widget
Diffstat (limited to 'widget.h')
| -rw-r--r-- | widget.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -33,11 +33,15 @@ typedef struct { const Compressor *comps; int n; /* len(comps) */ + char **names; /* buffer to hold names of compressors. */ + + char brand_filter[NAME_SIZE]; + char series_filter[NAME_SIZE]; + char model_filter[NAME_SIZE]; + int *filtered; /* indices of compressors accepted by the filter. */ int nfiltered; /* len(filtered) */ - char **names; /* buffer to hold names of compressors. */ - int idx; /* index of selected in filtered. */ int oldidx; /* index of previously selected. */ |