Home | History | Annotate | Download | only in include

Lines Matching defs:ITEM

60 /* Item options: */
71 TEXT name; /* name of menu item */
72 TEXT description; /* description of item, optional in display */
74 void *userptr; /* Pointer to user defined per item data */
75 Item_Options opt; /* Item options */
76 short index; /* Item number if connected to a menu */
77 short y; /* y and x location of item in menu */
86 } ITEM;
102 short itemlen; /* Length of one item */
112 ITEM **items; /* array of items */
114 ITEM *curitem; /* Current item */
175 extern NCURSES_EXPORT(ITEM **) menu_items (const MENU *);
176 extern NCURSES_EXPORT(ITEM *) current_item (const MENU *);
177 extern NCURSES_EXPORT(ITEM *) new_item (const char *,const char *);
179 extern NCURSES_EXPORT(MENU *) new_menu (ITEM **);
181 extern NCURSES_EXPORT(Item_Options) item_opts (const ITEM *);
192 extern NCURSES_EXPORT(const char *) item_description (const ITEM *);
193 extern NCURSES_EXPORT(const char *) item_name (const ITEM *);
200 extern NCURSES_EXPORT(void *) item_userptr (const ITEM *);
206 extern NCURSES_EXPORT(int) free_item (ITEM *);
209 extern NCURSES_EXPORT(int) item_index (const ITEM *);
210 extern NCURSES_EXPORT(int) item_opts_off (ITEM *,Item_Options);
211 extern NCURSES_EXPORT(int) item_opts_on (ITEM *,Item_Options);
219 extern NCURSES_EXPORT(int) set_current_item (MENU *menu,ITEM *item);
221 extern NCURSES_EXPORT(int) set_item_opts (ITEM *,Item_Options);
223 extern NCURSES_EXPORT(int) set_item_userptr (ITEM *, void *);
224 extern NCURSES_EXPORT(int) set_item_value (ITEM *,bool);
230 extern NCURSES_EXPORT(int) set_menu_items (MENU *,ITEM **);
247 extern NCURSES_EXPORT(bool) item_value (const ITEM *);
248 extern NCURSES_EXPORT(bool) item_visible (const ITEM *);