Lines Matching defs:w
256 #define ACS_TTEE (A_ALTCHARSET | 'w')
332 #define __m_getpary(w) ((w)->_parent == (WINDOW *) 0 ? -1 \
333 : (w)->_begy - (w)->_parent->_begy)
334 #define __m_getparx(w) ((w)->_parent == (WINDOW *) 0 ? -1 \
335 : (w)->_begx - (w)->_parent->_begx)
340 #define getyx(w, y, x) (y = (w)->_cury, x = (w)->_curx)
341 #define getbegyx(w, y, x) (y = (w)->_begy, x = (w)->_begx)
342 #define getmaxyx(w, y, x) (y = (w)->_maxy, x = (w)->_maxx)
343 #define getparyx(w, y, x) (y = __m_getpary(w), x = __m_getparx(w))
737 #define mvwaddch(w, y, x, ch) \
738 (wmove(__w1 = (w), y, x) ? ((ch), ERR) : waddch(__w1, ch))
742 #define mvwadd_wch(w, y, x, cp) \
743 (wmove(__w1 = (w), y, x) ? ((cp), ERR) : wadd_wch(__w1, cp))
753 #define mvwaddchnstr(w, y, x, chs, n) \
754 (wmove(__w1 = (w), y, x) ? ((chs), (n), ERR) :\
757 #define mvwaddchstr(w, y, x, chs) \
758 (wmove(__w1 = (w), y, x) ? ((chs), ERR) : waddchstr(__w1, chs))
760 #define waddchstr(w, chs) waddchnstr(w, chs, -1)
770 #define mvwadd_wchnstr(w, y, x, cp, n) \
771 (wmove(__w1 = (w), y, x) ? ((cp), (n), ERR) :\
774 #define mvwadd_wchstr(w, y, x, cp) \
775 (wmove(__w1 = (w), y, x) ? ((cp), ERR) :\
778 #define wadd_wchstr(w, cp) wadd_wchnstr(w, cp, -1)
787 #define mvwaddnstr(w, y, x, s, n) \
788 (wmove(__w1 = (w), y, x) ? (s, n, ERR) : waddnstr(__w1, s, n))
790 #define mvwaddstr(w, y, x, s) \
791 (wmove(__w1 = (w), y, x) ? (s, ERR) : waddstr(__w1, s))
793 #define waddstr(w, wcs) waddnstr(w, wcs, -1)
802 #define mvwaddnwstr(w, y, x, wcs, n) \
803 (wmove(__w1 = (w), y, x) ? (wcs, n, ERR) :\
806 #define mvwaddwstr(w, y, x, wcs) \
807 (wmove(__w1 = (w), y, x) ? (wcs, ERR) : waddwstr(__w1, wcs))
809 #define waddwstr(w, wcs) waddnwstr(w, wcs, -1)
824 #define wgetbkgrnd(w, b) (*(b) = (w)->_bg, OK)
832 #define box(w, v, h) \
833 wborder(w, __cht1 = (v), __cht1, __cht2 = (h), __cht2, 0, 0, 0, 0)
835 #define box_set(w, v, h) \
836 wborder_set(w, __pcht1 = (v), __pcht1, __pcht2 = (h), __pcht2,\
848 #define mvwchgat(w, y, x, n, a, co, p) \
849 (wmove(__w1 = (w), y, x) ? (n, a, co, p, ERR) :\
856 #define wclear(w) \
857 (clearok(__w1 = (w), 1) ? ERR : werase(__w1))
859 #define werase(w) \
860 (wmove(__w1 = (w), 0, 0) ? ERR : wclrtobot(__w1))
864 #define mvwdelch(w, y, x) \
865 (wmove(__w1 = (w), y, x) ? ERR : wdelch(__w1))
870 #define wdeleteln(w) winsdelln(w, -1)
871 #define winsertln(w) winsdelln(w, 1)
875 #define wechochar(w, ch) \
876 (waddch(__w1 = (w), ch) ? (wrefresh(__w1), ERR) :\
879 #define wecho_wchar(w, cp) \
880 (wadd_wch(__w1 = (w), cp) ? (wrefresh(__w1), ERR) :\
885 #define mvwgetch(w, y, x) \
886 (wmove(__w1 = (w), y, x) ? ERR : wgetch(__w1))
892 #define mvwget_wch(w, y, x, wcp) \
893 (wmove(__w1 = (w), y, x) ? (wcp, ERR) : wget_wch(__w1, wcp))
903 #define mvwgetnstr(w, y, x, s, n) \
904 (wmove(__w1 = (w), y, x) ? (s, n, ERR) : wgetnstr(__w1, s, n))
906 #define mvwgetstr(w, y, x, s) \
907 (wmove(__w1 = (w), y, x) ? (s, ERR) : wgetstr(__w1, s))
909 #define wgetstr(w, s) wgetnstr(w, s, -1)
918 #define mvwgetn_wstr(w, y, x, wcs, n) \
919 (wmove(__w1 = (w), y, x) ? (wcs, n, ERR) :\
922 #define mvwget_wstr(w, y, x, wcs) \
923 (wmove(__w1 = (w), y, x) ? (wcs, ERR) : wget_wstr(__w1, wcs))
925 #define wget_wstr(w, wcs) wgetn_wstr(w, wcs, -1)
945 #define mvwhline(w, y, x, ch, n) \
946 (wmove(__w1 = (w), y, x) ? (ch, n, ERR) : whline(__w1, ch, n))
948 #define mvwvline(w, y, x, ch, n) \
949 (wmove(__w1 = (w), y, x) ? (ch, n, ERR) : wvline(__w1, ch, n))
959 #define mvwhline_set(w, y, x, cp, n) \
960 (wmove(__w1 = (w), y, x) ? (cp, n, ERR) : whline_set(__w1, cp, n))
962 #define mvwvline_set(w, y, x, cp, n) \
963 (wmove(__w1 = (w), y, x) ? (cp, n, ERR) : wvline_set(__w1, cp, n))
967 #define mvwinch(w, y, x) \
968 (wmove(__w1 = (w), y, x) ? ERR : winch(__w1))
974 #define mvwin_wch(w, y, x, cp) \
975 (wmove(__w1 = (w), y, x) ? (cp, ERR) : win_wch(__w1, cp))
985 #define mvwinchnstr(w, y, x, chs, n) \
986 (wmove(__w1 = (w), y, x) ? (chs, n, ERR) : winchnstr(__w1, chs, n))
988 #define mvwinchstr(w, y, x, chs) \
989 (wmove(__w1 = (w), y, x) ? (chs, ERR) : winchstr(__w1, chs))
991 #define winchstr(w, chs) winchnstr(w, chs, -1)
1000 #define mvwin_wchnstr(w, y, x, cp, n) \
1001 (wmove(__w1 = (w), y, x) ? (cp, n, ERR) :\
1004 #define mvwin_wchstr(w, y, x, cp) \
1005 (wmove(__w1 = (w), y, x) ? (cp, ERR) : win_wchstr(__w1, cp))
1007 #define win_wchstr(w, cp) win_wchnstr(w, cp, -1)
1016 #define mvwinnstr(w, y, x, s, n) \
1017 (wmove(__w1 = (w), y, x) ? (s, n, ERR) : winnstr(__w1, s, n))
1019 #define mvwinstr(w, y, x, s) \
1020 (wmove(__w1 = (w), y, x) ? (s, ERR) : winstr(__w1, s))
1022 #define winstr(w, s) (winnstr(w, s, -1), OK)
1031 #define mvwinnwstr(w, y, x, wcs, n) \
1032 (wmove(__w1 = (w), y, x) ? (wcs, n, ERR) :\
1035 #define mvwinwstr(w, y, x, wcs) \
1036 (wmove(__w1 = (w), y, x) ? (wcs, ERR) : winwstr(__w1, wcs))
1038 #define winwstr(w, wcs) (winnwstr(w, wcs, -1), OK)
1041 #define mvwinsch(w, y, x, ch) \
1042 (wmove(__w1 = (w), y, x) ? (ch, ERR) : winsch(__w1, ch))
1046 #define mvwins_wch(w, y, x, cp) \
1047 (wmove(__w1 = (w), y, x) ? (cp, ERR) : wins_wch(__w1, cp))
1053 #define mvwinsnstr(w, y, x, s, n) \
1054 (wmove(__w1 = (w), y, x) ? (s, n, ERR) : winsnstr(__w1, s, n))
1056 #define mvwinsstr(w, y, x, s) \
1057 (wmove(__w1 = (w), y, x) ? (s, ERR) : winsstr(__w1, s))
1059 #define winsstr(w, s) winsnstr(w, s, -1)
1066 #define mvwins_nwstr(w, y, x, wcs, n) \
1067 (wmove(__w1 = (w), y, x) ? (wcs, n, ERR) : wins_nwstr(__w1, wcs, n))
1069 #define mvwins_wstr(w, y, x, wcs) \
1070 (wmove(__w1 = (w), y, x) ? (wcs, ERR) : wins_wstr(__w1, wcs))
1072 #define wins_wstr(w, wcs) wins_nwstr(w, wcs, -1)
1073 #define is_linetouched(w, y) (0 <= (w)->_last[y])
1076 #define nodelay(w, bf) (wtimeout(w, (bf) ? 0: -1), OK)
1080 #define redrawwin(w) wredrawln(__w1 = (w), 0, (__w1)->_maxy)
1085 #define touchline(w, y, n) wtouchln(w, y, n, 1)
1086 #define touchwin(w) wtouchln(__w1 = (w), 0, __w1->_maxy, 1)
1087 #define untouchwin(w) wtouchln(__w1 = (w), 0, __w1->_maxy, 0)