/freebsd-9.3-release/gnu/lib/libodialog/ |
H A D | tree.c | 132 int menu_height; /* menu_height - unique for treebox ? */ member in struct:saved_tree 145 int menu_height); 157 int height, int width, int menu_height, 167 int height, int width, int menu_height, 181 max_choice = MIN(menu_height, item_no); 191 height = strheight(prompt)+menu_height+4+2; 249 menu = subwin(dialog, menu_height, menu_width, y + box_y + 1, x + box_x + 1); 252 fprintf(stderr, "\nsubwin(dialog,%d,%d,%d,%d) failed, maybe wrong dims\n", menu_height,menu_width,y+box_y+1,x+box_x+1); 258 draw_box(dialog, box_y, box_x, menu_height 166 dialog_treemenu(unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, int item_no, struct leaf items[], int *result, int *ch, int *sc) argument 565 dialog_ftree(unsigned char *filename, unsigned char FS, unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, unsigned char **result) argument 621 dialog_tree(unsigned char **names, int size, unsigned char FS, unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, unsigned char **result) argument 1096 search_saved_tree(struct queue *queue, unsigned char **names, int size, unsigned char FS, int height, int width, int menu_height) argument [all...] |
H A D | menubox.c | 39 dialog_menu(unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, int cnt, void *it, unsigned char *result, int *ch, int *sc) argument 74 max_choice = MIN(menu_height, item_no); 88 height = strheight(prompt) + menu_height + 4 + 2; 146 menu = subwin(dialog, menu_height, menu_width, y + box_y + 1, x + box_x + 1); 150 fprintf(stderr, "\nsubwin(dialog,%d,%d,%d,%d) failed, maybe wrong dims\n", menu_height, menu_width, 157 draw_box(dialog, box_y, box_x, menu_height+2, menu_width+2, menubox_border_attr, menubox_attr); 166 print_arrows(dialog, scroll, menu_height, item_no, box_x, box_y, tag_x, cur_x, cur_y); 245 if (menu_height > 1) { 255 print_arrows(dialog, scroll, menu_height, item_no, box_x, box_y, tag_x, cur_x, cur_y); 268 if (menu_height > [all...] |
H A D | kernel.c | 513 void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, argument 525 wmove(dialog, box_y + menu_height + 1, box_x + tag_x + 1); 526 wattrset(dialog, scroll+menu_height < item_no ? darrow_attr : menubox_border_attr); 527 waddch(dialog, scroll+menu_height < item_no ? ACS_DARROW : ACS_HLINE); 528 wmove(dialog, box_y + menu_height + 1, box_x + tag_x + 2); 529 waddch(dialog, scroll+menu_height < item_no ? '(' : ACS_HLINE); 530 wmove(dialog, box_y + menu_height + 1, box_x + tag_x + 3); 531 waddch(dialog, scroll+menu_height < item_no ? '+' : ACS_HLINE); 532 wmove(dialog, box_y + menu_height + 1, box_x + tag_x + 4); 533 waddch(dialog, scroll+menu_height < item_n [all...] |
H A D | dialog.h | 141 int dialog_menu(unsigned char *title, unsigned char *prompt, int height, int width, int menu_height, 174 * menu_height - height of menu box 184 int height, int width, int menu_height, 197 * menu_height - height of menu box 208 int height, int width, int menu_height,
|
H A D | dialog.priv.h | 181 void print_arrows(WINDOW *dialog, int scroll, int menu_height, int item_no, int box_x,
|
/freebsd-9.3-release/usr.sbin/sade/ |
H A D | dmenu.c | 228 menu_height(DMenu *menu, int n) function 267 -1, -1, menu_height(menu, n), -n, items, 272 (u_char *)menu->prompt, -1, -1, menu_height(menu, n), -n, 277 (u_char *)menu->prompt, -1, -1, menu_height(menu, n), -n,
|
/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | dmenu.c | 272 menu_height(DMenu *menu, int n) function 314 height = menu_height(menu, nitem); 365 -1, -1, menu_height(menu, n), -n, items, 370 (u_char *)menu->prompt, -1, -1, menu_height(menu, n), -n, 375 (u_char *)menu->prompt, -1, -1, menu_height(menu, n), -n,
|
/freebsd-9.3-release/contrib/dialog/ |
H A D | menubox.c | 58 int menu_height) 68 box_y + menu_height + 1, 286 int menu_height, 347 use_height = menu_height; 786 int menu_height, 811 menu_height, 52 print_arrows(WINDOW *win, int box_x, int box_y, int scrollamt, int max_choice, int item_no, int menu_height) argument 282 dlg_menu(const char *title, const char *cprompt, int height, int width, int menu_height, int item_no, DIALOG_LISTITEM * items, int *current_item, DIALOG_INPUTMENU rename_menutext) argument 782 dialog_menu(const char *title, const char *cprompt, int height, int width, int menu_height, int item_no, char **items) argument
|
/freebsd-9.3-release/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 116 int menu_height, int item_no, dialogMenuItem *ditems) 134 height = xdialog_count_rows(cprompt) + menu_height + 4 + 2; 161 menu_height, item_no, listitems, &choice, NULL); 115 xdialog_menu(const char *title, const char *cprompt, int height, int width, int menu_height, int item_no, dialogMenuItem *ditems) argument
|