| /freebsd-14-stable/contrib/dialog/samples/ |
| HD | wheel | 27 --begin "`scaley 27`" "`scalex 98`" --infobox "pushd /var/log >/dev/null" 0 0 --and-widget \ 28 --begin "`scaley 35`" "`scalex 95`" --infobox "mkdir -p news -m 755" 0 0 --and-widget \ 29 --begin "`scaley 45`" "`scalex 86`" --infobox "chown news.news news" 0 0 --and-widget \ 30 --begin "`scaley 48`" "`scalex 78`" --infobox "cd /var/log/news" 0 0 --and-widget \ 31 --begin "`scaley 51`" "`scalex 61`" --infobox "mkdir -p OLD -m 755" 0 0 --and-widget \ 32 --begin "`scaley 52`" "`scalex 47`" --infobox "chown news.news OLD" 0 0 --and-widget \ 33 --begin "`scaley 51`" "`scalex 40`" --infobox "cd /var/spool" 0 0 --and-widget \ 34 --begin "`scaley 48`" "`scalex 25`" --infobox "mkdir -p news -m 775" 0 0 --and-widget \ 35 --begin "`scaley 42`" "`scalex 13`" --infobox "chown news.news news" 0 0 --and-widget \ 36 --begin "`scaley 35`" "`scalex 4`" --infobox "cd /var/spool/news" 0 0 --and-widget \ [all …]
|
| HD | tailboxbg2 | 14 --and-widget \ 16 --and-widget \
|
| HD | tailboxbg1 | 13 --and-widget \ 15 --and-widget \
|
| HD | inputbox7 | 21 returntext=`$DIALOG --title "INPUT BOX" --clear --separate-widget "$SEP" "$@" \
|
| /freebsd-14-stable/contrib/bsddialog/lib/ |
| HD | messagebox.c | 82 textupdate(WINDOW *widget, WINDOW *textpad, int htextpad, int ytextpad, in textupdate() argument 87 getbegyx(widget, y, x); in textupdate() 88 getmaxyx(widget, h, w); in textupdate() 91 wattron(widget, t.dialog.arrowcolor); in textupdate() 92 mvwprintw(widget, h-3, w-6, "%3d%%", in textupdate() 94 wattroff(widget, t.dialog.arrowcolor); in textupdate() 95 wnoutrefresh(widget); in textupdate() 107 WINDOW *widget, *textpad, *shadow; in do_message() local 119 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, &bs, in do_message() 129 textupdate(widget, textpad, htextpad, ytextpad, hastext); in do_message() [all …]
|
| HD | timebox.c | 117 WINDOW *widget, *textpad, *shadow; in bsddialog_timebox() local 151 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, &bs, in bsddialog_timebox() 159 mvwaddch(widget, h - 5, w/2 - 3, ':'); in bsddialog_timebox() 161 mvwaddch(widget, h - 5, w/2 + 2, ':'); in bsddialog_timebox() 164 wrefresh(widget); in bsddialog_timebox() 206 draw_buttons(widget, bs, true); in bsddialog_timebox() 207 wrefresh(widget); in bsddialog_timebox() 223 draw_buttons(widget, bs, true); in bsddialog_timebox() 224 wrefresh(widget); in bsddialog_timebox() 231 draw_buttons(widget, bs, true); in bsddialog_timebox() [all …]
|
| HD | barbox.c | 136 WINDOW *widget, *textpad, *bar, *shadow; in bsddialog_gauge() local 148 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, NULL, in bsddialog_gauge() 163 wrefresh(widget); in bsddialog_gauge() 201 if (update_dialog(conf, shadow, widget, y, x, h, w, textpad, in bsddialog_gauge() 209 end_dialog(conf, shadow, widget, textpad); in bsddialog_gauge() 223 WINDOW *widget, *textpad, *bar, *shadow; in do_mixedgauge() local 271 retval = new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, in do_mixedgauge() 283 wattron(widget, A_BOLD); in do_mixedgauge() 284 mvwaddstr(widget, i+1, 2, minilabels[i]); in do_mixedgauge() 286 wattroff(widget, A_BOLD); in do_mixedgauge() [all …]
|
| HD | textbox.c | 40 updateborders(struct bsddialog_conf *conf, WINDOW *widget, int padmargin, in updateborders() argument 46 getmaxyx(widget, h, w); in updateborders() 62 mvwvline(widget, (h / 2) - 2, 0, arrowch, 4); in updateborders() 71 mvwvline(widget, (h / 2) - 2, w - 1, arrowch, 4); in updateborders() 74 wattron(widget, t.dialog.arrowcolor); in updateborders() 75 mvwprintw(widget, h-3, w-6, "%3d%%", 100 * (ypad+h-4)/ hpad); in updateborders() 76 wattroff(widget, t.dialog.arrowcolor); in updateborders() 121 WINDOW *shadow, *widget, *pad; in bsddialog_textbox() local 165 if (new_dialog(conf, &shadow, &widget, y, x, h, w, NULL, NULL, &bs, in bsddialog_textbox() 177 updateborders(conf, widget, padmargin, hpad, wpad, ypad, xpad); in bsddialog_textbox() [all …]
|
| HD | lib_util.c | 1044 draw_dialog(struct bsddialog_conf *conf, WINDOW *shadow, WINDOW *widget, in draw_dialog() argument 1053 getmaxyx(widget, h, w); in draw_dialog() 1058 draw_borders(conf, widget, h, w, RAISED); in draw_dialog() 1064 wattron(widget, t.dialog.lineraisecolor); in draw_dialog() 1065 mvwaddch(widget, 0, w/2 - wtitle/2 -1, rtee); in draw_dialog() 1066 wattroff(widget, t.dialog.lineraisecolor); in draw_dialog() 1068 wattron(widget, t.dialog.titlecolor); in draw_dialog() 1069 mvwaddstr(widget, 0, w/2 - wtitle/2, conf->title); in draw_dialog() 1070 wattroff(widget, t.dialog.titlecolor); in draw_dialog() 1072 wattron(widget, t.dialog.lineraisecolor); in draw_dialog() [all …]
|
| HD | calendarbox.c | 293 WINDOW *widget, *textpad, *shadow, *yearwin, *monthwin, *daywin; in bsddialog_calendar() local 324 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, &bs, in bsddialog_calendar() 333 mvwaddstr(widget, h - 16, w/2 - 17, "Month"); in bsddialog_calendar() 335 mvwaddstr(widget, h - 16, w/2, "Year"); in bsddialog_calendar() 339 wrefresh(widget); in bsddialog_calendar() 381 draw_buttons(widget, bs, true); in bsddialog_calendar() 382 wrefresh(widget); in bsddialog_calendar() 398 draw_buttons(widget, bs, true); in bsddialog_calendar() 399 wrefresh(widget); in bsddialog_calendar() 419 draw_buttons(widget, bs, true); in bsddialog_calendar() [all …]
|
| HD | infobox.c | 73 WINDOW *shadow, *widget, *textpad; in bsddialog_infobox() local 84 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, in bsddialog_infobox() 93 end_dialog(conf, shadow, widget, textpad); in bsddialog_infobox()
|
| HD | lib_util.h | 131 new_dialog(struct bsddialog_conf *conf, WINDOW **shadow, WINDOW **widget, int y, 136 update_dialog(struct bsddialog_conf *conf, WINDOW *shadow, WINDOW *widget, 141 end_dialog(struct bsddialog_conf *conf, WINDOW *shadow, WINDOW *widget,
|
| HD | formbox.c | 517 WINDOW *widget, *textpad, *shadow; in bsddialog_form() local 633 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, &bs, in bsddialog_form() 675 redrawbuttons(widget, &bs, conf->button.always_active, false); in bsddialog_form() 721 draw_buttons(widget, bs, true); in bsddialog_form() 722 wrefresh(widget); in bsddialog_form() 731 draw_buttons(widget, bs, true); in bsddialog_form() 732 wrefresh(widget); in bsddialog_form() 743 draw_buttons(widget, bs, true); in bsddialog_form() 744 wrefresh(widget); in bsddialog_form() 832 if (update_dialog(conf, shadow, widget, y, x, h, w, in bsddialog_form() [all …]
|
| HD | menubox.c | 439 WINDOW *shadow, *widget, *textpad, *menuwin, *menupad; in do_mixedlist() local 493 if (new_dialog(conf, &shadow, &widget, y, x, h, w, &textpad, text, &bs, in do_mixedlist() 586 draw_buttons(widget, bs, shortcut_butts); in do_mixedlist() 587 wrefresh(widget); in do_mixedlist() 592 draw_buttons(widget, bs, shortcut_butts); in do_mixedlist() 593 wrefresh(widget); in do_mixedlist() 599 draw_buttons(widget, bs, shortcut_butts); in do_mixedlist() 600 wrefresh(widget); in do_mixedlist() 627 if (update_dialog(conf, shadow, widget, y, x, h, w, in do_mixedlist() 759 end_dialog(conf, shadow, widget, textpad); in do_mixedlist()
|
| /freebsd-14-stable/contrib/dialog/ |
| HD | README | 11 like as Resolution-independence, Auto-sizing, Maximizing, more widget 12 on the same screen (multi-widget), etc. were added. New widget are 16 { --and-widget <Common options> <Box options> } 25 Global options: [--shadow] [--no-shadow] [--separate-widget "<str>"] 51 but it was made before of multi-widget. However this is not a big problem!
|
| HD | dlg_keys.c | 591 find_binding(char *widget, int curses_key) in find_binding() argument 598 && !dlg_strcmp(p->name, widget) in find_binding() 644 make_binding(char *widget, int curses_key, int is_function, int dialog_key) in make_binding() argument 649 DLG_KEYS_BINDING *result = find_binding(widget, curses_key); in make_binding() 654 && (name = dlg_strclone(widget)) != 0) { in make_binding() 751 char *widget; in dlg_parse_bindkey() local 757 widget = p; in dlg_parse_bindkey() 760 if (p != widget && *p != '\0') { in dlg_parse_bindkey() 827 if (*widget != '\0' in dlg_parse_bindkey() 830 && make_binding(widget, curses_key, is_function, dialog_key) != 0) { in dlg_parse_bindkey() [all …]
|
| HD | textbox.c | 521 WINDOW *widget; in get_search_term() local 533 widget = dlg_new_modal_window(dialog, in get_search_term() 536 keypad(widget, TRUE); in get_search_term() 537 dlg_register_window(widget, "searchbox", binding); in get_search_term() 539 dlg_draw_box2(widget, 0, 0, box_height, box_width, in get_search_term() 543 dlg_attrset(widget, searchbox_title_attr); in get_search_term() 544 (void) wmove(widget, 0, (box_width - len_caption) / 2); in get_search_term() 548 (void) waddnstr(widget, caption + indx[0], indx[limit] - indx[0]); in get_search_term() 555 key = dlg_getc(widget, &fkey); in get_search_term() 576 dlg_show_string(widget, input, offset, searchbox_attr, in get_search_term() [all …]
|
| HD | CHANGES | 49 widget. 71 + amend initialization for dlg_getc to fix regression in pause widget 103 + fix repainting while resizing for the editbox widget. 195 + fix a memory leak in gauge widget (Andrew Kosteltsev). 226 + add traces for each widget to show its parameters. 229 + fix a too-small malloc in the mixedgauge widget. 243 adjust the widget size according to how the captions are formatted. 299 + modify buildlist widget to support option "--reorder" for to allow 380 + modify editbox widget to add a trailing newline if the text has none 385 + correct mapping of mouse-clicks on the day-grid in calendar widget [all …]
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/sound/ |
| HD | widgets.txt | 9 The "template-wname" being the template widget name and currently includes: 12 The "user-supplied-wname" being the user specified widget name.
|
| /freebsd-14-stable/sys/dev/sound/pci/hda/ |
| HD | hdaa.h | 137 struct hdaa_widget *widget, *childwidget; member 208 struct hdaa_widget *widget; member
|
| HD | hdaa.c | 223 if (ctl->widget->nid != nid) in hdaa_audio_ctl_amp_get() 1641 if (devinfo == NULL || devinfo->widget == NULL || in hdaa_widget_get() 1644 return (&devinfo->widget[nid - devinfo->startnode]); in hdaa_widget_get() 1681 nid = ctl->widget->nid; in hdaa_audio_ctl_amp_set() 1704 hdaa_audio_ctl_amp_set_internal(ctl->widget->devinfo, nid, ctl->index, in hdaa_audio_ctl_amp_set() 1707 hdaa_audio_ctl_amp_set_internal(ctl->widget->devinfo, nid, ctl->index, in hdaa_audio_ctl_amp_set() 2803 ctl->widget->bindas == pdevinfo->playas) || in hdaa_audio_ctl_ossmixer_setrecsrc() 2805 ctl->widget->bindas == pdevinfo->recas) || in hdaa_audio_ctl_ossmixer_setrecsrc() 2807 ctl->widget->bindas == -2))) in hdaa_audio_ctl_ossmixer_setrecsrc() 3072 ctls[cnt].widget = w; in hdaa_audio_ctl_parse() [all …]
|
| /freebsd-14-stable/contrib/dialog/package/freebsd/ |
| HD | pkg-descr | 7 adding new widget types. See the changelog for details."
|
| /freebsd-14-stable/usr.sbin/bsdconfig/share/ |
| HD | dialog.subr | 292 # Get the maximum height and width for a dialog widget and store the values in 322 # will render --backtitle behind the widget. In such a case, we 323 # should prevent a widget from obscuring the backtitle (unless 574 # width for the described widget (not exceeding the actual terminal height or 674 # width for the described widget (not exceeding the actual terminal height or 735 # width for the described widget (not exceeding the actual terminal height or 801 # optimal height and width for the described widget (not exceeding the actual 879 # optimal height, width, and rows for the described widget (not exceeding the 972 # optimal height, width, and rows for the described widget (not exceeding the 1003 # if using Xdialog(1), as it places the help string in the widget) -- [all …]
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/mips/cavium/ |
| HD | cib.txt | 1 * Cavium Interrupt Bus widget
|
| /freebsd-14-stable/crypto/openssh/contrib/ |
| HD | gnome-ssh-askpass3.c | 73 check_none(GtkWidget *widget, GdkEventKey *event, gpointer dialog) in check_none() argument
|