aboutsummaryrefslogtreecommitdiffstats
path: root/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget.h')
-rw-r--r--widget.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/widget.h b/widget.h
index 34e6edf..e1bbf2c 100644
--- a/widget.h
+++ b/widget.h
@@ -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. */