Lines Matching refs:ITEM
78 typedef struct __item ITEM;
86 int visible; /* set if item is visible */
87 int selected; /* set if item has been selected */
88 int row; /* menu row this item is on */
89 int col; /* menu column this item is on */
91 MENU *parent; /* menu this item is bound to */
92 int index; /* index number for this item, if attached */
93 /* The following are the item's neighbours - makes menu
95 ITEM *left;
96 ITEM *right;
97 ITEM *up;
98 ITEM *down;
104 int item_rows; /* number of item rows we have */
105 int item_cols; /* number of item columns we have */
117 attr_t grey; /* greyed out (nonselectable) menu item */
121 int max_item_width; /* widest item */
123 the same as the widest item */
125 ITEM **items; /* items associated with this menu */
126 int cur_item; /* item cursor is currently positioned at */
131 current item changes */
133 before current item changes */
165 MENU *new_menu(ITEM **);
172 int set_menu_items(MENU *, ITEM **);
184 ITEM *current_item(MENU *);
185 int free_item(ITEM *);
187 char *item_description(ITEM *);
188 int item_index(ITEM *);
190 char *item_name(ITEM *);
191 OPTIONS item_opts(ITEM *);
192 int item_opts_off(ITEM *, OPTIONS);
193 int item_opts_on(ITEM *, OPTIONS);
194 int item_selected(MENU *, int **); /* return the item index of selected */
196 char *item_userptr(ITEM *);
197 int item_value(ITEM *);
198 int item_visible(ITEM *);
199 ITEM **menu_items(MENU *);
200 ITEM *new_item(char *, char *);
201 int set_current_item(MENU *, ITEM *);
203 int set_item_opts(ITEM *, OPTIONS);
205 int set_item_userptr(ITEM *, char *);
206 int set_item_value(ITEM *, int);