/haiku-fatelf/src/libs/ncurses/test/ |
H A D | demo_defkey.c | 20 log_last_line(WINDOW *win) argument 27 getyx(win, y, x); 28 wmove(win, y - 1, 0); 29 n = winnstr(win, temp, sizeof(temp)); 36 wmove(win, y, x); 96 really_define_key(WINDOW *win, const char *new_string, int code) argument 110 wprintw(win, "%s is %s\n", 114 wprintw(win, "%s is not bound\n", 117 log_last_line(win); 125 wprintw(win, " 151 duplicate(WINDOW *win, NCURSES_CONST char *name, int code) argument 172 redefine(WINDOW *win, char *string, int code) argument 178 remove_definition(WINDOW *win, int code) argument 189 WINDOW *win; local [all...] |
H A D | test.priv.h | 232 #define getcurx(win) ((win)?(win)->_curx:ERR) 233 #define getcury(win) ((win)?(win)->_cury:ERR) 237 #define getbegx(win) ((win)?(win)->_begx:ERR) 238 #define getbegy(win) ((wi [all...] |
/haiku-fatelf/src/libs/ncurses/ncurses/widechar/ |
H A D | lib_inwstr.c | 45 winnwstr(WINDOW *win, wchar_t *wstr, int n) argument 53 T((T_CALLED("winnwstr(%p,%p,%d)"), win, wstr, n)); 55 if (win) { 56 getyx(win, row, col); 58 text = win->_line[row].text; 74 if (++col > win->_maxx) { 93 winwstr(WINDOW *win, wchar_t *wstr) argument 96 T((T_CALLED("winwstr(%p,%p)"), win, wstr)); 97 if (winnwstr(win, wstr, CCHARW_MAX * (win [all...] |
H A D | lib_add_wch.c | 41 wadd_wch(WINDOW *win, const cchar_t * wch) argument 47 TR(TRACE_VIRTPUT | TRACE_CCALLS, (T_CALLED("wadd_wch(%p, %s)"), win, 50 if (win != 0) { 58 code = waddch(win, UChar(PUTC_ch) | wch->attr); 62 if ((code = waddch(win, UChar(PUTC_buf[n]) | wch->attr)) == ERR) { 76 wecho_wchar(WINDOW *win, const cchar_t * wch) argument 82 TR(TRACE_VIRTPUT | TRACE_CCALLS, (T_CALLED("wecho_wchar(%p, %s)"), win, 85 if (win != 0) { 93 code = waddch(win, UChar(PUTC_ch) | wch->attr); 97 if ((code = waddch(win, UCha [all...] |
/haiku-fatelf/src/libs/glut/ |
H A D | glutEvent.cpp | 131 GlutWindow *win = gState.windowList[i]; local 132 // NOTE: we can use win as a shortcut for gState.windowList[i] 135 if (win->anyevents) { 136 win->anyevents = false; 137 if (win->reshapeEvent) { 138 win->reshapeEvent = false; 139 __glutSetWindow(win); 140 win->reshape(win->m_width, win 885 GlutWindow *win = bmenu->win; // my window local [all...] |
H A D | glutOverlay.cpp | 45 void glutPostWindowOverlayRedisplay(int win) { argument
|
H A D | glutColor.cpp | 30 void glutCopyColormap(int win) { argument
|
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/ |
H A D | lib_options.c | 49 idlok(WINDOW *win, bool flag) argument 51 T((T_CALLED("idlok(%p,%d)"), win, flag)); 53 if (win) { 54 _nc_idlok = win->_idlok = (flag && (has_il() || change_scroll_region)); 61 idcok(WINDOW *win, bool flag) argument 63 T((T_CALLED("idcok(%p,%d)"), win, flag)); 65 if (win) 66 _nc_idcok = win->_idcok = (flag && has_ic()); 85 nodelay(WINDOW *win, bool flag) argument 87 T((T_CALLED("nodelay(%p,%d)"), win, fla 100 notimeout(WINDOW *win, bool f) argument 112 wtimeout(WINDOW *win, int delay) argument 123 keypad(WINDOW *win, bool flag) argument [all...] |
/haiku-fatelf/src/libs/ncurses/menu/ |
H A D | m_post.c | 62 assert(menu->win); 64 getyx(menu->win, item_y, item_x); 70 wattron(menu->win, menu->back); 82 wattron(menu->win, menu->fore); 85 waddstr(menu->win, menu->mark); 88 wattron(menu->win, menu->fore); 95 waddch(menu->win, ch); 96 wattroff(menu->win, menu->back); 104 wattron(menu->win, menu->grey); 111 wattron(menu->win, men 288 WINDOW *win = Get_Menu_Window(menu); local 344 WINDOW *win; local [all...] |
H A D | m_sub.c | 44 | Function : int set_menu_sub(MENU *menu, WINDOW *win) 52 set_menu_sub(MENU * menu, WINDOW *win) argument 54 T((T_CALLED("set_menu_sub(%p,%p)"), menu, win)); 60 menu->usersub = win; 64 _nc_Default_Menu.usersub = win;
|
H A D | m_win.c | 44 | Function : int set_menu_win(MENU *menu, WINDOW *win) 52 set_menu_win(MENU * menu, WINDOW *win) argument 54 T((T_CALLED("set_menu_win(%p,%p)"), menu, win)); 60 menu->userwin = win; 64 _nc_Default_Menu.userwin = win;
|
/haiku-fatelf/src/libs/ncurses/ncurses/base/ |
H A D | lib_pad.c | 48 WINDOW *win; local 57 if ((win = _nc_makenew(l, c, 0, 0, _ISPAD)) == NULL) 61 if_USE_SCROLL_HINTS(win->_line[i].oldindex = _NEWINDEX); 62 if ((win->_line[i].text = typeCalloc(NCURSES_CH_T, ((size_t) c))) == 0) { 63 (void) _nc_freewin(win); 66 for (ptr = win->_line[i].text; ptr < win->_line[i].text + c; ptr++) 70 returnWin(win); 77 WINDOW *win = (WINDOW *) 0; local 83 || ((win 90 prefresh(WINDOW *win, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol) argument 104 pnoutrefresh(WINDOW *win, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol) argument [all...] |
H A D | lib_box.c | 47 _my_render(WINDOW *win, chtype ch) argument 51 wch = _nc_render(win, wch); 54 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _my_render(win, (ch == 0) ? def : ch) 56 #define RENDER_WITH_DEFAULT(ch,def) w ## ch = _nc_render(win, (ch == 0) ? def : ch) 60 wborder(WINDOW *win, argument 71 win, 81 if (!win) 103 endx = win->_maxx; 104 endy = win->_maxy; 107 SetChar2(win [all...] |
H A D | lib_addstr.c | 50 waddnstr(WINDOW *win, const char *astr, int n) argument 55 T((T_CALLED("waddnstr(%p,%s,%d)"), win, _nc_visbufn(astr, n), n)); 57 if (win && (str != 0)) { 58 TR(TRACE_VIRTPUT | TRACE_ATTRS, ("... current %s", _traceattr(win->_attrs))); 68 if (_nc_waddch_nosync(win, ch) == ERR) { 73 _nc_synchook(win); 80 waddchnstr(WINDOW *win, const chtype *astr, int n) argument 82 NCURSES_SIZE_T y = win->_cury; 83 NCURSES_SIZE_T x = win->_curx; 87 T((T_CALLED("waddchnstr(%p,%p,%d)"), win, ast 132 wadd_wchnstr(WINDOW *win, const cchar_t *astr, int n) argument 217 waddnwstr(WINDOW *win, const wchar_t *str, int n) argument [all...] |
H A D | lib_scanw.c | 46 vwscanw(WINDOW *win, NCURSES_CONST char *fmt, va_list argp) argument 50 if (wgetnstr(win, buf, sizeof(buf) - 1) == ERR) 71 wscanw(WINDOW *win, NCURSES_CONST char *fmt,...) argument 76 T(("wscanw(%p,\"%s\",...) called", win, fmt)); 79 code = vwscanw(win, fmt, ap); 97 mvwscanw(WINDOW *win, int y, int x, NCURSES_CONST char *fmt,...) argument 103 code = (wmove(win, y, x) == OK) ? vwscanw(win, fmt, ap) : ERR;
|
H A D | lib_instr.c | 47 winnstr(WINDOW *win, char *str, int n) argument 51 T((T_CALLED("winnstr(%p,%p,%d)"), win, str, n)); 56 if (win) { 57 getyx(win, row, col); 60 n = win->_maxx - win->_curx + 1; 64 cchar_t *cell = &(win->_line[row].text[col]); 102 str[i++] = CharOf(win->_line[row].text[col]); 104 if (++col > win->_maxx) { 106 if (++row > win [all...] |
H A D | resizeterm.c | 61 &(wp->win), 62 wp->win._maxy + 1, 63 wp->win._maxx + 1, 64 wp->win._begy, 65 wp->win._begx); 92 WINDOW *tst = &(wp->win); 124 adjust_window(WINDOW *win, int ToLines, int ToCols, int stolen) argument 128 int myLines = win->_maxy + 1; 129 int myCols = win->_maxx + 1; 132 win, ToLine 183 WINDOW *win = &(wp->win); local 216 WINDOW *win = &(wp->win); local [all...] |
H A D | lib_printw.c | 65 wprintw(WINDOW *win, const char *fmt,...) argument 73 win, _nc_visbuf(fmt), _nc_varargs(fmt, argp))); 78 code = vwprintw(win, fmt, argp); 106 mvwprintw(WINDOW *win, int y, int x, const char *fmt,...) argument 114 y, x, win, _nc_visbuf(fmt), _nc_varargs(fmt, argp))); 118 if ((code = wmove(win, y, x)) != ERR) { 120 code = vwprintw(win, fmt, argp); 127 vwprintw(WINDOW *win, const char *fmt, va_list argp) argument 132 T((T_CALLED("vwprintw(%p,%s,va_list)"), win, _nc_visbuf(fmt))); 135 code = waddstr(win, bu [all...] |
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | winsize.c | 79 struct winsize win; local 83 if (tty >= 0 && (ioctl (tty, TIOCGWINSZ, &win) == 0) && 84 win.ws_row > 0 && win.ws_col > 0) 86 sh_set_lines_and_columns (win.ws_row, win.ws_col); 88 rl_set_screen_size (win.ws_row, win.ws_col); 90 *rp = win.ws_row; 92 *cp = win [all...] |
/haiku-fatelf/src/libs/ncurses/form/ |
H A D | frm_sub.c | 39 | Function : int set_form_sub(FORM *form, WINDOW *win) 41 | Description : Set the subwindow of the form to win. 47 set_form_sub(FORM *form, WINDOW *win) argument 49 T((T_CALLED("set_form_sub(%p,%p)"), form, win)); 54 Normalize_Form(form)->sub = win;
|
/haiku-fatelf/src/libs/ncurses/panel/ |
H A D | p_win.c | 45 returnWin(pan ? pan->win : (WINDOW *)0);
|
H A D | p_new.c | 61 WINDOW *win = stdscr; local 63 pan->win = win; 80 new_panel(WINDOW *win) argument 84 T((T_CALLED("new_panel(%p)"), win)); 86 if (!win) 93 if (!(win->_flags & _ISPAD) && (pan = (PANEL *) malloc(sizeof(PANEL)))) 95 pan->win = win;
|
/haiku-fatelf/src/libs/ncurses/ncurses/trace/ |
H A D | lib_tracedmp.c | 46 _tracedump(const char *name, WINDOW *win) argument 54 for (width = i = 0; i <= win->_maxy; ++i) { 56 for (j = 0; j <= win->_maxx; ++j) { 57 if (CharOf(win->_line[i].text[j]) != L(' ') 58 || AttrOf(win->_line[i].text[j]) != A_NORMAL 59 || GetPair(win->_line[i].text[j]) != 0) { 67 if (width < win->_maxx) 74 for (n = 0; n <= win->_maxy; ++n) { 84 chtype test = CharOf(win->_line[n].text[j]); 87 && (win [all...] |
/haiku-fatelf/src/libs/ncurses/c++/ |
H A D | cursesw.cc | 207 NCursesWindow::NCursesWindow(NCursesWindow& win, int l, int c, argument 213 begin_y -= win.begy(); 214 begin_x -= win.begx(); 221 w = ::derwin(win.w, l, c, begin_y, begin_x); 226 par = &win; 227 sib = win.subwins; 228 win.subwins = this; 234 NCursesWindow::NCursesWindow(NCursesWindow& win, argument 239 int myHeight = win.height(); 240 int myWidth = win 275 NCursesWindow(WINDOW *win, int ncols) argument 297 ripoffline(int ripoff_lines, int (*init)(NCursesWindow& win)) argument 308 isDescendant(NCursesWindow& win) argument 341 NCursesWindow * win = par->subwins; local [all...] |
/haiku-fatelf/headers/libs/ncurses/ |
H A D | curses.h | 862 #define getyx(win,y,x) (y = getcury(win), x = getcurx(win)) 863 #define getbegyx(win,y,x) (y = getbegy(win), x = getbegx(win)) 864 #define getmaxyx(win,y,x) (y = getmaxy(win), x = getmaxx(win)) 865 #define getparyx(win, [all...] |