| /src/lib/libmenu/ |
| userptr.c | 32 #include <menu.h> 36 /* the following is defined in menu.c */ 37 extern MENU _menui_default_menu; 68 * Return the user pointer for the given menu 71 menu_userptr(MENU *menu) 73 if (menu == NULL) 76 return menu->userptr; 80 * Set the user pointer for the given menu 83 set_menu_userptr(MENU *param_menu, char *userptr 85 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local [all...] |
| item.c | 32 #include <menu.h> 37 /* the following is defined in menu.c - it is the default menu struct */ 38 extern MENU _menui_default_menu; 50 NULL, /* parent menu item is bound to */ 51 -1, /* index number if item attached to a menu */ 97 * Set the application defined function called when the menu is posted or 101 set_item_init(MENU *menu, Menu_Hook func) 103 if (menu == NULL 360 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local [all...] |
| menu.c | 1 /* $NetBSD: menu.c,v 1.18 2012/12/30 12:27:09 blymn Exp $ */ 30 __RCSID("$NetBSD: menu.c,v 1.18 2012/12/30 12:27:09 blymn Exp $"); 33 #include <menu.h> 38 MENU _menui_default_menu = { 47 O_ONEVALUE, /* menu options */ 51 0, /* is the menu posted? */ 52 A_REVERSE, /* menu foreground */ 53 A_NORMAL, /* menu background */ 54 A_UNDERLINE, /* unselectable menu item */ 57 0, /* top row of menu */ 81 MENU *menu = m; local 117 MENU *menu = m; local 217 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 235 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 310 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 351 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 391 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 423 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 545 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 570 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 664 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local 719 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local [all...] |
| /src/sys/arch/hpc/stand/hpcboot/ |
| arch.cpp | 35 #include <menu/window.h> 36 #include <menu/rootwindow.h> // MessageBox 74 HpcMenuInterface &menu = HpcMenuInterface::Instance(); local 81 _boot_arg->argc = menu.setup_kernel_args(v + sizeof(struct BootArgs), 85 menu.setup_bootinfo(_boot_arg->bi);
|
| hpcboot.cpp | 35 #include <menu/window.h> 36 #include <menu/rootwindow.h> 58 HpcMenuInterface::Instance(); // Menu System 101 HpcMenuInterface &menu = HPC_MENU; local 107 menu.progress("0"); 113 menu.progress("1"); 129 menu.progress("2"); 137 menu.progress("3"); 157 menu.progress("4"); 163 menu.progress("5") [all...] |
| /src/sys/arch/hpc/stand/hpcboot/menu/ |
| rootwindow.cpp | 33 #include <menu/window.h> 34 #include <menu/tabwindow.h> 35 #include <menu/rootwindow.h> 88 HpcMenuInterface &menu = HpcMenuInterface::Instance(); 89 if (menu._pref.auto_boot > 0) 90 SetTimer(_window, IDD_TIMER, menu._pref.auto_boot * 1000, 0); 102 HpcMenuInterface &menu = HpcMenuInterface::Instance(); local 160 menu.get_options(); 161 if (menu._pref.safety_message) { 162 UINT mb_icon = menu._pref.pause_before_boot [all...] |
| menu.cpp | 1 /* -*-C++-*- $NetBSD: menu.cpp,v 1.13 2011/11/23 15:49:58 nonaka Exp $ */ 35 #include <menu/window.h> 36 #include <menu/tabwindow.h> 37 #include <menu/rootwindow.h> 42 #include <menu/menu.h> 53 HpcMenuInterface &menu = HPC_MENU; local 59 menu._main = new MainTabWindow(*this, IDC_BASE_MAIN); 60 w = menu._main; 63 menu._option = new OptionTabWindow(*this, IDC_BASE_OPTION) 94 HpcMenuInterface &menu = HPC_MENU; local 161 HpcMenuInterface &menu = HPC_MENU; local 254 HpcMenuInterface &menu = HPC_MENU; local 479 HpcMenuInterface &menu = HPC_MENU; local [all...] |
| /src/external/gpl2/texinfo/dist/info/ |
| nodemenu.c | 3 /* nodemenu.c -- produce a menu of all visited nodes. 34 * Menu:\n\ 42 * Menu: 125 static char *nodemenu_nodename = "*Node Menu*"; 149 /* We skip mentioning "*Node Menu*" nodes. */ 204 ((char *) _("Here is the menu of nodes you have recently visited.\n\ 205 Select one from this menu, or use `\\[history-node]' in another window.\n"), 0), 226 _("Make a window containing a menu of all of the currently visited nodes")) 279 not remove the flag. Otherwise, the *Node Menu* nodes themselves 280 appear in the node menu. --Andreas Schwa 310 REFERENCE **menu; local [all...] |
| indices.c | 31 /* In the Info sense, an index is a menu. This variable holds the last 138 REFERENCE **menu; local 140 /* Found one. Get its menu. */ 149 menu = info_menu_of_node (node); 151 /* If we have a menu, add this index's nodename and range 153 if (menu) 155 add_index_to_index_nodenames (menu, node); 158 result = info_concatenate_references (result, menu); 467 /* For every menu item in DIR, search the indices of that file for 484 /* For every menu item in DIR, get the associated node's file buffer an [all...] |
| info-utils.c | 52 /* How to get a reference (either menu or cross). */ 172 /* Return a NULL terminated array of REFERENCE * which represents the menu 173 found in NODE. If there is no menu in NODE, just return a NULL pointer. */ 179 REFERENCE **menu = (REFERENCE **)NULL; 186 /* Find the start of the menu. */ 192 /* We have the start of the menu now. Glean menu items from the rest 197 menu = info_menu_items (&tmp_search); 198 return (menu); 222 /* Glean menu entries from BINDING->buffer + BINDING->start until w 178 REFERENCE **menu = (REFERENCE **)NULL; local [all...] |
| /src/distrib/utils/edlabel/ |
| edlabel.c | 88 void menu(void); 490 menu(void) function 494 printf("edlabel menu:\n"); 517 menu(); 528 menu();
|
| /src/usr.bin/menuc/ |
| mdb.h | 35 /* mdb.h - definitions for the menu database. */ 57 /* menu definitions records. */ 67 int menu; member in struct:optn_info
|
| /src/external/bsd/nvi/dist/motif_l/ |
| m_menu.c | 45 /* This module defines the menu structure for vi. Each menu 53 * change VI_STRING to VI_COMMAND so that menu actions cannot 65 * X menu structure. The caller can place this 73 * Utility: Send a menu command to vi 76 * Change VI_STRING to VI_COMMAND so that menu actions cannot be confusing 247 * Menu action routines (one per menu entry) 249 * These are in the order in which they appear in the menu structure. 402 /* Menu construction routines * 516 Widget menu, pull, button; local [all...] |
| /src/external/bsd/tmux/dist/ |
| cmd-display-menu.c | 27 * Display a menu on a client. 38 .name = "display-menu", 39 .alias = "menu", 290 struct menu *menu = NULL; local 325 menu = menu_create(title); 331 menu_add_item(menu, NULL, item, tc, target); 337 menu_free(menu); 346 menu_add_item(menu, &menu_item, item, tc, target); 348 if (menu == NULL) [all...] |
| menu.c | 41 struct menu *menu; member in struct:menu_data 49 menu_add_items(struct menu *menu, const struct menu_item *items, 55 menu_add_item(menu, loop, qitem, c, fs); 59 menu_add_item(struct menu *menu, const struct menu_item *item, 70 if (line && menu->count == 0) 72 if (line && menu->items[menu->count - 1].name == NULL 145 struct menu *menu; local 189 struct menu *menu = md->menu; local 202 struct menu *menu = md->menu; local 244 struct menu *menu = md->menu; local [all...] |
| popup.c | 48 struct menu *menu; member in struct:popup_data 176 /* Check each returned range for the menu against the popup. */ 382 popup_menu_done(__unused struct menu *menu, __unused u_int choice, 392 pd->menu = NULL; 498 pd->menu = NULL; 517 goto menu; 533 goto menu; 573 menu [all...] |
| mode-tree.c | 49 const struct menu_item *menu; member in struct:mode_tree_data 457 mode_tree_swap_cb swapcb, void *modedata, const struct menu_item *menu, 469 mtd->menu = menu; 1070 mode_tree_menu_callback(__unused struct menu *menu, __unused u_int idx, 1094 struct menu *menu; local 1107 items = mtd->menu; 1113 menu = menu_create(title) [all...] |
| status.c | 1783 /* Complete word menu callback. */ 1785 status_prompt_menu_callback(__unused struct menu *menu, u_int idx, key_code key, 1814 /* Show complete word menu. */ 1819 struct menu *menu; local 1843 menu = menu_create(""); 1848 menu_add_item(menu, &item, NULL, c, NULL); 1861 if (menu_display(menu, MENU_NOMOUSE|MENU_TAB, 0, NULL, offset, py, c, 1864 menu_free(menu); 1876 struct menu *menu; local [all...] |
| /src/external/gpl2/texinfo/dist/makeinfo/ |
| insertion.h | 35 itemize, lisp, menu, multitable, quotation, rawdocbook, rawhtml, rawtex, enumerator in enum:insertion_type
|
| /src/external/gpl3/binutils/dist/binutils/ |
| rcparse.y | 127 %token MENU MENUEX MENUITEM SEPARATOR POPUP CHECKED GRAYED HELP INACTIVE OWNERDRAW 187 | input menu 362 dialog.menu.named = 1; 387 dialog.menu.named = 1; 414 dialog.menu.named = 1; 528 | styles MENU id 530 dialog.menu = $3; 1003 /* Menu resources. */ 1005 menu: label 1006 id MENU suboptions BEG menuitems EN [all...] |
| /src/external/gpl3/binutils.old/dist/binutils/ |
| rcparse.y | 127 %token MENU MENUEX MENUITEM SEPARATOR POPUP CHECKED GRAYED HELP INACTIVE OWNERDRAW 187 | input menu 362 dialog.menu.named = 1; 387 dialog.menu.named = 1; 414 dialog.menu.named = 1; 528 | styles MENU id 530 dialog.menu = $3; 1003 /* Menu resources. */ 1005 menu: label 1006 id MENU suboptions BEG menuitems EN [all...] |
| /src/usr.sbin/sysinst/ |
| bsddisklabel.c | 213 /* update menu title */ 312 add_other_ptn_size(menudesc *menu, void *arg) 359 menu->opts = m; 360 menu->numopts = pset->num+4; 372 menu->cursel = pset->num; 381 inst_ext_clone(menudesc *menu, void *arg) 405 data.usage.menu = new_menu(MSG_clone_target_hdr, 408 process_menu(data.usage.menu, &data); 409 free_menu(data.usage.menu); 420 menu->opts = men 821 int menu; local [all...] |
| label.c | 325 int menu; local 335 menu = new_menu(head, opts, i, 40, 6, 0, 0, MC_NOEXITOPT, 337 if (menu < 0) 339 process_menu(menu, arg); 340 free_menu(menu); 537 * Most often used file system types, we offer them in a first level menu. 548 init_fs_type_ext(menudesc *menu, void *arg) 552 size_t i, ndx, max = menu->numopts; 556 menu->cursel = 0; 558 menu->cursel = 1 [all...] |
| part_edit.c | 48 * A structure passed to various menu functions for partition editing 54 int first_custom_opt; /* scheme specific menu options 185 * We add one line at the start of the menu, and one at the 201 info->num_changed = true; /* force reload of menu */ 367 * custom options and the given suffix to a single menu options array. 459 add_part_clone(menudesc *menu, void *arg) 502 data.usage.menu = new_menu(MSG_clone_target_hdr, 505 process_menu(data.usage.menu, &data); 506 free_menu(data.usage.menu); 554 /* reload menu and start again * 1053 int menu; local [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
| peers.cpp | 175 QMenu *menu = new QMenu; local 176 if (menu == NULL) 183 menu->addAction(Peers::ItemType(type))->setEnabled(false); 184 menu->addSeparator(); 202 menu->addAction(tr("Enter WPS PIN"), this, 207 menu->addAction(tr("P2P Connect"), this, 213 menu->addAction(tr("P2P Connect (PBC)"), this, 216 menu->addAction(tr("P2P Request PIN"), this, 218 menu->addAction(tr("P2P Show PIN"), this, 224 menu->addAction(tr("P2P Display PIN"), this [all...] |