Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include
File: ncurses.h
#define KEY_HOME 0406 /* home key */
[1500] Fix | Delete
#define KEY_BACKSPACE 0407 /* backspace key */
[1501] Fix | Delete
#define KEY_F0 0410 /* Function keys. Space for 64 */
[1502] Fix | Delete
#define KEY_F(n) (KEY_F0+(n)) /* Value of function key n */
[1503] Fix | Delete
#define KEY_DL 0510 /* delete-line key */
[1504] Fix | Delete
#define KEY_IL 0511 /* insert-line key */
[1505] Fix | Delete
#define KEY_DC 0512 /* delete-character key */
[1506] Fix | Delete
#define KEY_IC 0513 /* insert-character key */
[1507] Fix | Delete
#define KEY_EIC 0514 /* sent by rmir or smir in insert mode */
[1508] Fix | Delete
#define KEY_CLEAR 0515 /* clear-screen or erase key */
[1509] Fix | Delete
#define KEY_EOS 0516 /* clear-to-end-of-screen key */
[1510] Fix | Delete
#define KEY_EOL 0517 /* clear-to-end-of-line key */
[1511] Fix | Delete
#define KEY_SF 0520 /* scroll-forward key */
[1512] Fix | Delete
#define KEY_SR 0521 /* scroll-backward key */
[1513] Fix | Delete
#define KEY_NPAGE 0522 /* next-page key */
[1514] Fix | Delete
#define KEY_PPAGE 0523 /* previous-page key */
[1515] Fix | Delete
#define KEY_STAB 0524 /* set-tab key */
[1516] Fix | Delete
#define KEY_CTAB 0525 /* clear-tab key */
[1517] Fix | Delete
#define KEY_CATAB 0526 /* clear-all-tabs key */
[1518] Fix | Delete
#define KEY_ENTER 0527 /* enter/send key */
[1519] Fix | Delete
#define KEY_PRINT 0532 /* print key */
[1520] Fix | Delete
#define KEY_LL 0533 /* lower-left key (home down) */
[1521] Fix | Delete
#define KEY_A1 0534 /* upper left of keypad */
[1522] Fix | Delete
#define KEY_A3 0535 /* upper right of keypad */
[1523] Fix | Delete
#define KEY_B2 0536 /* center of keypad */
[1524] Fix | Delete
#define KEY_C1 0537 /* lower left of keypad */
[1525] Fix | Delete
#define KEY_C3 0540 /* lower right of keypad */
[1526] Fix | Delete
#define KEY_BTAB 0541 /* back-tab key */
[1527] Fix | Delete
#define KEY_BEG 0542 /* begin key */
[1528] Fix | Delete
#define KEY_CANCEL 0543 /* cancel key */
[1529] Fix | Delete
#define KEY_CLOSE 0544 /* close key */
[1530] Fix | Delete
#define KEY_COMMAND 0545 /* command key */
[1531] Fix | Delete
#define KEY_COPY 0546 /* copy key */
[1532] Fix | Delete
#define KEY_CREATE 0547 /* create key */
[1533] Fix | Delete
#define KEY_END 0550 /* end key */
[1534] Fix | Delete
#define KEY_EXIT 0551 /* exit key */
[1535] Fix | Delete
#define KEY_FIND 0552 /* find key */
[1536] Fix | Delete
#define KEY_HELP 0553 /* help key */
[1537] Fix | Delete
#define KEY_MARK 0554 /* mark key */
[1538] Fix | Delete
#define KEY_MESSAGE 0555 /* message key */
[1539] Fix | Delete
#define KEY_MOVE 0556 /* move key */
[1540] Fix | Delete
#define KEY_NEXT 0557 /* next key */
[1541] Fix | Delete
#define KEY_OPEN 0560 /* open key */
[1542] Fix | Delete
#define KEY_OPTIONS 0561 /* options key */
[1543] Fix | Delete
#define KEY_PREVIOUS 0562 /* previous key */
[1544] Fix | Delete
#define KEY_REDO 0563 /* redo key */
[1545] Fix | Delete
#define KEY_REFERENCE 0564 /* reference key */
[1546] Fix | Delete
#define KEY_REFRESH 0565 /* refresh key */
[1547] Fix | Delete
#define KEY_REPLACE 0566 /* replace key */
[1548] Fix | Delete
#define KEY_RESTART 0567 /* restart key */
[1549] Fix | Delete
#define KEY_RESUME 0570 /* resume key */
[1550] Fix | Delete
#define KEY_SAVE 0571 /* save key */
[1551] Fix | Delete
#define KEY_SBEG 0572 /* shifted begin key */
[1552] Fix | Delete
#define KEY_SCANCEL 0573 /* shifted cancel key */
[1553] Fix | Delete
#define KEY_SCOMMAND 0574 /* shifted command key */
[1554] Fix | Delete
#define KEY_SCOPY 0575 /* shifted copy key */
[1555] Fix | Delete
#define KEY_SCREATE 0576 /* shifted create key */
[1556] Fix | Delete
#define KEY_SDC 0577 /* shifted delete-character key */
[1557] Fix | Delete
#define KEY_SDL 0600 /* shifted delete-line key */
[1558] Fix | Delete
#define KEY_SELECT 0601 /* select key */
[1559] Fix | Delete
#define KEY_SEND 0602 /* shifted end key */
[1560] Fix | Delete
#define KEY_SEOL 0603 /* shifted clear-to-end-of-line key */
[1561] Fix | Delete
#define KEY_SEXIT 0604 /* shifted exit key */
[1562] Fix | Delete
#define KEY_SFIND 0605 /* shifted find key */
[1563] Fix | Delete
#define KEY_SHELP 0606 /* shifted help key */
[1564] Fix | Delete
#define KEY_SHOME 0607 /* shifted home key */
[1565] Fix | Delete
#define KEY_SIC 0610 /* shifted insert-character key */
[1566] Fix | Delete
#define KEY_SLEFT 0611 /* shifted left-arrow key */
[1567] Fix | Delete
#define KEY_SMESSAGE 0612 /* shifted message key */
[1568] Fix | Delete
#define KEY_SMOVE 0613 /* shifted move key */
[1569] Fix | Delete
#define KEY_SNEXT 0614 /* shifted next key */
[1570] Fix | Delete
#define KEY_SOPTIONS 0615 /* shifted options key */
[1571] Fix | Delete
#define KEY_SPREVIOUS 0616 /* shifted previous key */
[1572] Fix | Delete
#define KEY_SPRINT 0617 /* shifted print key */
[1573] Fix | Delete
#define KEY_SREDO 0620 /* shifted redo key */
[1574] Fix | Delete
#define KEY_SREPLACE 0621 /* shifted replace key */
[1575] Fix | Delete
#define KEY_SRIGHT 0622 /* shifted right-arrow key */
[1576] Fix | Delete
#define KEY_SRSUME 0623 /* shifted resume key */
[1577] Fix | Delete
#define KEY_SSAVE 0624 /* shifted save key */
[1578] Fix | Delete
#define KEY_SSUSPEND 0625 /* shifted suspend key */
[1579] Fix | Delete
#define KEY_SUNDO 0626 /* shifted undo key */
[1580] Fix | Delete
#define KEY_SUSPEND 0627 /* suspend key */
[1581] Fix | Delete
#define KEY_UNDO 0630 /* undo key */
[1582] Fix | Delete
#define KEY_MOUSE 0631 /* Mouse event has occurred */
[1583] Fix | Delete
#define KEY_RESIZE 0632 /* Terminal resize event */
[1584] Fix | Delete
#define KEY_EVENT 0633 /* We were interrupted by an event */
[1585] Fix | Delete
[1586] Fix | Delete
#define KEY_MAX 0777 /* Maximum key value is 0633 */
[1587] Fix | Delete
/* $Id: curses.wide,v 1.50 2017/03/26 16:05:21 tom Exp $ */
[1588] Fix | Delete
/*
[1589] Fix | Delete
* vile:cmode:
[1590] Fix | Delete
* This file is part of ncurses, designed to be appended after curses.h.in
[1591] Fix | Delete
* (see that file for the relevant copyright).
[1592] Fix | Delete
*/
[1593] Fix | Delete
#define _XOPEN_CURSES 1
[1594] Fix | Delete
[1595] Fix | Delete
#if NCURSES_WIDECHAR
[1596] Fix | Delete
[1597] Fix | Delete
extern NCURSES_EXPORT_VAR(cchar_t *) _nc_wacs;
[1598] Fix | Delete
[1599] Fix | Delete
#define NCURSES_WACS(c) (&_nc_wacs[NCURSES_CAST(unsigned char,(c))])
[1600] Fix | Delete
[1601] Fix | Delete
#define WACS_BSSB NCURSES_WACS('l')
[1602] Fix | Delete
#define WACS_SSBB NCURSES_WACS('m')
[1603] Fix | Delete
#define WACS_BBSS NCURSES_WACS('k')
[1604] Fix | Delete
#define WACS_SBBS NCURSES_WACS('j')
[1605] Fix | Delete
#define WACS_SBSS NCURSES_WACS('u')
[1606] Fix | Delete
#define WACS_SSSB NCURSES_WACS('t')
[1607] Fix | Delete
#define WACS_SSBS NCURSES_WACS('v')
[1608] Fix | Delete
#define WACS_BSSS NCURSES_WACS('w')
[1609] Fix | Delete
#define WACS_BSBS NCURSES_WACS('q')
[1610] Fix | Delete
#define WACS_SBSB NCURSES_WACS('x')
[1611] Fix | Delete
#define WACS_SSSS NCURSES_WACS('n')
[1612] Fix | Delete
[1613] Fix | Delete
#define WACS_ULCORNER WACS_BSSB
[1614] Fix | Delete
#define WACS_LLCORNER WACS_SSBB
[1615] Fix | Delete
#define WACS_URCORNER WACS_BBSS
[1616] Fix | Delete
#define WACS_LRCORNER WACS_SBBS
[1617] Fix | Delete
#define WACS_RTEE WACS_SBSS
[1618] Fix | Delete
#define WACS_LTEE WACS_SSSB
[1619] Fix | Delete
#define WACS_BTEE WACS_SSBS
[1620] Fix | Delete
#define WACS_TTEE WACS_BSSS
[1621] Fix | Delete
#define WACS_HLINE WACS_BSBS
[1622] Fix | Delete
#define WACS_VLINE WACS_SBSB
[1623] Fix | Delete
#define WACS_PLUS WACS_SSSS
[1624] Fix | Delete
[1625] Fix | Delete
#define WACS_S1 NCURSES_WACS('o') /* scan line 1 */
[1626] Fix | Delete
#define WACS_S9 NCURSES_WACS('s') /* scan line 9 */
[1627] Fix | Delete
#define WACS_DIAMOND NCURSES_WACS('`') /* diamond */
[1628] Fix | Delete
#define WACS_CKBOARD NCURSES_WACS('a') /* checker board */
[1629] Fix | Delete
#define WACS_DEGREE NCURSES_WACS('f') /* degree symbol */
[1630] Fix | Delete
#define WACS_PLMINUS NCURSES_WACS('g') /* plus/minus */
[1631] Fix | Delete
#define WACS_BULLET NCURSES_WACS('~') /* bullet */
[1632] Fix | Delete
[1633] Fix | Delete
/* Teletype 5410v1 symbols */
[1634] Fix | Delete
#define WACS_LARROW NCURSES_WACS(',') /* arrow left */
[1635] Fix | Delete
#define WACS_RARROW NCURSES_WACS('+') /* arrow right */
[1636] Fix | Delete
#define WACS_DARROW NCURSES_WACS('.') /* arrow down */
[1637] Fix | Delete
#define WACS_UARROW NCURSES_WACS('-') /* arrow up */
[1638] Fix | Delete
#define WACS_BOARD NCURSES_WACS('h') /* board of squares */
[1639] Fix | Delete
#define WACS_LANTERN NCURSES_WACS('i') /* lantern symbol */
[1640] Fix | Delete
#define WACS_BLOCK NCURSES_WACS('0') /* solid square block */
[1641] Fix | Delete
[1642] Fix | Delete
/* ncurses extensions */
[1643] Fix | Delete
#define WACS_S3 NCURSES_WACS('p') /* scan line 3 */
[1644] Fix | Delete
#define WACS_S7 NCURSES_WACS('r') /* scan line 7 */
[1645] Fix | Delete
#define WACS_LEQUAL NCURSES_WACS('y') /* less/equal */
[1646] Fix | Delete
#define WACS_GEQUAL NCURSES_WACS('z') /* greater/equal */
[1647] Fix | Delete
#define WACS_PI NCURSES_WACS('{') /* Pi */
[1648] Fix | Delete
#define WACS_NEQUAL NCURSES_WACS('|') /* not equal */
[1649] Fix | Delete
#define WACS_STERLING NCURSES_WACS('}') /* UK pound sign */
[1650] Fix | Delete
[1651] Fix | Delete
/* double lines */
[1652] Fix | Delete
#define WACS_BDDB NCURSES_WACS('C')
[1653] Fix | Delete
#define WACS_DDBB NCURSES_WACS('D')
[1654] Fix | Delete
#define WACS_BBDD NCURSES_WACS('B')
[1655] Fix | Delete
#define WACS_DBBD NCURSES_WACS('A')
[1656] Fix | Delete
#define WACS_DBDD NCURSES_WACS('G')
[1657] Fix | Delete
#define WACS_DDDB NCURSES_WACS('F')
[1658] Fix | Delete
#define WACS_DDBD NCURSES_WACS('H')
[1659] Fix | Delete
#define WACS_BDDD NCURSES_WACS('I')
[1660] Fix | Delete
#define WACS_BDBD NCURSES_WACS('R')
[1661] Fix | Delete
#define WACS_DBDB NCURSES_WACS('Y')
[1662] Fix | Delete
#define WACS_DDDD NCURSES_WACS('E')
[1663] Fix | Delete
[1664] Fix | Delete
#define WACS_D_ULCORNER WACS_BDDB
[1665] Fix | Delete
#define WACS_D_LLCORNER WACS_DDBB
[1666] Fix | Delete
#define WACS_D_URCORNER WACS_BBDD
[1667] Fix | Delete
#define WACS_D_LRCORNER WACS_DBBD
[1668] Fix | Delete
#define WACS_D_RTEE WACS_DBDD
[1669] Fix | Delete
#define WACS_D_LTEE WACS_DDDB
[1670] Fix | Delete
#define WACS_D_BTEE WACS_DDBD
[1671] Fix | Delete
#define WACS_D_TTEE WACS_BDDD
[1672] Fix | Delete
#define WACS_D_HLINE WACS_BDBD
[1673] Fix | Delete
#define WACS_D_VLINE WACS_DBDB
[1674] Fix | Delete
#define WACS_D_PLUS WACS_DDDD
[1675] Fix | Delete
[1676] Fix | Delete
/* thick lines */
[1677] Fix | Delete
#define WACS_BTTB NCURSES_WACS('L')
[1678] Fix | Delete
#define WACS_TTBB NCURSES_WACS('M')
[1679] Fix | Delete
#define WACS_BBTT NCURSES_WACS('K')
[1680] Fix | Delete
#define WACS_TBBT NCURSES_WACS('J')
[1681] Fix | Delete
#define WACS_TBTT NCURSES_WACS('U')
[1682] Fix | Delete
#define WACS_TTTB NCURSES_WACS('T')
[1683] Fix | Delete
#define WACS_TTBT NCURSES_WACS('V')
[1684] Fix | Delete
#define WACS_BTTT NCURSES_WACS('W')
[1685] Fix | Delete
#define WACS_BTBT NCURSES_WACS('Q')
[1686] Fix | Delete
#define WACS_TBTB NCURSES_WACS('X')
[1687] Fix | Delete
#define WACS_TTTT NCURSES_WACS('N')
[1688] Fix | Delete
[1689] Fix | Delete
#define WACS_T_ULCORNER WACS_BTTB
[1690] Fix | Delete
#define WACS_T_LLCORNER WACS_TTBB
[1691] Fix | Delete
#define WACS_T_URCORNER WACS_BBTT
[1692] Fix | Delete
#define WACS_T_LRCORNER WACS_TBBT
[1693] Fix | Delete
#define WACS_T_RTEE WACS_TBTT
[1694] Fix | Delete
#define WACS_T_LTEE WACS_TTTB
[1695] Fix | Delete
#define WACS_T_BTEE WACS_TTBT
[1696] Fix | Delete
#define WACS_T_TTEE WACS_BTTT
[1697] Fix | Delete
#define WACS_T_HLINE WACS_BTBT
[1698] Fix | Delete
#define WACS_T_VLINE WACS_TBTB
[1699] Fix | Delete
#define WACS_T_PLUS WACS_TTTT
[1700] Fix | Delete
[1701] Fix | Delete
/*
[1702] Fix | Delete
* Function prototypes for wide-character operations.
[1703] Fix | Delete
*
[1704] Fix | Delete
* "generated" comments should include ":WIDEC" to make the corresponding
[1705] Fix | Delete
* functions ifdef'd in lib_gen.c
[1706] Fix | Delete
*
[1707] Fix | Delete
* "implemented" comments do not need this marker.
[1708] Fix | Delete
*/
[1709] Fix | Delete
[1710] Fix | Delete
extern NCURSES_EXPORT(int) add_wch (const cchar_t *); /* generated:WIDEC */
[1711] Fix | Delete
extern NCURSES_EXPORT(int) add_wchnstr (const cchar_t *, int); /* generated:WIDEC */
[1712] Fix | Delete
extern NCURSES_EXPORT(int) add_wchstr (const cchar_t *); /* generated:WIDEC */
[1713] Fix | Delete
extern NCURSES_EXPORT(int) addnwstr (const wchar_t *, int); /* generated:WIDEC */
[1714] Fix | Delete
extern NCURSES_EXPORT(int) addwstr (const wchar_t *); /* generated:WIDEC */
[1715] Fix | Delete
extern NCURSES_EXPORT(int) bkgrnd (const cchar_t *); /* generated:WIDEC */
[1716] Fix | Delete
extern NCURSES_EXPORT(void) bkgrndset (const cchar_t *); /* generated:WIDEC */
[1717] Fix | Delete
extern NCURSES_EXPORT(int) border_set (const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*); /* generated:WIDEC */
[1718] Fix | Delete
extern NCURSES_EXPORT(int) box_set (WINDOW *, const cchar_t *, const cchar_t *); /* generated:WIDEC */
[1719] Fix | Delete
extern NCURSES_EXPORT(int) echo_wchar (const cchar_t *); /* generated:WIDEC */
[1720] Fix | Delete
extern NCURSES_EXPORT(int) erasewchar (wchar_t*); /* implemented */
[1721] Fix | Delete
extern NCURSES_EXPORT(int) get_wch (wint_t *); /* generated:WIDEC */
[1722] Fix | Delete
extern NCURSES_EXPORT(int) get_wstr (wint_t *); /* generated:WIDEC */
[1723] Fix | Delete
extern NCURSES_EXPORT(int) getbkgrnd (cchar_t *); /* generated:WIDEC */
[1724] Fix | Delete
extern NCURSES_EXPORT(int) getcchar (const cchar_t *, wchar_t*, attr_t*, NCURSES_PAIRS_T*, void*); /* implemented */
[1725] Fix | Delete
extern NCURSES_EXPORT(int) getn_wstr (wint_t *, int); /* generated:WIDEC */
[1726] Fix | Delete
extern NCURSES_EXPORT(int) hline_set (const cchar_t *, int); /* generated:WIDEC */
[1727] Fix | Delete
extern NCURSES_EXPORT(int) in_wch (cchar_t *); /* generated:WIDEC */
[1728] Fix | Delete
extern NCURSES_EXPORT(int) in_wchnstr (cchar_t *, int); /* generated:WIDEC */
[1729] Fix | Delete
extern NCURSES_EXPORT(int) in_wchstr (cchar_t *); /* generated:WIDEC */
[1730] Fix | Delete
extern NCURSES_EXPORT(int) innwstr (wchar_t *, int); /* generated:WIDEC */
[1731] Fix | Delete
extern NCURSES_EXPORT(int) ins_nwstr (const wchar_t *, int); /* generated:WIDEC */
[1732] Fix | Delete
extern NCURSES_EXPORT(int) ins_wch (const cchar_t *); /* generated:WIDEC */
[1733] Fix | Delete
extern NCURSES_EXPORT(int) ins_wstr (const wchar_t *); /* generated:WIDEC */
[1734] Fix | Delete
extern NCURSES_EXPORT(int) inwstr (wchar_t *); /* generated:WIDEC */
[1735] Fix | Delete
extern NCURSES_EXPORT(NCURSES_CONST char*) key_name (wchar_t); /* implemented */
[1736] Fix | Delete
extern NCURSES_EXPORT(int) killwchar (wchar_t *); /* implemented */
[1737] Fix | Delete
extern NCURSES_EXPORT(int) mvadd_wch (int, int, const cchar_t *); /* generated:WIDEC */
[1738] Fix | Delete
extern NCURSES_EXPORT(int) mvadd_wchnstr (int, int, const cchar_t *, int);/* generated:WIDEC */
[1739] Fix | Delete
extern NCURSES_EXPORT(int) mvadd_wchstr (int, int, const cchar_t *); /* generated:WIDEC */
[1740] Fix | Delete
extern NCURSES_EXPORT(int) mvaddnwstr (int, int, const wchar_t *, int); /* generated:WIDEC */
[1741] Fix | Delete
extern NCURSES_EXPORT(int) mvaddwstr (int, int, const wchar_t *); /* generated:WIDEC */
[1742] Fix | Delete
extern NCURSES_EXPORT(int) mvget_wch (int, int, wint_t *); /* generated:WIDEC */
[1743] Fix | Delete
extern NCURSES_EXPORT(int) mvget_wstr (int, int, wint_t *); /* generated:WIDEC */
[1744] Fix | Delete
extern NCURSES_EXPORT(int) mvgetn_wstr (int, int, wint_t *, int); /* generated:WIDEC */
[1745] Fix | Delete
extern NCURSES_EXPORT(int) mvhline_set (int, int, const cchar_t *, int); /* generated:WIDEC */
[1746] Fix | Delete
extern NCURSES_EXPORT(int) mvin_wch (int, int, cchar_t *); /* generated:WIDEC */
[1747] Fix | Delete
extern NCURSES_EXPORT(int) mvin_wchnstr (int, int, cchar_t *, int); /* generated:WIDEC */
[1748] Fix | Delete
extern NCURSES_EXPORT(int) mvin_wchstr (int, int, cchar_t *); /* generated:WIDEC */
[1749] Fix | Delete
extern NCURSES_EXPORT(int) mvinnwstr (int, int, wchar_t *, int); /* generated:WIDEC */
[1750] Fix | Delete
extern NCURSES_EXPORT(int) mvins_nwstr (int, int, const wchar_t *, int); /* generated:WIDEC */
[1751] Fix | Delete
extern NCURSES_EXPORT(int) mvins_wch (int, int, const cchar_t *); /* generated:WIDEC */
[1752] Fix | Delete
extern NCURSES_EXPORT(int) mvins_wstr (int, int, const wchar_t *); /* generated:WIDEC */
[1753] Fix | Delete
extern NCURSES_EXPORT(int) mvinwstr (int, int, wchar_t *); /* generated:WIDEC */
[1754] Fix | Delete
extern NCURSES_EXPORT(int) mvvline_set (int, int, const cchar_t *, int); /* generated:WIDEC */
[1755] Fix | Delete
extern NCURSES_EXPORT(int) mvwadd_wch (WINDOW *, int, int, const cchar_t *); /* generated:WIDEC */
[1756] Fix | Delete
extern NCURSES_EXPORT(int) mvwadd_wchnstr (WINDOW *, int, int, const cchar_t *, int); /* generated:WIDEC */
[1757] Fix | Delete
extern NCURSES_EXPORT(int) mvwadd_wchstr (WINDOW *, int, int, const cchar_t *); /* generated:WIDEC */
[1758] Fix | Delete
extern NCURSES_EXPORT(int) mvwaddnwstr (WINDOW *, int, int, const wchar_t *, int);/* generated:WIDEC */
[1759] Fix | Delete
extern NCURSES_EXPORT(int) mvwaddwstr (WINDOW *, int, int, const wchar_t *); /* generated:WIDEC */
[1760] Fix | Delete
extern NCURSES_EXPORT(int) mvwget_wch (WINDOW *, int, int, wint_t *); /* generated:WIDEC */
[1761] Fix | Delete
extern NCURSES_EXPORT(int) mvwget_wstr (WINDOW *, int, int, wint_t *); /* generated:WIDEC */
[1762] Fix | Delete
extern NCURSES_EXPORT(int) mvwgetn_wstr (WINDOW *, int, int, wint_t *, int);/* generated:WIDEC */
[1763] Fix | Delete
extern NCURSES_EXPORT(int) mvwhline_set (WINDOW *, int, int, const cchar_t *, int);/* generated:WIDEC */
[1764] Fix | Delete
extern NCURSES_EXPORT(int) mvwin_wch (WINDOW *, int, int, cchar_t *); /* generated:WIDEC */
[1765] Fix | Delete
extern NCURSES_EXPORT(int) mvwin_wchnstr (WINDOW *, int,int, cchar_t *,int); /* generated:WIDEC */
[1766] Fix | Delete
extern NCURSES_EXPORT(int) mvwin_wchstr (WINDOW *, int, int, cchar_t *); /* generated:WIDEC */
[1767] Fix | Delete
extern NCURSES_EXPORT(int) mvwinnwstr (WINDOW *, int, int, wchar_t *, int); /* generated:WIDEC */
[1768] Fix | Delete
extern NCURSES_EXPORT(int) mvwins_nwstr (WINDOW *, int,int, const wchar_t *,int); /* generated:WIDEC */
[1769] Fix | Delete
extern NCURSES_EXPORT(int) mvwins_wch (WINDOW *, int, int, const cchar_t *); /* generated:WIDEC */
[1770] Fix | Delete
extern NCURSES_EXPORT(int) mvwins_wstr (WINDOW *, int, int, const wchar_t *); /* generated:WIDEC */
[1771] Fix | Delete
extern NCURSES_EXPORT(int) mvwinwstr (WINDOW *, int, int, wchar_t *); /* generated:WIDEC */
[1772] Fix | Delete
extern NCURSES_EXPORT(int) mvwvline_set (WINDOW *, int,int, const cchar_t *,int); /* generated:WIDEC */
[1773] Fix | Delete
extern NCURSES_EXPORT(int) pecho_wchar (WINDOW *, const cchar_t *); /* implemented */
[1774] Fix | Delete
extern NCURSES_EXPORT(int) setcchar (cchar_t *, const wchar_t *, const attr_t, NCURSES_PAIRS_T, const void *); /* implemented */
[1775] Fix | Delete
extern NCURSES_EXPORT(int) slk_wset (int, const wchar_t *, int); /* implemented */
[1776] Fix | Delete
extern NCURSES_EXPORT(attr_t) term_attrs (void); /* implemented */
[1777] Fix | Delete
extern NCURSES_EXPORT(int) unget_wch (const wchar_t); /* implemented */
[1778] Fix | Delete
extern NCURSES_EXPORT(int) vid_attr (attr_t, NCURSES_PAIRS_T, void *); /* implemented */
[1779] Fix | Delete
extern NCURSES_EXPORT(int) vid_puts (attr_t, NCURSES_PAIRS_T, void *, NCURSES_OUTC); /* implemented */
[1780] Fix | Delete
extern NCURSES_EXPORT(int) vline_set (const cchar_t *, int); /* generated:WIDEC */
[1781] Fix | Delete
extern NCURSES_EXPORT(int) wadd_wch (WINDOW *,const cchar_t *); /* implemented */
[1782] Fix | Delete
extern NCURSES_EXPORT(int) wadd_wchnstr (WINDOW *,const cchar_t *,int); /* implemented */
[1783] Fix | Delete
extern NCURSES_EXPORT(int) wadd_wchstr (WINDOW *,const cchar_t *); /* generated:WIDEC */
[1784] Fix | Delete
extern NCURSES_EXPORT(int) waddnwstr (WINDOW *,const wchar_t *,int); /* implemented */
[1785] Fix | Delete
extern NCURSES_EXPORT(int) waddwstr (WINDOW *,const wchar_t *); /* generated:WIDEC */
[1786] Fix | Delete
extern NCURSES_EXPORT(int) wbkgrnd (WINDOW *,const cchar_t *); /* implemented */
[1787] Fix | Delete
extern NCURSES_EXPORT(void) wbkgrndset (WINDOW *,const cchar_t *); /* implemented */
[1788] Fix | Delete
extern NCURSES_EXPORT(int) wborder_set (WINDOW *,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*,const cchar_t*); /* implemented */
[1789] Fix | Delete
extern NCURSES_EXPORT(int) wecho_wchar (WINDOW *, const cchar_t *); /* implemented */
[1790] Fix | Delete
extern NCURSES_EXPORT(int) wget_wch (WINDOW *, wint_t *); /* implemented */
[1791] Fix | Delete
extern NCURSES_EXPORT(int) wget_wstr (WINDOW *, wint_t *); /* generated:WIDEC */
[1792] Fix | Delete
extern NCURSES_EXPORT(int) wgetbkgrnd (WINDOW *, cchar_t *); /* generated:WIDEC */
[1793] Fix | Delete
extern NCURSES_EXPORT(int) wgetn_wstr (WINDOW *, wint_t *, int); /* implemented */
[1794] Fix | Delete
extern NCURSES_EXPORT(int) whline_set (WINDOW *, const cchar_t *, int); /* implemented */
[1795] Fix | Delete
extern NCURSES_EXPORT(int) win_wch (WINDOW *, cchar_t *); /* implemented */
[1796] Fix | Delete
extern NCURSES_EXPORT(int) win_wchnstr (WINDOW *, cchar_t *, int); /* implemented */
[1797] Fix | Delete
extern NCURSES_EXPORT(int) win_wchstr (WINDOW *, cchar_t *); /* generated:WIDEC */
[1798] Fix | Delete
extern NCURSES_EXPORT(int) winnwstr (WINDOW *, wchar_t *, int); /* implemented */
[1799] Fix | Delete
extern NCURSES_EXPORT(int) wins_nwstr (WINDOW *, const wchar_t *, int); /* implemented */
[1800] Fix | Delete
extern NCURSES_EXPORT(int) wins_wch (WINDOW *, const cchar_t *); /* implemented */
[1801] Fix | Delete
extern NCURSES_EXPORT(int) wins_wstr (WINDOW *, const wchar_t *); /* generated:WIDEC */
[1802] Fix | Delete
extern NCURSES_EXPORT(int) winwstr (WINDOW *, wchar_t *); /* implemented */
[1803] Fix | Delete
extern NCURSES_EXPORT(wchar_t*) wunctrl (cchar_t *); /* implemented */
[1804] Fix | Delete
extern NCURSES_EXPORT(int) wvline_set (WINDOW *, const cchar_t *, int); /* implemented */
[1805] Fix | Delete
[1806] Fix | Delete
#if NCURSES_SP_FUNCS
[1807] Fix | Delete
extern NCURSES_EXPORT(attr_t) NCURSES_SP_NAME(term_attrs) (SCREEN*); /* implemented:SP_FUNC */
[1808] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(unget_wch) (SCREEN*, const wchar_t); /* implemented:SP_FUNC */
[1809] Fix | Delete
extern NCURSES_EXPORT(wchar_t*) NCURSES_SP_NAME(wunctrl) (SCREEN*, cchar_t *); /* implemented:SP_FUNC */
[1810] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(vid_attr) (SCREEN*, attr_t, NCURSES_PAIRS_T, void *); /* implemented:SP_FUNC */
[1811] Fix | Delete
extern NCURSES_EXPORT(int) NCURSES_SP_NAME(vid_puts) (SCREEN*, attr_t, NCURSES_PAIRS_T, void *, NCURSES_SP_OUTC); /* implemented:SP_FUNC */
[1812] Fix | Delete
#endif
[1813] Fix | Delete
[1814] Fix | Delete
#ifndef NCURSES_NOMACROS
[1815] Fix | Delete
[1816] Fix | Delete
/*
[1817] Fix | Delete
* XSI curses macros for XPG4 conformance.
[1818] Fix | Delete
*/
[1819] Fix | Delete
#define add_wch(c) wadd_wch(stdscr,(c))
[1820] Fix | Delete
#define add_wchnstr(str,n) wadd_wchnstr(stdscr,(str),(n))
[1821] Fix | Delete
#define add_wchstr(str) wadd_wchstr(stdscr,(str))
[1822] Fix | Delete
#define addnwstr(wstr,n) waddnwstr(stdscr,(wstr),(n))
[1823] Fix | Delete
#define addwstr(wstr) waddwstr(stdscr,(wstr))
[1824] Fix | Delete
#define bkgrnd(c) wbkgrnd(stdscr,(c))
[1825] Fix | Delete
#define bkgrndset(c) wbkgrndset(stdscr,(c))
[1826] Fix | Delete
#define border_set(l,r,t,b,tl,tr,bl,br) wborder_set(stdscr,(l),(r),(t),(b),tl,tr,bl,br)
[1827] Fix | Delete
#define box_set(w,v,h) wborder_set((w),(v),(v),(h),(h),0,0,0,0)
[1828] Fix | Delete
#define echo_wchar(c) wecho_wchar(stdscr,(c))
[1829] Fix | Delete
#define get_wch(c) wget_wch(stdscr,(c))
[1830] Fix | Delete
#define get_wstr(t) wget_wstr(stdscr,(t))
[1831] Fix | Delete
#define getbkgrnd(wch) wgetbkgrnd(stdscr,(wch))
[1832] Fix | Delete
#define getn_wstr(t,n) wgetn_wstr(stdscr,(t),(n))
[1833] Fix | Delete
#define hline_set(c,n) whline_set(stdscr,(c),(n))
[1834] Fix | Delete
#define in_wch(c) win_wch(stdscr,(c))
[1835] Fix | Delete
#define in_wchnstr(c,n) win_wchnstr(stdscr,(c),(n))
[1836] Fix | Delete
#define in_wchstr(c) win_wchstr(stdscr,(c))
[1837] Fix | Delete
#define innwstr(c,n) winnwstr(stdscr,(c),(n))
[1838] Fix | Delete
#define ins_nwstr(t,n) wins_nwstr(stdscr,(t),(n))
[1839] Fix | Delete
#define ins_wch(c) wins_wch(stdscr,(c))
[1840] Fix | Delete
#define ins_wstr(t) wins_wstr(stdscr,(t))
[1841] Fix | Delete
#define inwstr(c) winwstr(stdscr,(c))
[1842] Fix | Delete
#define vline_set(c,n) wvline_set(stdscr,(c),(n))
[1843] Fix | Delete
#define wadd_wchstr(win,str) wadd_wchnstr((win),(str),-1)
[1844] Fix | Delete
#define waddwstr(win,wstr) waddnwstr((win),(wstr),-1)
[1845] Fix | Delete
#define wget_wstr(w,t) wgetn_wstr((w),(t),-1)
[1846] Fix | Delete
#define win_wchstr(w,c) win_wchnstr((w),(c),-1)
[1847] Fix | Delete
#define wins_wstr(w,t) wins_nwstr((w),(t),-1)
[1848] Fix | Delete
[1849] Fix | Delete
#if !NCURSES_OPAQUE
[1850] Fix | Delete
#define wgetbkgrnd(win,wch) (NCURSES_OK_ADDR(wch) ? ((win) ? (*(wch) = (win)->_bkgrnd) : *(wch), OK) : ERR)
[1851] Fix | Delete
#endif
[1852] Fix | Delete
[1853] Fix | Delete
#define mvadd_wch(y,x,c) mvwadd_wch(stdscr,(y),(x),(c))
[1854] Fix | Delete
#define mvadd_wchnstr(y,x,s,n) mvwadd_wchnstr(stdscr,(y),(x),(s),(n))
[1855] Fix | Delete
#define mvadd_wchstr(y,x,s) mvwadd_wchstr(stdscr,(y),(x),(s))
[1856] Fix | Delete
#define mvaddnwstr(y,x,wstr,n) mvwaddnwstr(stdscr,(y),(x),(wstr),(n))
[1857] Fix | Delete
#define mvaddwstr(y,x,wstr) mvwaddwstr(stdscr,(y),(x),(wstr))
[1858] Fix | Delete
#define mvget_wch(y,x,c) mvwget_wch(stdscr,(y),(x),(c))
[1859] Fix | Delete
#define mvget_wstr(y,x,t) mvwget_wstr(stdscr,(y),(x),(t))
[1860] Fix | Delete
#define mvgetn_wstr(y,x,t,n) mvwgetn_wstr(stdscr,(y),(x),(t),(n))
[1861] Fix | Delete
#define mvhline_set(y,x,c,n) mvwhline_set(stdscr,(y),(x),(c),(n))
[1862] Fix | Delete
#define mvin_wch(y,x,c) mvwin_wch(stdscr,(y),(x),(c))
[1863] Fix | Delete
#define mvin_wchnstr(y,x,c,n) mvwin_wchnstr(stdscr,(y),(x),(c),(n))
[1864] Fix | Delete
#define mvin_wchstr(y,x,c) mvwin_wchstr(stdscr,(y),(x),(c))
[1865] Fix | Delete
#define mvinnwstr(y,x,c,n) mvwinnwstr(stdscr,(y),(x),(c),(n))
[1866] Fix | Delete
#define mvins_nwstr(y,x,t,n) mvwins_nwstr(stdscr,(y),(x),(t),(n))
[1867] Fix | Delete
#define mvins_wch(y,x,c) mvwins_wch(stdscr,(y),(x),(c))
[1868] Fix | Delete
#define mvins_wstr(y,x,t) mvwins_wstr(stdscr,(y),(x),(t))
[1869] Fix | Delete
#define mvinwstr(y,x,c) mvwinwstr(stdscr,(y),(x),(c))
[1870] Fix | Delete
#define mvvline_set(y,x,c,n) mvwvline_set(stdscr,(y),(x),(c),(n))
[1871] Fix | Delete
[1872] Fix | Delete
#define mvwadd_wch(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : wadd_wch((win),(c)))
[1873] Fix | Delete
#define mvwadd_wchnstr(win,y,x,s,n) (wmove(win,(y),(x)) == ERR ? ERR : wadd_wchnstr((win),(s),(n)))
[1874] Fix | Delete
#define mvwadd_wchstr(win,y,x,s) (wmove(win,(y),(x)) == ERR ? ERR : wadd_wchstr((win),(s)))
[1875] Fix | Delete
#define mvwaddnwstr(win,y,x,wstr,n) (wmove(win,(y),(x)) == ERR ? ERR : waddnwstr((win),(wstr),(n)))
[1876] Fix | Delete
#define mvwaddwstr(win,y,x,wstr) (wmove(win,(y),(x)) == ERR ? ERR : waddwstr((win),(wstr)))
[1877] Fix | Delete
#define mvwget_wch(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : wget_wch((win),(c)))
[1878] Fix | Delete
#define mvwget_wstr(win,y,x,t) (wmove(win,(y),(x)) == ERR ? ERR : wget_wstr((win),(t)))
[1879] Fix | Delete
#define mvwgetn_wstr(win,y,x,t,n) (wmove(win,(y),(x)) == ERR ? ERR : wgetn_wstr((win),(t),(n)))
[1880] Fix | Delete
#define mvwhline_set(win,y,x,c,n) (wmove(win,(y),(x)) == ERR ? ERR : whline_set((win),(c),(n)))
[1881] Fix | Delete
#define mvwin_wch(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : win_wch((win),(c)))
[1882] Fix | Delete
#define mvwin_wchnstr(win,y,x,c,n) (wmove(win,(y),(x)) == ERR ? ERR : win_wchnstr((win),(c),(n)))
[1883] Fix | Delete
#define mvwin_wchstr(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : win_wchstr((win),(c)))
[1884] Fix | Delete
#define mvwinnwstr(win,y,x,c,n) (wmove(win,(y),(x)) == ERR ? ERR : winnwstr((win),(c),(n)))
[1885] Fix | Delete
#define mvwins_nwstr(win,y,x,t,n) (wmove(win,(y),(x)) == ERR ? ERR : wins_nwstr((win),(t),(n)))
[1886] Fix | Delete
#define mvwins_wch(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : wins_wch((win),(c)))
[1887] Fix | Delete
#define mvwins_wstr(win,y,x,t) (wmove(win,(y),(x)) == ERR ? ERR : wins_wstr((win),(t)))
[1888] Fix | Delete
#define mvwinwstr(win,y,x,c) (wmove(win,(y),(x)) == ERR ? ERR : winwstr((win),(c)))
[1889] Fix | Delete
#define mvwvline_set(win,y,x,c,n) (wmove(win,(y),(x)) == ERR ? ERR : wvline_set((win),(c),(n)))
[1890] Fix | Delete
[1891] Fix | Delete
#endif /* NCURSES_NOMACROS */
[1892] Fix | Delete
[1893] Fix | Delete
#if defined(TRACE) || defined(NCURSES_TEST)
[1894] Fix | Delete
extern NCURSES_EXPORT(const char *) _nc_viswbuf(const wchar_t *);
[1895] Fix | Delete
extern NCURSES_EXPORT(const char *) _nc_viswibuf(const wint_t *);
[1896] Fix | Delete
#endif
[1897] Fix | Delete
[1898] Fix | Delete
#endif /* NCURSES_WIDECHAR */
[1899] Fix | Delete
/* $Id: curses.tail,v 1.23 2016/02/13 16:37:45 tom Exp $ */
[1900] Fix | Delete
/*
[1901] Fix | Delete
* vile:cmode:
[1902] Fix | Delete
* This file is part of ncurses, designed to be appended after curses.h.in
[1903] Fix | Delete
* (see that file for the relevant copyright).
[1904] Fix | Delete
*/
[1905] Fix | Delete
[1906] Fix | Delete
/* mouse interface */
[1907] Fix | Delete
[1908] Fix | Delete
#if NCURSES_MOUSE_VERSION > 1
[1909] Fix | Delete
#define NCURSES_MOUSE_MASK(b,m) ((m) << (((b) - 1) * 5))
[1910] Fix | Delete
#else
[1911] Fix | Delete
#define NCURSES_MOUSE_MASK(b,m) ((m) << (((b) - 1) * 6))
[1912] Fix | Delete
#endif
[1913] Fix | Delete
[1914] Fix | Delete
#define NCURSES_BUTTON_RELEASED 001L
[1915] Fix | Delete
#define NCURSES_BUTTON_PRESSED 002L
[1916] Fix | Delete
#define NCURSES_BUTTON_CLICKED 004L
[1917] Fix | Delete
#define NCURSES_DOUBLE_CLICKED 010L
[1918] Fix | Delete
#define NCURSES_TRIPLE_CLICKED 020L
[1919] Fix | Delete
#define NCURSES_RESERVED_EVENT 040L
[1920] Fix | Delete
[1921] Fix | Delete
/* event masks */
[1922] Fix | Delete
#define BUTTON1_RELEASED NCURSES_MOUSE_MASK(1, NCURSES_BUTTON_RELEASED)
[1923] Fix | Delete
#define BUTTON1_PRESSED NCURSES_MOUSE_MASK(1, NCURSES_BUTTON_PRESSED)
[1924] Fix | Delete
#define BUTTON1_CLICKED NCURSES_MOUSE_MASK(1, NCURSES_BUTTON_CLICKED)
[1925] Fix | Delete
#define BUTTON1_DOUBLE_CLICKED NCURSES_MOUSE_MASK(1, NCURSES_DOUBLE_CLICKED)
[1926] Fix | Delete
#define BUTTON1_TRIPLE_CLICKED NCURSES_MOUSE_MASK(1, NCURSES_TRIPLE_CLICKED)
[1927] Fix | Delete
[1928] Fix | Delete
#define BUTTON2_RELEASED NCURSES_MOUSE_MASK(2, NCURSES_BUTTON_RELEASED)
[1929] Fix | Delete
#define BUTTON2_PRESSED NCURSES_MOUSE_MASK(2, NCURSES_BUTTON_PRESSED)
[1930] Fix | Delete
#define BUTTON2_CLICKED NCURSES_MOUSE_MASK(2, NCURSES_BUTTON_CLICKED)
[1931] Fix | Delete
#define BUTTON2_DOUBLE_CLICKED NCURSES_MOUSE_MASK(2, NCURSES_DOUBLE_CLICKED)
[1932] Fix | Delete
#define BUTTON2_TRIPLE_CLICKED NCURSES_MOUSE_MASK(2, NCURSES_TRIPLE_CLICKED)
[1933] Fix | Delete
[1934] Fix | Delete
#define BUTTON3_RELEASED NCURSES_MOUSE_MASK(3, NCURSES_BUTTON_RELEASED)
[1935] Fix | Delete
#define BUTTON3_PRESSED NCURSES_MOUSE_MASK(3, NCURSES_BUTTON_PRESSED)
[1936] Fix | Delete
#define BUTTON3_CLICKED NCURSES_MOUSE_MASK(3, NCURSES_BUTTON_CLICKED)
[1937] Fix | Delete
#define BUTTON3_DOUBLE_CLICKED NCURSES_MOUSE_MASK(3, NCURSES_DOUBLE_CLICKED)
[1938] Fix | Delete
#define BUTTON3_TRIPLE_CLICKED NCURSES_MOUSE_MASK(3, NCURSES_TRIPLE_CLICKED)
[1939] Fix | Delete
[1940] Fix | Delete
#define BUTTON4_RELEASED NCURSES_MOUSE_MASK(4, NCURSES_BUTTON_RELEASED)
[1941] Fix | Delete
#define BUTTON4_PRESSED NCURSES_MOUSE_MASK(4, NCURSES_BUTTON_PRESSED)
[1942] Fix | Delete
#define BUTTON4_CLICKED NCURSES_MOUSE_MASK(4, NCURSES_BUTTON_CLICKED)
[1943] Fix | Delete
#define BUTTON4_DOUBLE_CLICKED NCURSES_MOUSE_MASK(4, NCURSES_DOUBLE_CLICKED)
[1944] Fix | Delete
#define BUTTON4_TRIPLE_CLICKED NCURSES_MOUSE_MASK(4, NCURSES_TRIPLE_CLICKED)
[1945] Fix | Delete
[1946] Fix | Delete
/*
[1947] Fix | Delete
* In 32 bits the version-1 scheme does not provide enough space for a 5th
[1948] Fix | Delete
* button, unless we choose to change the ABI by omitting the reserved-events.
[1949] Fix | Delete
*/
[1950] Fix | Delete
#if NCURSES_MOUSE_VERSION > 1
[1951] Fix | Delete
[1952] Fix | Delete
#define BUTTON5_RELEASED NCURSES_MOUSE_MASK(5, NCURSES_BUTTON_RELEASED)
[1953] Fix | Delete
#define BUTTON5_PRESSED NCURSES_MOUSE_MASK(5, NCURSES_BUTTON_PRESSED)
[1954] Fix | Delete
#define BUTTON5_CLICKED NCURSES_MOUSE_MASK(5, NCURSES_BUTTON_CLICKED)
[1955] Fix | Delete
#define BUTTON5_DOUBLE_CLICKED NCURSES_MOUSE_MASK(5, NCURSES_DOUBLE_CLICKED)
[1956] Fix | Delete
#define BUTTON5_TRIPLE_CLICKED NCURSES_MOUSE_MASK(5, NCURSES_TRIPLE_CLICKED)
[1957] Fix | Delete
[1958] Fix | Delete
#define BUTTON_CTRL NCURSES_MOUSE_MASK(6, 0001L)
[1959] Fix | Delete
#define BUTTON_SHIFT NCURSES_MOUSE_MASK(6, 0002L)
[1960] Fix | Delete
#define BUTTON_ALT NCURSES_MOUSE_MASK(6, 0004L)
[1961] Fix | Delete
#define REPORT_MOUSE_POSITION NCURSES_MOUSE_MASK(6, 0010L)
[1962] Fix | Delete
[1963] Fix | Delete
#else
[1964] Fix | Delete
[1965] Fix | Delete
#define BUTTON1_RESERVED_EVENT NCURSES_MOUSE_MASK(1, NCURSES_RESERVED_EVENT)
[1966] Fix | Delete
#define BUTTON2_RESERVED_EVENT NCURSES_MOUSE_MASK(2, NCURSES_RESERVED_EVENT)
[1967] Fix | Delete
#define BUTTON3_RESERVED_EVENT NCURSES_MOUSE_MASK(3, NCURSES_RESERVED_EVENT)
[1968] Fix | Delete
#define BUTTON4_RESERVED_EVENT NCURSES_MOUSE_MASK(4, NCURSES_RESERVED_EVENT)
[1969] Fix | Delete
[1970] Fix | Delete
#define BUTTON_CTRL NCURSES_MOUSE_MASK(5, 0001L)
[1971] Fix | Delete
#define BUTTON_SHIFT NCURSES_MOUSE_MASK(5, 0002L)
[1972] Fix | Delete
#define BUTTON_ALT NCURSES_MOUSE_MASK(5, 0004L)
[1973] Fix | Delete
#define REPORT_MOUSE_POSITION NCURSES_MOUSE_MASK(5, 0010L)
[1974] Fix | Delete
[1975] Fix | Delete
#endif
[1976] Fix | Delete
[1977] Fix | Delete
#define ALL_MOUSE_EVENTS (REPORT_MOUSE_POSITION - 1)
[1978] Fix | Delete
[1979] Fix | Delete
/* macros to extract single event-bits from masks */
[1980] Fix | Delete
#define BUTTON_RELEASE(e, x) ((e) & NCURSES_MOUSE_MASK(x, 001))
[1981] Fix | Delete
#define BUTTON_PRESS(e, x) ((e) & NCURSES_MOUSE_MASK(x, 002))
[1982] Fix | Delete
#define BUTTON_CLICK(e, x) ((e) & NCURSES_MOUSE_MASK(x, 004))
[1983] Fix | Delete
#define BUTTON_DOUBLE_CLICK(e, x) ((e) & NCURSES_MOUSE_MASK(x, 010))
[1984] Fix | Delete
#define BUTTON_TRIPLE_CLICK(e, x) ((e) & NCURSES_MOUSE_MASK(x, 020))
[1985] Fix | Delete
#define BUTTON_RESERVED_EVENT(e, x) ((e) & NCURSES_MOUSE_MASK(x, 040))
[1986] Fix | Delete
[1987] Fix | Delete
typedef struct
[1988] Fix | Delete
{
[1989] Fix | Delete
short id; /* ID to distinguish multiple devices */
[1990] Fix | Delete
int x, y, z; /* event coordinates (character-cell) */
[1991] Fix | Delete
mmask_t bstate; /* button state bits */
[1992] Fix | Delete
}
[1993] Fix | Delete
MEVENT;
[1994] Fix | Delete
[1995] Fix | Delete
extern NCURSES_EXPORT(bool) has_mouse(void);
[1996] Fix | Delete
extern NCURSES_EXPORT(int) getmouse (MEVENT *);
[1997] Fix | Delete
extern NCURSES_EXPORT(int) ungetmouse (MEVENT *);
[1998] Fix | Delete
extern NCURSES_EXPORT(mmask_t) mousemask (mmask_t, mmask_t *);
[1999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function