• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ncurses-42/ncurses/menu/

Lines Matching refs:items

47   16,				  /* Nr. of items high */
48 1, /* Nr. of items wide */
49 16, /* Nr. of formatted items high */
50 1, /* Nr. of formatted items wide */
51 16, /* Nr. of items high (actual) */
65 (ITEM **)0, /* List of items */
66 0, /* Total Nr. of items in menu */
105 | of the items connected to the menu
114 ITEM **items;
117 assert(menu && menu->items);
118 for (items = menu->items; *items; items++)
120 check = _nc_Calculate_Text_Width(&((*items)->name));
124 check = _nc_Calculate_Text_Width(&((*items)->description));
138 | Description : Reset all informations in the menu and the items in
144 ResetConnectionInfo(MENU * menu, ITEM ** items)
148 assert(menu && items);
149 for (item = items; *item; item++)
158 menu->items = (ITEM **) 0;
164 | Function : bool _nc_Connect_Items(MENU *menu, ITEM **items)
166 | Description : Connect the items in the item array to the menu.
167 | Decorate all the items with a number and a backward
174 _nc_Connect_Items(MENU * menu, ITEM ** items)
179 if (menu && items)
181 for (item = items; *item; item++)
192 for (item = items; *item; item++)
208 menu->items = items;
215 menu->curitem = *items;
221 /* If we fall through to this point, we have to reset all items connection
223 ResetConnectionInfo(menu, items);
238 if (menu && menu->items)
239 ResetConnectionInfo(menu, menu->items);
295 ITEM **items;
297 assert(menu && menu->items);
299 if (menu->items != 0)
301 for (items = menu->items; *items; items++)
305 check = _nc_Calculate_Text_Width(&((*items)->name));
309 check = _nc_Calculate_Text_Width(&((*items)->description));
381 if (menu && menu->items && *(menu->items))
399 item = menu->items[i];
405 predecessor in the items array */
406 menu->items[i - 1] :
407 (cycle ? menu->items[(Last_in_Row >= Number_Of_Items) ?
415 menu->items[i + 1] :
416 (cycle ? menu->items[row * Number_Of_Columns] :
422 item->up = (row) ? menu->items[i - Number_Of_Columns] :
423 (cycle ? menu->items[(Last_in_Column >= Number_Of_Items) ?
430 menu->items[i + Number_Of_Columns] :
431 (cycle ? menu->items[(row + 1) < menu->rows ?
449 item = menu->items[i = (col * Number_Of_Rows + row)];
454 menu->items[i - Number_Of_Rows] :
456 menu->items[Last_in_Column - Number_Of_Rows] :
457 menu->items[Last_in_Column] :
462 menu->items[i + Number_Of_Rows] :
463 (cycle ? menu->items[row] : (ITEM *) 0);
468 menu->items[i - 1] :
470 menu->items[(Last_in_Row >= Number_Of_Items) ?
477 (menu->items[((i + 1) < Number_Of_Items) ?
481 menu->items[col * Number_Of_Rows] :