Lines Matching refs:items

80 	unsigned int y;      /* changes moving focus around items */
93 struct bsddialog_formitem *items, struct privateform *f)
102 CHECK_ARRAY(nitems, items);
104 if (items[i].fieldlen == 0)
107 if (items[i].maxvaluelen == 0)
127 /* alloc and set private items */
135 item->label = CHECK_STR(items[i].label);
136 item->ylabel = items[i].ylabel;
137 item->xlabel = items[i].xlabel;
138 item->yfield = items[i].yfield;
139 item->xfield = items[i].xfield;
140 item->secure = items[i].flags & BSDDIALOG_FIELDHIDDEN;
141 item->readonly = items[i].flags & BSDDIALOG_FIELDREADONLY;
142 item->fieldnocolor = items[i].flags & BSDDIALOG_FIELDNOCOLOR;
143 item->extendfield = items[i].flags & BSDDIALOG_FIELDEXTEND;
144 item->fieldonebyte = items[i].flags &
146 item->cursorend = items[i].flags & BSDDIALOG_FIELDCURSOREND;
147 item->bottomdesc = CHECK_STR(items[i].bottomdesc);
148 if (items[i].bottomdesc != NULL)
155 item->maxletters = items[i].maxvaluelen;
165 if ((winit = alloc_mbstows(CHECK_STR(items[i].init))) == NULL)
176 item->fieldcols = items[i].fieldlen;
359 struct bsddialog_formitem *items)
365 items[i].value = (char*)wcsdup(f->pritems[i].privwbuf);
367 items[i].value = alloc_wstomb(f->pritems[i].privwbuf);
369 if (items[i].value == NULL)
394 static unsigned int firstitem(unsigned int nitems, struct privateitem *items)
399 if (items[i].readonly == false)
405 static unsigned int lastitem(unsigned int nitems, struct privateitem *items)
410 if (items[i].readonly == false)
417 previtem(unsigned int nitems, struct privateitem *items, int curritem)
422 if (items[i].readonly == false)
426 if (items[i].readonly == false)
433 nextitem(unsigned int nitems, struct privateitem *items, int curritem)
438 if (items[i].readonly == false)
442 if (items[i].readonly == false)
518 * again. It seems fixed by new items pad and prefresh(), previously WINDOW.
675 struct bsddialog_formitem *items, int *focusitem)
689 if (build_privateform(conf, nitems, items, &form) != 0)
905 if (return_values(conf, &form, items) == BSDDIALOG_ERROR)