/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 in function:set_menu_userptr [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 in function:set_current_item [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 in function:set_menu_mark 117 MENU *menu = m; local in function:set_menu_unmark 217 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:set_menu_format 235 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:menu_format 310 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:set_menu_opts 351 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:menu_opts_on 391 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:menu_opts_off 423 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:set_menu_pattern 545 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:scale_menu 570 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:set_menu_items 664 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:set_top_row 719 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local in function:top_row [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 in function:Architecture::setupBootInfo 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 in function:hpcboot 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(); local in function:RootWindow::create 89 if (menu._pref.auto_boot > 0) 90 SetTimer(_window, IDD_TIMER, menu._pref.auto_boot * 1000, 0); 102 HpcMenuInterface &menu = HpcMenuInterface::Instance(); local in function:RootWindow::proc 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 in function:TabWindowBase::boot 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 in function:MainTabWindow::init 161 HpcMenuInterface &menu = HPC_MENU; local in function:MainTabWindow::_sort_platids 254 HpcMenuInterface &menu = HPC_MENU; local in function:MainTabWindow::get 479 HpcMenuInterface &menu = HPC_MENU; local in function:ConsoleTabWindow::command [all...] |
/src/distrib/utils/edlabel/ |
edlabel.c | 88 void menu(void); 490 menu(void) function in typeref:typename:void 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/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 in function:ask_layout [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 in function:ask_fullpart [all...] |
label.c | 325 int menu; local in function:edit_fs_ffs_opt 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...] |
defs.h | 121 LY_ERROR /* used for "abort" in menu */ 250 /* pass a void* argument into a menu and also provide a int return value */ 265 * pass a parameter array (for string replacements) into a menu and provide 368 int menu; /* the menu to edit this */ member in struct:partition_usage_set 390 /* menu return value */ 1037 void expand_all_option_texts(menudesc *menu, void *arg);
|
util.c | 188 char menu[100]; member in struct:cd_info 243 /* Find longest and use it to determine width of selection menu */ 343 int menu; local in function:floppy_fetch 350 menu = MENU_fdok; 355 process_menu(menu, &status); 358 menu = MENU_fdremount; 382 menu = MENU_fdok; 512 sprintf(state->info->menu, "%s (%s)", 523 strcpy(state->info->menu, state->info->device_name); 619 * as the default option in the "distmedium" menu [all...] |