Lines Matching defs:text
4 * textbox.c -- implements the text box
35 WINDOW *text;
264 * Return current line of text.
314 * Go back 'n' lines in text file. Called by dialog_textbox().
396 * Print a new line of text.
401 if (wmove(obj->text, row, 0) != ERR) {
410 if (width > getmaxx(obj->text))
411 width = getmaxx(obj->text);
420 (void) waddch(obj->text, ' ');
421 (void) waddnstr(obj->text, line + indx[first], indx[last] - indx[first]);
423 getyx(obj->text, y, x);
426 (void) waddch(obj->text, ' ');
433 * Print a new page of text.
448 (void) wnoutrefresh(obj->text);
449 dlg_trace_win(obj->text);
590 } else if ((result = get_search_term(obj->text, search_term,
602 (void) wattrset(obj->text, dialog_attr);
647 (void) wattrset(obj->text, dialog_attr);
656 * Display text from a file in a dialog box.
754 /* Create window for text region, used for scrolling text */
755 obj.text = dlg_sub_window(dialog, PAGE_LENGTH, PAGE_WIDTH, y + 1, x + 1);
767 dlg_attr_clear(obj.text, PAGE_LENGTH, PAGE_WIDTH, dialog_attr);
777 (void) scrollok(obj.text, TRUE);
778 (void) scroll(obj.text); /* Scroll text region up one line */
779 (void) scrollok(obj.text, FALSE);
781 (void) wnoutrefresh(obj.text);
790 (void) scrollok(obj.text, TRUE);
791 (void) wscrl(obj.text, -1); /* Scroll text region down one line */
792 (void) scrollok(obj.text, FALSE);
798 (void) wnoutrefresh(obj.text);