Searched refs:win (Results 26 - 50 of 177) sorted by relevance

12345678

/haiku-fatelf/src/libs/ncurses/ncurses/base/
H A Dlib_addch.c55 render_char(WINDOW *win, NCURSES_CH_T ch) argument
58 attr_t a = win->_attrs;
65 ch = win->_nc_bkgd;
66 SetAttr(ch, a | AttrOf(win->_nc_bkgd));
67 if ((pair = GET_WINDOW_PAIR(win)) == 0)
68 pair = GetPair(win->_nc_bkgd);
72 a |= AttrOf(win->_nc_bkgd) & COLOR_MASK(a);
75 if ((pair = GET_WINDOW_PAIR(win)) == 0)
76 pair = GetPair(win->_nc_bkgd);
90 _tracech_t2(1, CHREF(win
133 wrap_to_next_line(WINDOW *win) argument
154 fill_cells(WINDOW *win, int count) argument
175 _nc_build_wch(WINDOW *win, ARG_CH_T ch) argument
228 waddch_literal(WINDOW *win, NCURSES_CH_T ch) argument
369 waddch_nosync(WINDOW *win, const NCURSES_CH_T ch) argument
474 _nc_waddch_nosync(WINDOW *win, const NCURSES_CH_T c) argument
489 waddch(WINDOW *win, const chtype ch) argument
508 wechochar(WINDOW *win, const chtype ch) argument
[all...]
H A Dlib_getstr.c51 WipeOut(WINDOW *win, int y, int x, char *first, char *last, bool echoed) argument
56 int y1 = win->_cury;
57 int x1 = win->_curx;
59 wmove(win, y, x);
60 waddstr(win, first);
61 getyx(win, y, x);
62 while (win->_cury < y1
63 || (win->_cury == y1 && win->_curx < x1))
64 waddch(win, (chtyp
73 wgetnstr_events(WINDOW *win, char *str, int maxlen, EVENTLIST_1st(_nc_eventlist * evl)) argument
208 wgetnstr(WINDOW *win, char *str, int maxlen) argument
[all...]
H A Dlib_delch.c46 wdelch(WINDOW *win) argument
50 T((T_CALLED("wdelch(%p)"), win));
52 if (win) {
53 NCURSES_CH_T blank = win->_nc_bkgd;
54 struct ldat *line = &(win->_line[win->_cury]);
55 NCURSES_CH_T *end = &(line->text[win->_maxx]);
56 NCURSES_CH_T *temp2 = &(line->text[win->_curx + 1]);
59 CHANGED_TO_EOL(line, win->_curx, win
[all...]
H A Dlib_clear.c46 wclear(WINDOW *win) argument
50 T((T_CALLED("wclear(%p)"), win));
52 if ((code = werase(win)) != ERR)
53 win->_clear = TRUE;
H A Dlib_clearok.c46 clearok(WINDOW *win, bool flag) argument
48 T((T_CALLED("clearok(%p,%d)"), win, flag));
50 if (win) {
51 win->_clear = flag;
H A Dlib_leaveok.c46 leaveok(WINDOW *win, bool flag) argument
48 T((T_CALLED("leaveok(%p,%d)"), win, flag));
50 if (win) {
51 win->_leaveok = flag;
H A Dlib_scrollok.c46 scrollok(WINDOW *win, bool flag) argument
48 T((T_CALLED("scrollok(%p,%d)"), win, flag));
50 if (win) {
51 win->_scroll = flag;
H A Dlib_hline.c46 whline(WINDOW *win, chtype ch, int n) argument
52 T((T_CALLED("whline(%p,%s,%d)"), win, _tracechtype(ch), n));
54 if (win) {
55 struct ldat *line = &(win->_line[win->_cury]);
58 start = win->_curx;
60 if (end > win->_maxx)
61 end = win->_maxx;
69 wch = _nc_render(win, wch);
76 _nc_synchook(win);
[all...]
H A Dlib_vline.c46 wvline(WINDOW *win, chtype ch, int n) argument
52 T((T_CALLED("wvline(%p,%s,%d)"), win, _tracechtype(ch), n));
54 if (win) {
56 row = win->_cury;
57 col = win->_curx;
59 if (end > win->_maxy)
60 end = win->_maxy;
66 wch = _nc_render(win, wch);
69 struct ldat *line = &(win->_line[end]);
75 _nc_synchook(win);
[all...]
H A Dwresize.c58 WINDOW *tst = &(wp->win);
86 wresize(WINDOW *win, int ToLines, int ToCols) argument
93 T((T_CALLED("wresize(%p,%d,%d)"), win, ToLines, ToCols));
94 if (win) {
96 win->_begy, win->_begx,
97 win->_maxy, win->_maxx,
98 win->_regtop, win
[all...]
H A Dlib_insnstr.c46 winsnstr(WINDOW *win, const char *s, int n) argument
54 T((T_CALLED("winsnstr(%p,%s,%d)"), win, _nc_visbufn(s, n), n));
56 if (win != 0 && str != 0) {
57 oy = win->_cury;
58 ox = win->_curx;
60 _nc_insert_ch(win, (chtype) UChar(*cp));
62 win->_curx = ox;
63 win->_cury = oy;
64 _nc_synchook(win);
H A Dlib_redrawln.c45 wredrawln(WINDOW *win, int beg, int num) argument
49 size_t len = (win->_maxx + 1);
51 T((T_CALLED("wredrawln(%p,%d,%d)"), win, beg, num));
56 if (touchline(win, beg, num) == ERR)
62 if (end > win->_maxy + 1)
63 end = win->_maxy + 1;
70 memset(curscr->_line[i + win->_begy].text + win->_begx, 0, len);
71 _nc_make_oldhash(i + win->_begy);
H A Dlib_slkclear.c53 SP->_slk->win->_nc_bkgd = stdscr->_nc_bkgd;
54 SP->_slk->win->_attrs = stdscr->_attrs;
55 if (SP->_slk->win == stdscr) {
58 werase(SP->_slk->win);
59 returnCode(wrefresh(SP->_slk->win));
/haiku-fatelf/src/libs/ncurses/ncurses/widechar/
H A Dlib_get_wstr.c46 wadd_wint(WINDOW *win, wint_t *src) argument
54 return wadd_wch(win, &tmp);
62 WipeOut(WINDOW *win, int y, int x, wint_t *first, wint_t *last, bool echoed) argument
67 int y1 = win->_cury;
68 int x1 = win->_curx;
71 wmove(win, y, x);
73 wadd_wint(win, first + n);
75 getyx(win, y, x);
76 while (win->_cury < y1
77 || (win
87 wgetn_wstr(WINDOW *win, wint_t *str, int maxlen) argument
[all...]
H A Dlib_ins_wch.c49 _nc_insert_wch(WINDOW *win, const cchar_t *wch) argument
57 if (win->_curx <= win->_maxx) {
58 struct ldat *line = &(win->_line[win->_cury]);
59 NCURSES_CH_T *end = &(line->text[win->_curx]);
60 NCURSES_CH_T *temp1 = &(line->text[win->_maxx]);
63 CHANGED_TO_EOL(line, win->_curx, win->_maxx);
67 *temp1 = _nc_render(win, *wc
78 wins_wch(WINDOW *win, const cchar_t *wch) argument
100 wins_nwstr(WINDOW *win, const wchar_t *wstr, int n) argument
[all...]
H A Dlib_in_wchnstr.c45 win_wchnstr(WINDOW *win, cchar_t * wchstr, int n) argument
49 TR(TRACE_CALLS, (T_CALLED("win_wchnstr(%p,%p,%d)"), win, wchstr, n));
50 if (win != 0
55 getyx(win, row, col);
58 n = getmaxx(win) + 1 - getcurx(win);
61 wchstr[j] = win->_line[row].text[col + j];
H A Dlib_hline_set.c45 whline_set(WINDOW *win, const cchar_t * ch, int n) argument
51 T((T_CALLED("whline_set(%p,%s,%d)"), win, _tracecchar_t(ch), n));
53 if (win) {
54 struct ldat *line = &(win->_line[win->_cury]);
57 start = win->_curx;
59 if (end > win->_maxx)
60 end = win->_maxx;
68 wch = _nc_render(win, wch);
75 _nc_synchook(win);
[all...]
H A Dlib_vline_set.c45 wvline_set(WINDOW *win, const cchar_t * ch, int n) argument
51 T((T_CALLED("wvline(%p,%s,%d)"), win, _tracecchar_t(ch), n));
53 if (win) {
55 row = win->_cury;
56 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 Dlib_in_wch.c45 win_wch(WINDOW *win, cchar_t * wcval) argument
50 TR(TRACE_CCALLS, (T_CALLED("win_wch(%p,%p)"), win, wcval));
51 if (win != 0
53 getyx(win, row, col);
55 *wcval = win->_line[row].text[col];
H A Dlib_box_set.c45 wborder_set(WINDOW *win, argument
56 win,
66 if (!win)
69 #define RENDER_WITH_DEFAULT(ch,def) w ##ch = _nc_render(win, (ch == 0) ? *(const ARG_CH_T)def : *ch)
90 endx = win->_maxx;
91 endy = win->_maxy;
94 win->_line[0].text[i] = wts;
95 win->_line[endy].text[i] = wbs;
97 win->_line[endy].firstchar = win
[all...]
/haiku-fatelf/src/libs/ncurses/panel/
H A Dp_replace.c42 replace_panel(PANEL * pan, WINDOW *win) argument
44 T((T_CALLED("replace_panel(%p,%p)"), pan, win));
55 pan->win = win;
/haiku-fatelf/src/libs/ncurses/test/
H A Dnewdemo.c63 WaitForUser(WINDOW *win) argument
68 nodelay(win, TRUE);
71 if ((int) (key = wgetch(win)) != ERR) {
83 set_colors(WINDOW *win, int pair, int foreground, int background) argument
89 wattrset(win, COLOR_PAIR(pair));
94 use_colors(WINDOW *win, int pair, chtype attrs) argument
101 wattrset(win, attrs);
109 SubWinTest(WINDOW *win) argument
114 getmaxyx(win, h, w);
115 getbegyx(win, b
163 BouncingBalls(WINDOW *win) argument
218 WINDOW *win; local
[all...]
H A Ddemo_keyok.c16 WINDOW *win; local
26 win = newwin(LINES - 2, COLS, 2, 0);
27 scrollok(win, TRUE);
28 keypad(win, TRUE);
29 wmove(win, 0, 0);
31 while ((ch = wgetch(win)) != ERR) {
33 wprintw(win, "Keycode %d, name %s\n",
36 wclrtoeol(win);
37 wrefresh(win);
/haiku-fatelf/src/apps/bsnow/
H A DSnowApp.cpp12 BWindow* win; local
14 win = new BWindow(BRect(SNOW_VIEW_RECT), B_TRANSLATE_SYSTEM_NAME("BSnow"),
17 win->AddChild(view);
18 win->MoveTo(50, 50);
19 win->Show();
20 win->SetPulseRate(500000);
/haiku-fatelf/src/libs/ncurses/form/
H A Dfrm_win.c39 | Function : int set_form_win(FORM *form,WINDOW *win)
41 | Description : Set the window of the form to win.
47 set_form_win(FORM *form, WINDOW *win) argument
49 T((T_CALLED("set_form_win(%p,%p)"), form, win));
54 Normalize_Form(form)->win = win;
74 returnWin(f->win ? f->win : stdscr);

Completed in 170 milliseconds

12345678