/freebsd-current/contrib/ncurses/panel/ |
H A D | p_replace.c | 43 replace_panel(PANEL * pan, WINDOW *win) argument 47 T((T_CALLED("replace_panel(%p,%p)"), (void *)pan, (void *)win)); 57 pan->win = win;
|
/freebsd-current/contrib/ncurses/ncurses/base/ |
H A D | lib_clear.c | 47 wclear(WINDOW *win) argument 51 T((T_CALLED("wclear(%p)"), (void *) win)); 53 if ((code = werase(win)) != ERR) 54 win->_clear = TRUE;
|
H A D | lib_clearok.c | 47 clearok(WINDOW *win, bool flag) argument 49 T((T_CALLED("clearok(%p,%d)"), (void *) win, flag)); 51 if (win) { 52 win->_clear = flag;
|
H A D | wresize.c | 65 WINDOW *tst = &(wp->win); 108 wresize(WINDOW *win, int ToLines, int ToCols) argument 115 T((T_CALLED("wresize(%p,%d,%d)"), (void *) win, ToLines, ToCols)); 116 if (win) { 118 (long) win->_begy, (long) win->_begx, 119 (long) win->_maxy, (long) win->_maxx, 120 (long) win->_regtop, (long) win [all...] |
H A D | lib_newwin.c | 49 #define window_is(name) ((sp)->_##name == win) 57 if (win == name) \ 62 remove_window_from_screen(WINDOW *win) argument 67 if ((sp = _nc_screen_of(win)) != 0) { 93 _nc_freewin(WINDOW *win) argument 97 SCREEN *sp = _nc_screen_of(win); /* pretend this is parameter */ 100 T((T_CALLED("_nc_freewin(%p)"), (void *) win)); 102 if (win != 0) { 110 if (&(p->win) == win) { 142 WINDOW *win; local 185 WINDOW *win; local 197 WINDOW *win; local 275 WINDOW *win; local [all...] |
H A D | lib_redrawln.c | 46 wredrawln(WINDOW *win, int beg, int num) argument 53 T((T_CALLED("wredrawln(%p,%d,%d)"), (void *) win, beg, num)); 55 if (win == 0) 58 sp = _nc_screen_of(win); 63 if (touchline(win, beg, num) == ERR) 66 if (touchline(CurScreen(sp), beg + win->_begy, num) == ERR) 70 if (end > CurScreen(sp)->_maxy + 1 - win->_begy) 71 end = CurScreen(sp)->_maxy + 1 - win->_begy; 72 if (end > win->_maxy + 1) 73 end = win [all...] |
H A D | lib_scroll.c | 39 ** The routine wscrl(win, n). 50 _nc_scroll_window(WINDOW *win, argument 59 size_t to_copy = (sizeof(NCURSES_CH_T) * (size_t) (win->_maxx + 1)); 62 (void *) win, n, (long) top, (long) bottom)); 66 || bottom > win->_maxy) { 82 #define TopLimit(n) ((n) <= win->_maxy && (n) <= bottom) 89 memcpy(win->_line[line].text, 90 win->_line[line + n].text, 92 if_USE_SCROLL_HINTS(win->_line[line].oldindex = 93 win 139 wscrl(WINDOW *win, int n) argument [all...] |
H A D | lib_colorset.c | 48 wcolor_set(WINDOW *win, NCURSES_PAIRS_T pair_arg, void *opts) argument 53 T((T_CALLED("wcolor_set(%p,%d)"), (void *) win, color_pair)); 55 if (win 59 TR(TRACE_ATTRS, ("... current %ld", (long) GET_WINDOW_PAIR(win))); 60 SET_WINDOW_PAIR(win, color_pair); 61 if_EXT_COLORS(win->_color = color_pair);
|
H A D | use_window.c | 39 use_window(WINDOW *win, NCURSES_WINDOW_CB func, void *data) argument 45 (void *) win, 50 code = func(win, data);
|
H A D | lib_pad.c | 51 WINDOW *win; local 60 win = NCURSES_SP_NAME(_nc_makenew) (NCURSES_SP_ARGx l, c, 0, 0, _ISPAD); 61 if (win == NULL) 65 if_USE_SCROLL_HINTS(win->_line[i].oldindex = _NEWINDEX); 66 if ((win->_line[i].text = typeCalloc(NCURSES_CH_T, ((size_t) c))) == 0) { 67 (void) _nc_freewin(win); 70 for (ptr = win->_line[i].text; ptr < win->_line[i].text + c; ptr++) 74 returnWin(win); 88 WINDOW *win local 101 prefresh(WINDOW *win, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol) argument 123 pnoutrefresh(WINDOW *win, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol) argument [all...] |
H A D | lib_insnstr.c | 47 winsnstr(WINDOW *win, const char *s, int n) argument 52 T((T_CALLED("winsnstr(%p,%s,%d)"), (void *) win, _nc_visbufn(s, n), n)); 54 if (win != 0 && str != 0) { 55 SCREEN *sp = _nc_screen_of(win); 73 code = wins_nwstr(win, buffer, (int) n3); 81 NCURSES_SIZE_T oy = win->_cury; 82 NCURSES_SIZE_T ox = win->_curx; 86 _nc_insert_ch(sp, win, (chtype) UChar(*cp)); 88 win->_curx = ox; 89 win [all...] |
H A D | lib_hline.c | 49 whline(WINDOW *win, chtype ch, int n) argument 53 T((T_CALLED("whline(%p,%s,%d)"), (void *) win, _tracechtype(ch), n)); 55 if (win) { 56 struct ldat *line = &(win->_line[win->_cury]); 58 int start = win->_curx; 61 if (end > win->_maxx) 62 end = win->_maxx; 70 wch = _nc_render(win, wch); 76 if (end < win [all...] |
H A D | lib_vline.c | 49 wvline(WINDOW *win, chtype ch, int n) argument 53 T((T_CALLED("wvline(%p,%s,%d)"), (void *) win, _tracechtype(ch), n)); 55 if (win) { 57 int row = win->_cury; 58 int col = win->_curx; 61 if (end > win->_maxy) 62 end = win->_maxy; 68 wch = _nc_render(win, wch); 71 struct ldat *line = &(win->_line[end]); 76 if (col < win [all...] |
H A D | lib_box.c | 50 _my_render(WINDOW *win, chtype ch) argument 54 wch = _nc_render(win, wch); 58 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _my_render(win, (ch == 0) ? def : ch) 60 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _nc_render(win, (ch == 0) ? def : ch) 64 wborder(WINDOW *win, argument 75 (void *) win, 85 if (!win) 107 endx = win->_maxx; 108 endy = win->_maxy; 111 SetChar2(win [all...] |
H A D | lib_inchstr.c | 48 winchnstr(WINDOW *win, chtype *str, int n) argument 52 T((T_CALLED("winchnstr(%p,%p,%d)"), (void *) win, (void *) str, n)); 54 if (!win || !str) { 57 int row = win->_cury; 58 int col = win->_curx; 59 NCURSES_CH_T *text = win->_line[row].text; 61 for (; (n < 0 || (i < n)) && (col + i <= win->_maxx); i++) {
|
H A D | lib_chgat.c | 49 wchgat(WINDOW *win, argument 59 (void *) win, 65 if (win) { 66 struct ldat *line = &(win->_line[win->_cury]); 71 for (i = win->_curx; i <= win->_maxx && (n == -1 || (n-- > 0)); i++) {
|
/freebsd-current/contrib/ncurses/ncurses/widechar/ |
H A D | lib_hline_set.c | 46 whline_set(WINDOW *win, const cchar_t *ch, int n) argument 50 T((T_CALLED("whline_set(%p,%s,%d)"), (void *) win, _tracecchar_t(ch), n)); 52 if (win) { 53 struct ldat *line = &(win->_line[win->_cury]); 55 int start = win->_curx; 58 if (end > win->_maxx) 59 end = win->_maxx; 67 wch = _nc_render(win, wch); 74 _nc_synchook(win); [all...] |
H A D | lib_vline_set.c | 46 wvline_set(WINDOW *win, const cchar_t *ch, int n) argument 50 T((T_CALLED("wvline(%p,%s,%d)"), (void *) win, _tracecchar_t(ch), n)); 52 if (win) { 54 int row = win->_cury; 55 int col = win->_curx; 58 if (end > win->_maxy) 59 end = win->_maxy; 65 wch = _nc_render(win, wch); 68 struct ldat *line = &(win->_line[end]); 74 _nc_synchook(win); [all...] |
H A D | lib_inwstr.c | 46 winnwstr(WINDOW *win, wchar_t *wstr, int n) argument 51 T((T_CALLED("winnwstr(%p,%p,%d)"), (void *) win, (void *) wstr, n)); 53 if (win) { 58 getyx(win, row, col); 60 text = win->_line[row].text; 83 if (++col > win->_maxx) { 102 winwstr(WINDOW *win, wchar_t *wstr) argument 106 T((T_CALLED("winwstr(%p,%p)"), (void *) win, (void *) wstr)); 107 if (win == 0) { 109 } else if (winnwstr(win, wst [all...] |
H A D | lib_box_set.c | 46 wborder_set(WINDOW *win, argument 57 (void *) win, 67 if (!win) 70 #define RENDER_WITH_DEFAULT(ch,def) w ##ch = _nc_render(win, (ch == 0) ? *(const ARG_CH_T)def : *ch) 91 endx = win->_maxx; 92 endy = win->_maxy; 95 win->_line[0].text[i] = wts; 96 win->_line[endy].text[i] = wbs; 98 win->_line[endy].firstchar = win [all...] |
H A D | lib_in_wch.c | 46 win_wch(WINDOW *win, cchar_t *wcval) argument 50 TR(TRACE_CCALLS, (T_CALLED("win_wch(%p,%p)"), (void *) win, (void *) wcval)); 52 if (win != 0 56 getyx(win, row, col); 58 *wcval = win->_line[row].text[col];
|
/freebsd-current/contrib/dialog/ |
H A D | arrows.c | 34 #define add_acs(win, code) wadd_wch(win, W ## code) 36 #define add_acs(win, code) waddch(win, dlg_boxchar(code)) 71 dlg_draw_helpline(WINDOW *win, bool decorations) argument 77 && (bottom = getmaxy(win) - 1) > 0) { 81 int avail = (getmaxx(win) - other - 2); 87 getyx(win, cur_y, cur_x); 89 (void) wmove(win, bottom, other + (avail - limit) / 2); 90 waddch(win, '['); 99 dlg_draw_arrows2(WINDOW *win, int top_arrow, int bottom_arrow, int x, int top, int bottom, chtype attr, chtype borderattr) argument 157 dlg_draw_scrollbar(WINDOW *win, long first_data, long this_data, long next_data, long total_data, int left, int right, int top, int bottom, chtype attr, chtype borderattr) argument 261 dlg_draw_arrows(WINDOW *win, int top_arrow, int bottom_arrow, int x, int top, int bottom) argument [all...] |
/freebsd-current/contrib/ncurses/menu/ |
H A D | m_sub.c | 45 | Function : int set_menu_sub(MENU *menu, WINDOW *win) 53 set_menu_sub(MENU *menu, WINDOW *win) argument 55 T((T_CALLED("set_menu_sub(%p,%p)"), (void *)menu, (void *)win)); 71 menu->usersub = win ? win : sp->_stdscr; 75 menu->usersub = win; 79 _nc_Default_Menu.usersub = win;
|
H A D | m_win.c | 45 | Function : int set_menu_win(MENU *menu, WINDOW *win) 53 set_menu_win(MENU *menu, WINDOW *win) argument 55 T((T_CALLED("set_menu_win(%p,%p)"), (void *)menu, (void *)win)); 71 menu->userwin = win ? win : sp->_stdscr; 75 menu->userwin = win; 79 _nc_Default_Menu.userwin = win;
|
/freebsd-current/contrib/ncurses/form/ |
H A D | frm_sub.c | 40 | Function : int set_form_sub(FORM *form, WINDOW *win) 42 | Description : Set the subwindow of the form to win. 48 set_form_sub(FORM *form, WINDOW *win) argument 50 T((T_CALLED("set_form_sub(%p,%p)"), (void *)form, (void *)win)); 59 f->sub = win ? win : StdScreen(Get_Form_Screen(f)); 62 Normalize_Form(form)->sub = win;
|