/haiku-fatelf/src/libs/ncurses/ncurses/base/ |
H A D | lib_winch.c | 45 winch(WINDOW *win) 47 T((T_CALLED("winch(%p)"), win)); 48 if (win != 0) { 49 returnChar(CharOf(win->_line[win->_cury].text[win->_curx]) | 50 AttrOf(win->_line[win->_cury].text[win->_curx]));
|
H A D | lib_insdel.c | 37 ** The routine winsdelln(win, n). 48 winsdelln(WINDOW *win, int n) argument 52 T((T_CALLED("winsdelln(%p,%d)"), win, n)); 54 if (win) { 56 _nc_scroll_window(win, -n, win->_cury, win->_maxy, 57 win->_nc_bkgd); 58 _nc_synchook(win);
|
H A D | lib_clreol.c | 46 wclrtoeol(WINDOW *win) argument 50 T((T_CALLED("wclrtoeol(%p)"), win)); 52 if (win) { 56 NCURSES_SIZE_T y = win->_cury; 57 NCURSES_SIZE_T x = win->_curx; 63 if ((win->_flags & _WRAPPED) != 0 64 && y < win->_maxy) { 65 win->_flags &= ~_WRAPPED; 72 if ((win->_flags & _WRAPPED) != 0 73 || y > win [all...] |
H A D | lib_immedok.c | 46 immedok(WINDOW *win, bool flag) argument 48 T((T_CALLED("immedok(%p,%d)"), win, flag)); 50 if (win) 51 win->_immed = flag;
|
H A D | lib_inchstr.c | 46 winchnstr(WINDOW *win, chtype * str, int n) argument 50 T((T_CALLED("winchnstr(%p,%p,%d)"), win, str, n)); 55 if (win) { 56 for (; (n < 0 || (i < n)) && (win->_curx + i <= win->_maxx); i++) 58 CharOf(win->_line[win->_cury].text[win->_curx + i]) | 59 AttrOf(win->_line[win [all...] |
H A D | lib_mvwin.c | 46 mvwin(WINDOW *win, int by, int bx) argument 48 T((T_CALLED("mvwin(%p,%d,%d)"), win, by, bx)); 50 if (!win || (win->_flags & _ISPAD)) 54 if (win->_flags & _SUBWIN) { 56 WINDOW *parent = win->_parent; 63 if ((by - parent->_begy == win->_pary) && 64 (bx - parent->_begx == win->_parx)) 67 WINDOW *clone = dupwin(win); 69 /* now we have the clone, so relocate win */ [all...] |
H A D | lib_clrbot.c | 46 wclrtobot(WINDOW *win) argument 50 T((T_CALLED("wclrtobot(%p)"), win)); 52 if (win) { 54 NCURSES_SIZE_T startx = win->_curx; 55 NCURSES_CH_T blank = win->_nc_bkgd; 58 win->_cury, win->_maxy, win->_maxx)); 60 for (y = win->_cury; y <= win [all...] |
H A D | lib_erase.c | 46 werase(WINDOW *win) argument 53 T((T_CALLED("werase(%p)"), win)); 55 if (win) { 56 blank = win->_nc_bkgd; 57 for (y = 0; y <= win->_maxy; y++) { 58 start = win->_line[y].text; 59 end = &start[win->_maxx]; 64 win->_line[y].firstchar = 0; 65 win->_line[y].lastchar = win [all...] |
H A D | lib_insch.c | 53 _nc_insert_ch(WINDOW *win, chtype ch) argument 62 for (count = (TABSIZE - (win->_curx % TABSIZE)); count > 0; count--) { 63 if ((code = _nc_insert_ch(win, ' ')) != OK) 71 _nc_waddch_nosync(win, wch); 76 WINDOW_EXT(win, addch_used) == 0 && 80 if (win->_curx <= win->_maxx) { 81 struct ldat *line = &(win->_line[win->_cury]); 82 NCURSES_CH_T *end = &(line->text[win 120 winsch(WINDOW *win, chtype c) argument [all...] |
H A D | lib_move.c | 47 wmove(WINDOW *win, int y, int x) argument 49 T((T_CALLED("wmove(%p,%d,%d)"), win, y, x)); 51 if (LEGALYX(win, y, x)) { 52 win->_curx = (NCURSES_SIZE_T) x; 53 win->_cury = (NCURSES_SIZE_T) y; 55 win->_flags &= ~_WRAPPED; 56 win->_flags |= _HASMOVED;
|
H A D | lib_scrreg.c | 46 wsetscrreg(WINDOW *win, int top, int bottom) argument 48 T((T_CALLED("wsetscrreg(%p,%d,%d)"), win, top, bottom)); 50 if (win && 51 top >= 0 && top <= win->_maxy && 52 bottom >= 0 && bottom <= win->_maxy && 54 win->_regtop = (NCURSES_SIZE_T) top; 55 win->_regbottom = (NCURSES_SIZE_T) bottom;
|
H A D | lib_wattroff.c | 48 wattr_off(WINDOW *win, attr_t at, void *opts GCC_UNUSED) argument 50 T((T_CALLED("wattr_off(%p,%s)"), win, _traceattr(at))); 51 if (win) { 52 T(("... current %s (%d)", _traceattr(win->_attrs), GET_WINDOW_PAIR(win))); 55 win->_color = 0; 57 toggle_attr_off(win->_attrs, at);
|
H A D | lib_wattron.c | 48 wattr_on(WINDOW *win, attr_t at, void *opts GCC_UNUSED) argument 50 T((T_CALLED("wattr_on(%p,%s)"), win, _traceattr(at))); 51 if (win != 0) { 52 T(("... current %s (%d)", _traceattr(win->_attrs), GET_WINDOW_PAIR(win))); 55 win->_color = PAIR_NUMBER(at); 57 toggle_attr_on(win->_attrs, at);
|
H A D | lib_window.c | 45 _nc_synchook(WINDOW *win) argument 48 if (win->_immed) 49 wrefresh(win); 50 if (win->_sync) 51 wsyncup(win); 55 mvderwin(WINDOW *win, int y, int x) argument 61 T((T_CALLED("mvderwin(%p,%d,%d)"), win, y, x)); 63 if (win && (orig = win->_parent)) { 64 if (win 82 syncok(WINDOW *win, bool bf) argument 95 wsyncup(WINDOW *win) argument 127 wsyncdown(WINDOW *win) argument 165 wcursyncup(WINDOW *win) argument 178 dupwin(WINDOW *win) argument [all...] |
H A D | lib_scroll.c | 38 ** The routine wscrl(win, n). 49 _nc_scroll_window(WINDOW *win, argument 58 size_t to_copy = (size_t) (sizeof(NCURSES_CH_T) * (win->_maxx + 1)); 60 TR(TRACE_MOVE, ("_nc_scroll_window(%p, %d, %d, %d)", win, n, top, bottom)); 64 || bottom > win->_maxy) { 85 memcpy(win->_line[line].text, 86 win->_line[line + n].text, 88 if_USE_SCROLL_HINTS(win->_line[line].oldindex = 89 win->_line[line + n].oldindex); 91 for (line = top; line < limit && line <= win 135 wscrl(WINDOW *win, int n) argument [all...] |
H A D | lib_delwin.c | 46 cannot_delete(WINDOW *win) argument 52 if (&(p->win) == win) { 54 } else if ((p->win._flags & _SUBWIN) != 0 55 && p->win._parent == win) { 64 delwin(WINDOW *win) argument 66 T((T_CALLED("delwin(%p)"), win)); 68 if (win == 0 69 || cannot_delete(win)) [all...] |
H A D | lib_bkgd.c | 49 wbkgrndset(WINDOW *win, const ARG_CH_T ch) argument 51 T((T_CALLED("wbkgdset(%p,%s)"), win, _tracech_t(ch))); 53 if (win) { 54 attr_t off = AttrOf(win->_nc_bkgd); 57 toggle_attr_off(win->_attrs, off); 58 toggle_attr_on(win->_attrs, on); 64 if ((pair = GetPair(win->_nc_bkgd)) != 0) 65 SET_WINDOW_PAIR(win, 0); 67 SET_WINDOW_PAIR(win, pair); 72 SetChar(win 101 wbkgdset(WINDOW *win, chtype ch) argument 117 wbkgrnd(WINDOW *win, const ARG_CH_T ch) argument 151 wbkgd(WINDOW *win, chtype ch) argument [all...] |
H A D | lib_chgat.c | 48 wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts GCC_UNUSED) argument 52 T((T_CALLED("wchgat(%p,%d,%s,%d)"), win, n, _traceattr(attr), color)); 54 if (win) { 57 for (i = win->_curx; i <= win->_maxx && (n == -1 || (n-- > 0)); i++) { 58 SetAttr(win->_line[win->_cury].text[i], attr); 59 SetPair(win->_line[win->_cury].text[i], color);
|
H A D | lib_newwin.c | 47 remove_window_from_screen(WINDOW *win) argument 53 if (sp->_curscr == win) { 55 if (win == curscr) 57 } else if (sp->_stdscr == win) { 59 if (win == stdscr) 61 } else if (sp->_newscr == win) { 63 if (win == newscr) 76 _nc_freewin(WINDOW *win) argument 82 if (win != 0) { 84 if (&(p->win) 110 WINDOW *win; local 145 WINDOW *win; local 208 WINDOW *win; local [all...] |
H A D | lib_refresh.c | 47 wrefresh(WINDOW *win) argument 51 T((T_CALLED("wrefresh(%p)"), win)); 53 if (win == 0) { 55 } else if (win == curscr) { 58 } else if ((code = wnoutrefresh(win)) == OK) { 59 if (win->_clear) 68 win->_clear = FALSE; 74 wnoutrefresh(WINDOW *win) argument 85 T((T_CALLED("wnoutrefresh(%p)"), win)); 88 _tracedump("...win", wi [all...] |
H A D | lib_colorset.c | 47 wcolor_set(WINDOW *win, short color_pair_number, void *opts) argument 49 T((T_CALLED("wcolor_set(%p,%d)"), win, color_pair_number)); 50 if (win 54 TR(TRACE_ATTRS, ("... current %ld", (long) GET_WINDOW_PAIR(win))); 55 SET_WINDOW_PAIR(win, color_pair_number); 56 if_EXT_COLORS(win->_color = color_pair_number);
|
H A D | lib_touch.c | 49 is_linetouched(WINDOW *win, int line) 51 T((T_CALLED("is_linetouched(%p,%d)"), win, line)); 54 if (!win || (line > win->_maxy) || (line < 0)) 57 returnCode(win->_line[line].firstchar != _NOCHANGE ? TRUE : FALSE); 61 is_wintouched(WINDOW *win) 65 T((T_CALLED("is_wintouched(%p)"), win)); 67 if (win) 68 for (i = 0; i <= win->_maxy; i++) 69 if (win 75 wtouchln(WINDOW *win, int y, int n, int changed) argument [all...] |
/haiku-fatelf/src/libs/ncurses/test/ |
H A D | testcurs.c | 68 WINDOW *win; local 80 if (!initTest(&win)) 89 wbkgd(win, COLOR_PAIR(1)); 91 wbkgd(win, A_REVERSE); 93 wbkgd(win, A_REVERSE); 95 werase(win); 118 (*command[new_option].function) (win); 145 delwin(win); 155 Continue(WINDOW *win) argument 157 int y1 = getmaxy(win); 177 initTest(WINDOW **win) argument 204 introTest(WINDOW *win) argument 226 scrollTest(WINDOW *win) argument 280 inputTest(WINDOW *win) argument 436 outputTest(WINDOW *win) argument [all...] |
/haiku-fatelf/src/apps/cortex/addons/LoggingConsumer/ |
H A D | NodeHarnessApp.cpp | 46 BWindow* win = new NodeHarnessWin(BRect(100, 200, 210, 330), "NodeLogger"); local 47 win->Show();
|
/haiku-fatelf/src/apps/cortex/addons/ToneProducer/ |
H A D | NodeHarnessApp.cpp | 44 BWindow* win = new NodeHarnessWin(BRect(100, 200, 210, 330), "ToneProducer"); local 45 win->Show();
|