Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-14.2/contrib/dialog/samples/
H A Dwheel28 --begin "`scaley 35`" "`scalex 95`" --infobox "mkdir -p news -m 755" 0 0 --and-widget \
30 --begin "`scaley 48`" "`scalex 78`" --infobox "cd /var/log/news" 0 0 --and-widget \
33 --begin "`scaley 51`" "`scalex 40`" --infobox "cd /var/spool" 0 0 --and-widget \
37 --begin "`scaley 27`" "`scalex 2`" --infobox "CURMASK=`umask`" 0 0 --and-widget \
38 --begin "`scaley 19`" "`scalex 4`" --infobox "umask 02" 0 0 --and-widget \
41 --begin "`scaley 2`" "`scalex 37`" --infobox "cd in.coming" 0 0 --and-widget \
42 --begin "`scaley 1`" "`scalex 46`" --infobox "mkdir -p bad tmp" 0 0 --and-widget \
44 --begin "`scaley 5`" "`scalex 76`" --infobox "umask $CURMASK" 0 0 --and-widget \
48 --begin "`scaley 34`" "`scalex 95`" --infobox "cd ~news" 0 0 --and-widget \
59 --begin "`scaley 19`" "`scalex 4`" --infobox ":>newsgroups" 0 0 --and-widget \
[all …]
H A Dtailboxbg113 --and-widget \
15 --and-widget \
H A Dtailboxbg214 --and-widget \
16 --and-widget \
H A Dinputbox721 returntext=`$DIALOG --title "INPUT BOX" --clear --separate-widget "$SEP" "$@" \
/freebsd-14.2/contrib/bsddialog/lib/
H A Dmessagebox.c87 getbegyx(widget, y, x); in textupdate()
88 getmaxyx(widget, h, w); in textupdate()
92 mvwprintw(widget, h-3, w-6, "%3d%%", in textupdate()
95 wnoutrefresh(widget); in textupdate()
107 WINDOW *widget, *textpad, *shadow; in do_message() local
147 draw_buttons(widget, bs, true); in do_message()
148 wnoutrefresh(widget); in do_message()
153 draw_buttons(widget, bs, true); in do_message()
154 wnoutrefresh(widget); in do_message()
160 draw_buttons(widget, bs, true); in do_message()
[all …]
H A Dtimebox.c164 wrefresh(widget); in bsddialog_timebox()
206 draw_buttons(widget, bs, true); in bsddialog_timebox()
207 wrefresh(widget); in bsddialog_timebox()
224 wrefresh(widget); in bsddialog_timebox()
232 wrefresh(widget); in bsddialog_timebox()
273 wrefresh(widget); in bsddialog_timebox()
381 wrefresh(widget); in bsddialog_datebox()
425 wrefresh(widget); in bsddialog_datebox()
442 wrefresh(widget); in bsddialog_datebox()
450 wrefresh(widget); in bsddialog_datebox()
[all …]
H A Dbarbox.c136 WINDOW *widget, *textpad, *bar, *shadow; in bsddialog_gauge() local
163 wrefresh(widget); in bsddialog_gauge()
283 wattron(widget, A_BOLD); in do_mixedgauge()
286 wattroff(widget, A_BOLD); in do_mixedgauge()
298 wattron(widget, colorperc); in do_mixedgauge()
302 wattroff(widget, colorperc); in do_mixedgauge()
313 wrefresh(widget); in do_mixedgauge()
478 draw_buttons(widget, bs, true); in bsddialog_rangebox()
479 wrefresh(widget); in bsddialog_rangebox()
653 draw_buttons(widget, bs, true); in bsddialog_pause()
[all …]
H A Dtextbox.c46 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
177 updateborders(conf, widget, padmargin, hpad, wpad, ypad, xpad); in bsddialog_textbox()
184 wrefresh(widget); in bsddialog_textbox()
262 if (update_dialog(conf, shadow, widget, y, x, h, w, in bsddialog_textbox()
[all …]
H A Dlib_util.c1053 getmaxyx(widget, h, w); in draw_dialog()
1073 waddch(widget, ltee); in draw_dialog()
1097 waddch(widget, ' '); in draw_dialog()
1099 waddch(widget, ' '); in draw_dialog()
1103 wnoutrefresh(widget); in draw_dialog()
1125 wclear(widget); in update_dialog()
1126 mvwin(widget, y, x); in update_dialog()
1127 wresize(widget, h, w); in update_dialog()
1163 delwin(*widget); in new_dialog()
1183 getbegyx(widget, y, x); in end_dialog()
[all …]
H A Dcalendarbox.c335 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()
420 wrefresh(widget); in bsddialog_calendar()
427 draw_buttons(widget, bs, true); in bsddialog_calendar()
428 wrefresh(widget); in bsddialog_calendar()
[all …]
H A Dinfobox.c73 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()
H A Dlib_util.h131 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,
H A Dformbox.c517 WINDOW *widget, *textpad, *shadow; in bsddialog_form() local
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()
867 redrawbuttons(widget, &bs, in bsddialog_form()
912 redrawbuttons(widget, &bs, in bsddialog_form()
[all …]
H A Dmenubox.c439 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.2/contrib/dialog/
H A DREADME11 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!
H A Ddlg_keys.c591 find_binding(char *widget, int curses_key) in find_binding() argument
598 && !dlg_strcmp(p->name, widget) in find_binding()
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()
900 const char *widget, in dump_one_binding() argument
[all …]
H A Dtextbox.c521 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 …]
H A DCHANGES49 widget.
443 + modify gauge widget to keep from erasing a second gauge widget, e.g.,
542 widget (report by Devin Teske).
821 widget output (report by xDog Walker).
982 widget.
984 widget (request by Walter Harms).
1017 + add "-" and "+" bindings to timebox widget.
1125 current widget. Also ensure that all tokens for a widget are
1495 text as the inputbox widget.
1665 each widget (request by Ingo van Lil).
[all …]
/freebsd-14.2/sys/contrib/device-tree/Bindings/sound/
H A Dwidgets.txt9 The "template-wname" being the template widget name and currently includes:
12 The "user-supplied-wname" being the user specified widget name.
H A Damlogic,gx-sound-card.yaml33 A list off component DAPM widget. Each entry is a pair of strings,
34 the first being the widget type, the second being the widget name
H A Damlogic,axg-sound-card.yaml30 A list off component DAPM widget. Each entry is a pair of strings,
31 the first being the widget type, the second being the widget name
/freebsd-14.2/contrib/dialog/package/freebsd/
H A Dpkg-descr7 adding new widget types. See the changelog for details."
/freebsd-14.2/sys/dev/sound/pci/hda/
H A Dhdaa.h137 struct hdaa_widget *widget, *childwidget; member
208 struct hdaa_widget *widget; member
H A Dhdaa.c1681 nid = ctl->widget->nid; in hdaa_audio_ctl_amp_set()
3072 ctls[cnt].widget = w; in hdaa_audio_ctl_parse()
3116 ctls[cnt].widget = w; in hdaa_audio_ctl_parse()
3137 ctls[cnt].widget = w; in hdaa_audio_ctl_parse()
4204 ctl->widget->nid, in hdaa_audio_disable_useless()
4500 ctl->widget->nid, in hdaa_audio_disable_crossas()
5022 w = &devinfo->widget[i]; in hdaa_audio_prepare_pin_ctrl()
5596 ctl->widget->nid, in hdaa_dump_ctls()
6233 (ctl->widget != NULL) ? ctl->widget->nid : -1, in hdaa_configure()
6623 devinfo->widget = malloc(sizeof(*(devinfo->widget)) * in hdaa_attach()
[all …]
/freebsd-14.2/usr.sbin/bsdconfig/share/
H A Ddialog.subr292 # 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
1003 # if using Xdialog(1), as it places the help string in the widget) --
1229 # if using Xdialog(1), as it places the help string in the widget) --
1373 # subtract one for the potential shadow around the widget
1383 # Add height to accommodate for embedded calendar widget
1465 # the timebox widget refuses to display if too wide
1475 # subtract one for the potential shadow around the widget
1585 # Display a message in a widget with a progress bar that runs backward for
[all …]

12