Searched refs:menu (Results 1 - 25 of 112) sorted by relevance

12345

/netbsd-6-1-5-RELEASE/lib/libmenu/
H A Dpost.c32 #include <menu.h>
37 * Post the menu to the screen. Call any defined init routines and then
38 * draw the menu on the screen.
41 post_menu(MENU *menu) argument
45 if (menu == NULL)
47 if (menu->posted == 1)
49 if (menu->in_init == 1)
51 if (menu->items == NULL)
53 if (*menu->items == NULL)
56 menu
87 unpost_menu(MENU *menu) argument
[all...]
H A Dinternals.c32 #include <menu.h>
40 _menui_calc_neighbours(MENU *menu, int item_no);
41 static void _menui_redraw_menu(MENU *menu, int old_top_row, int old_cur_item);
44 * Link all the menu items together to speed up navigation. We need
51 _menui_stitch_items(MENU *menu) argument
55 row_major = ((menu->opts & O_ROWMAJOR) == O_ROWMAJOR);
57 if (menu->posted == 1)
59 if (menu->items == NULL)
62 menu->item_rows = menu
89 _menui_calc_neighbours(MENU *menu, int item_no) argument
280 _menui_goto_item(MENU *menu, ITEM *item, int new_top_row) argument
326 _menui_match_items(MENU *menu, int direction, int *item_matched) argument
382 _menui_match_pattern(MENU *menu, int c, int direction, int *item_matched) argument
429 _menui_draw_item(MENU *menu, int item) argument
516 _menui_draw_menu(MENU *menu) argument
593 _menui_max_item_size(MENU *menu) argument
615 _menui_redraw_menu(MENU *menu, int old_top_row, int old_cur_item) argument
[all...]
H A Dattributes.c32 #include <menu.h>
34 /* defined in menu.c - the default menu struct */
38 * Set the menu foreground attribute
41 set_menu_fore(MENU *menu, attr_t attr) argument
43 if (menu == NULL)
46 menu->fore = attr;
51 * Return the menu foreground attribute
54 menu_fore(MENU *menu) argument
56 if (menu
66 set_menu_back(MENU *menu, attr_t attr) argument
79 menu_back(MENU *menu) argument
91 set_menu_grey(MENU *menu, attr_t attr) argument
104 menu_grey(MENU *menu) argument
116 set_menu_pad(MENU *menu, int pad) argument
129 menu_pad(MENU *menu) argument
[all...]
H A Dmenu.c1 /* $NetBSD: menu.c,v 1.15 2002/11/27 11:53:11 blymn Exp $ */
33 #include <menu.h>
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 */
58 0, /* widest item in the menu */
59 0, /* the width of a menu colum
81 MENU *menu = m; local
103 menu_mark(MENU *menu) argument
117 MENU *menu = m; local
151 set_menu_win(MENU *menu, WINDOW *win) argument
172 menu_win(MENU *menu) argument
206 menu_sub(MENU *menu) argument
220 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
238 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
248 set_menu_init(MENU *menu, Menu_Hook func) argument
261 menu_init(MENU *menu) argument
273 set_menu_term(MENU *menu, Menu_Hook func) argument
286 menu_term(MENU *menu) argument
298 menu_opts(MENU *menu) argument
313 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
354 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
394 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
411 menu_pattern(MENU *menu) argument
426 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
508 free_menu(MENU *menu) argument
541 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
566 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
633 menu_items(MENU *menu) argument
645 item_count(MENU *menu) argument
660 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
715 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
728 pos_menu_cursor(MENU *menu) argument
[all...]
H A Ddriver.c32 #include <menu.h>
38 * The guts of the menu library. This function processes the character
46 menu_driver(MENU *menu, int c) argument
53 if (menu == NULL)
55 if (menu->posted == 0)
57 if (menu->items == NULL)
59 if (*menu->items == NULL)
61 if (menu->in_init == 1)
65 if (menu->items[menu
[all...]
H A Dinternals.h29 #include <menu.h>
44 void _menui_draw_item(MENU *menu, int item);
45 int _menui_draw_menu(MENU *menu);
46 int _menui_goto_item(MENU *menu, ITEM *item, int new_top_row);
47 int _menui_match_pattern(MENU *menu, int c, int direction ,
49 int _menui_match_items(MENU *menu, int direction, int *item_matched);
50 void _menui_max_item_size(MENU *menu);
51 int _menui_stitch_items(MENU *menu);
H A Duserptr.c32 #include <menu.h>
36 /* the following is defined in menu.c */
68 * Return the user pointer for the given menu
71 menu_userptr(MENU *menu) argument
73 if (menu == NULL)
76 return menu->userptr;
80 * Set the user pointer for the given menu
85 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
87 menu->userptr = userptr;
H A Ditem.c32 #include <menu.h>
37 /* the following is defined in menu.c - it is the default menu struct */
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) argument
103 if (menu == NULL)
106 menu->item_init = func;
115 item_init(MENU *menu) argument
128 set_item_term(MENU *menu, Menu_Hook func) argument
141 item_term(MENU *menu) argument
155 item_selected(MENU *menu, int **sel) argument
362 MENU *menu = (param_menu != NULL) ? param_menu : &_menui_default_menu; local
385 current_item(MENU *menu) argument
[all...]
H A DMakefile10 LIB= menu
14 SRCS= menu.c item.c userptr.c internals.c driver.c post.c attributes.c
20 INCS= menu.h eti.h
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/prep/
H A Dmenus.md.en37 menu prepconsole, title "Select console device", y=-10;
H A Dmenus.md.es37 menu prepconsole, title "Select console device", y=-10;
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/
H A Dmenus.mbr37 menu fullpart, title MSG_Select_your_choice, y=-10;
H A Dmenus.mi36 * menu system.
52 src_legend(menudesc *menu, const char *legend, const char *text)
54 wprintw(menu->mw, "%-25s %.50s", MSG_XLAT(legend), MSG_XLAT(text));
69 fprintf (stderr, "Could not initialize menu system, please check "
74 menu selfskind, title MSG_Select_the_type, exitstring MSG_unchanged, y=6, x=30;
78 case FS_UNUSED: menu->cursel = 0; break;
80 menu->cursel = p->pi_flags & PIF_FFSv2 ? 2 : 1;
82 case FS_SWAP: menu->cursel = 3; break;
83 case FS_MSDOS: menu->cursel = 4; break;
84 case FS_BSDLFS: menu
[all...]
H A Dconfigmenu.c32 /* configmenu.c -- post-installation system configuration menu. */
149 set_config(menudesc *menu, int opt, void *arg) argument
158 wprintw(menu->mw, "%-50s %-10s", msg_string(optname), setting);
186 set_timezone_menu(struct menudesc *menu, void *arg) argument
191 confp[menu->cursel]->setting = tz_default;
196 set_root_shell(struct menudesc *menu, void *arg) argument
200 process_menu(MENU_rootsh, &confp[menu->cursel]->setting);
202 "chpass -s %s root", confp[menu->cursel]->setting);
207 set_network(struct menudesc *menu, void *arg) argument
240 change_root_password(struct menudesc *menu, voi argument
254 set_binpkg(struct menudesc *menu, void *arg) argument
292 set_pkgsrc(struct menudesc *menu, void *arg) argument
327 toggle_rcvar(struct menudesc *menu, void *arg) argument
392 configmenu_hdr(struct menudesc *menu, void *arg) argument
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.jason/
H A Dnested2.C10 virtual void execute (Menu& menu, MenuItem& menuItem) = 0;
18 typedef void (Test::* MenuCBA_Member) (Menu& menu, MenuItem& menuItem);
21 void execute (Menu& menu, MenuItem& menuItem);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp3764.C9 virtual void execute (Menu& menu, MenuItem& menuItem) = 0;
17 typedef void (Test::* MenuCBA_Member) (Menu& menu, MenuItem& menuItem) ;
20 void execute(Menu& menu, MenuItem& menuItem);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.jason/
H A Dnested2.C10 virtual void execute (Menu& menu, MenuItem& menuItem) = 0;
18 typedef void (Test::* MenuCBA_Member) (Menu& menu, MenuItem& menuItem);
21 void execute (Menu& menu, MenuItem& menuItem);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.mike/
H A Dp3764.C9 virtual void execute (Menu& menu, MenuItem& menuItem) = 0;
17 typedef void (Test::* MenuCBA_Member) (Menu& menu, MenuItem& menuItem) ;
20 void execute(Menu& menu, MenuItem& menuItem);
/netbsd-6-1-5-RELEASE/distrib/utils/sysinst/arch/i386/
H A Dmenus.md37 menu getboottype, title MSG_Bootblocks_selection, y=10, exit, no clear;
45 if (menu->cursel == 0)
46 menu->cursel = ((struct x86_boot_params *)arg)->bp_consdev;
65 option MSG_serial_baud_rate, sub menu consolebaud;
69 menu consolebaud, title MSG_serial_baud_rate, x=40, y=13;
73 case 9600: menu->cursel = 0; break;
74 case 19200: menu->cursel = 1; break;
75 case 38400: menu->cursel = 2; break;
76 case 57600: menu->cursel = 3; break;
77 case 115200: menu
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/makeinfo/tests/
H A Dmenu-whitespace2 # Bug where whitespace after @menu caused confusion.
24 @menu
26 @end menu
31 @menu @c
33 @end menu
43 Makeinfo is being confused by the whitespace after @menu, or rather by its
49 * makeinfo/node.c (cm_node): When searching for @menu don't
58 - search_forward ("\n@menu ", orig_offset);
59 + search_forward ("\n@menu", orig_offset);
H A DMakefile.am19 macro-at menu-whitespace \
34 macro-at.txi menu-whitespace.txi \
/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/hpcboot/
H A Dhpcboot.cpp35 #include <menu/window.h>
36 #include <menu/rootwindow.h>
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");
175 menu
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/isdn/isdntel/
H A Ddisplay.c96 * curses menu for fullscreen command mode
101 static const char *menu[WMITEMS] = local
136 /* fill the window with the menu options */
139 mvwaddstr(menu_w, mpos + 2, 2, menu[mpos]);
141 /* highlight the first menu option */
145 mvwaddstr(menu_w, mpos + 2, 2, menu[mpos]);
161 mvwaddstr(menu_w, mpos + 2, 2, menu[mpos]);
166 mvwaddstr(menu_w, mpos + 2, 2, menu[mpos]);
171 mvwaddstr(menu_w, mpos + 2, 2, menu[mpos]);
177 mvwaddstr(menu_w, mpos + 2, 2, menu[mpo
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpc/stand/hpcboot/menu/
H A Dmenu.cpp1 /* -*-C++-*- $NetBSD: menu.cpp,v 1.12 2010/04/06 16:20:28 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
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...]
H A Drootwindow.cpp33 #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
[all...]

Completed in 135 milliseconds

12345