Home
last modified time | relevance | path

Searched refs:textpad (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/bsddialog/lib/
H A Dmessagebox.c82 textupdate(WINDOW *widget, WINDOW *textpad, int htextpad, int ytextpad, in textupdate() argument
98 pnoutrefresh(textpad, ytextpad, 0, y+1, x+2, y+h-4, x+w-2); 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()
125 getmaxyx(textpad, htextpad, unused); in do_message()
129 textupdate(widget, textpad, htextpad, ytextpad, hastext); in do_message()
211 textpad, text, &bs, true) != 0) in do_message()
215 getmaxyx(textpad, htextpad, unused); in do_message()
217 textupdate(widget, textpad, htextpad, ytextpad, hastext); in do_message()
230 end_dialog(conf, shadow, widget, textpad); in do_message()
H A Dbarbox.c136 WINDOW *widget, *textpad, *bar, *shadow; in bsddialog_gauge() local
209 end_dialog(conf, shadow, widget, textpad); in bsddialog_gauge()
223 WINDOW *widget, *textpad, *bar, *shadow; in do_mixedgauge() local
314 getmaxyx(textpad, htextpad, i /* unused */); in do_mixedgauge()
333 end_dialog(conf, shadow, widget, textpad); in do_mixedgauge()
438 WINDOW *widget, *textpad, *bar, *shadow; in bsddialog_rangebox() local
575 textpad, text, &bs, true) != 0) in bsddialog_rangebox()
601 end_dialog(conf, shadow, widget, textpad); in bsddialog_rangebox()
614 WINDOW *widget, *textpad, *bar, *shadow; in bsddialog_pause() local
720 textpad, text, &bs, true) != 0) in bsddialog_pause()
[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()
88 pnoutrefresh(textpad, 0, 0, y+1, x+1+TEXTHMARGIN, y+h-2, in bsddialog_infobox()
93 end_dialog(conf, shadow, widget, textpad); in bsddialog_infobox()
H A Dtimebox.c117 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()
155 pnoutrefresh(textpad, 0, 0, y+1, x+2, y+h-7, x+w-2); in bsddialog_timebox()
266 textpad, text, &bs, true) != 0) in bsddialog_timebox()
275 prefresh(textpad, 0, 0, y+1, x+2, y+h-7, x+w-2); in bsddialog_timebox()
303 end_dialog(conf, shadow, widget, textpad); in bsddialog_timebox()
315 WINDOW *widget, *textpad, *shadow; in bsddialog_datebox() local
372 pnoutrefresh(textpad, 0, 0, y+1, x+2, y+h-7, x+w-2); in bsddialog_datebox()
501 textpad, text, &bs, true) != 0) in bsddialog_datebox()
509 prefresh(textpad, 0, 0, y+1, x+2, y+h-7, x+w-2); in bsddialog_datebox()
[all …]
H A Dlib_util.c1105 if (textpad != NULL && text != NULL) /* textbox */ in draw_dialog()
1106 if (print_textpad(conf, textpad, text) !=0) in draw_dialog()
1129 if (textpad != NULL) { in update_dialog()
1130 wclear(textpad); in update_dialog()
1131 wresize(textpad, 1, w - HBORDERS - TEXTHMARGINS); in update_dialog()
1162 if (*textpad == NULL) { in new_dialog()
1168 wbkgd(*textpad, t.dialog.color); in new_dialog()
1172 textpad == NULL ? NULL : *textpad, text, bs, shortcutbuttons); in new_dialog()
1179 WINDOW *textpad) in end_dialog() argument
1189 if (textpad != NULL) in end_dialog()
[all …]
H A Dlib_util.h132 int x, int h, int w, WINDOW **textpad, const char *text, struct buttons *bs,
137 int y, int x, int h, int w, WINDOW *textpad, const char *text,
142 WINDOW *textpad);
H A Dcalendarbox.c293 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()
328 pnoutrefresh(textpad, 0, 0, y+1, x+2, y+h-17, x+w-2); in bsddialog_calendar()
483 textpad, text, &bs, true) != 0) in bsddialog_calendar()
485 pnoutrefresh(textpad, 0, 0, y+1, x+2, y+h-17, x+w-2); in bsddialog_calendar()
517 end_dialog(conf, shadow, widget, textpad); in bsddialog_calendar()
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()
499 prefresh(textpad, 0, 0, y + 1, x + 1 + TEXTHMARGIN, y + h - menurows, in do_mixedlist()
628 textpad, text, &bs, shortcut_butts) != 0) in do_mixedlist()
633 prefresh(textpad, 0, 0, y + 1, x + 1 + TEXTHMARGIN, in do_mixedlist()
759 end_dialog(conf, shadow, widget, textpad); in do_mixedlist()
H A Dformbox.c517 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()
639 prefresh(textpad, 0, 0, y + 1, x + 1 + TEXTHMARGIN, in bsddialog_form()
833 textpad, text, &bs, true) != 0) in bsddialog_form()
838 prefresh(textpad, 0, 0, y + 1, x + 1 + TEXTHMARGIN, in bsddialog_form()
938 end_dialog(conf, shadow, widget, textpad); in bsddialog_form()