 |
≫ |
|
|
 |
名称curses.h ― 画面操作および最適化の関数定義 説明目的<curses.h> ヘッダーは、 COLOR_PAIRS、 COLORS、 COLS、 curscr、 LINES、 および stdscr の定義を行います。 定数以下の定数が定義されます。 | EOF | | ファイル終了に対する関数戻り値 | | ERR | | 障害に対する関数戻り値 | | FALSE | | false 論理値 | | OK | | 正常終了に対する関数戻り値 | | TRUE | | true 論理値 | | WEOF | | <wchar.h> に定義された通りの、ファイル終了に対するワイドキャラクタ関数戻り値 |
データ型typedef によって以下のデータ型が定義されます。 | attr_t | | 属性の論理和 | | bool | | 論理データ型 | | chtype | | 文字、属性、カラーペア | | SCREEN | | 不透明な端末表現 | | wchar_t | | <stddef.h> に記述された通りに定義されます。 | | wint_t | | <wchar.h> に記述された通りに定義されます。 | | cchar_t | | ワイドキャラクタの文字列を示します。 | | WINDOW | | 不透明なウィンドウ表現 |
これらのデータ型については、curses_intro のデータ型で詳しく説明します。 <curses.h> を含めると、ヘッダー <stdio.h>、 <term.h>、 <termios.h> および <wchar.h> からのすべての記号が表示可能になります。
属性ビット以下の記号定数は、 attr_t データ型のオブジェクトを操作するために使用されます。 | WA_ALTCHARSET | 代替文字セット | | WA_BLINK | 点滅表示 | | WA_BOLD | 特別な輝度表示つまりボールド | | WA_DIM | 半輝度表示 | | WA_HORIZONTAL | 水平高輝度表示 | | WA_INVIS | 非表示 | | WA_LEFT | 左高輝度表示 | | WA_LOW | 下高輝度表示 | | WA_PROTECT | 保護表示 | | WA_REVERSE | 反転表示 | | WA_RIGHT | 右高輝度表示 | | WA_STANDOUT | 端末の最適高輝度表示モード | | WA_TOP | 上高輝度表示 | | WA_UNDERLINE | アンダースコア | | WA_VERTICAL | 垂直高輝度表示 |
これらの属性フラグは、区別する必要があります。 以下の記号定数は、 chtype データ型のオブジェクト内の属性ビットを操作するために使用されます。 | A_ALTCHARSET | 代替文字セット | | A_BLINK | 点滅表示 | | A_BOLD | 特別な輝度表示つまりボールド | | A_DIM | 半輝度表示 | | A_INVIS | 非表示 | | A_PROTECT | 保護表示 | | A_REVERSE | 反転表示 | | A_STANDOUT | 端末の最適高輝度表示モード | | A_UNDERLINE | アンダースコア |
_XOPEN_CURSES が定義されていて、アプリケーションが _XOPEN_SOURCE_EXTENDED
を 1 に設定している場合以外は、 これらの属性フラグを区別する必要はありません。 以下の記号定数は、 chtype の構成要素を抽出するために、ビットマスクとして使用することができます。 | A_ATTRIBUTES | 属性を抽出するためのビットマスク | | A_CHARTEXT | 文字を抽出するためのビットマスク | | A_COLOR | カラーペア情報を抽出するためのビットマスク |
以下の記号定数は、 chtype の構成要素を抽出するために、ビットマスクとして使用することができます。 | A_ATTRIBUTES | 属性を抽出するためのビットマスク | | A_CHARTEXT | 文字を抽出するためのビットマスク | | A_COLOR | カラーペア情報を抽出するためのビットマスク |
線描用定数<curses.h> ヘッダーは、線描で使用するために以下の表の左側の
2 つの列に示す記号定数を定義します。 ACS_ で始まる記号定数は、 char 定数です。 WACS_ で始まる記号定数は、 cchar_t へのポインタを持つワイドキャラクタインタフェースで使用するための cchar_t 定数です。 以下の POSIX ロケールの POSIX ロケールのデフォルト という列に示す文字は、ターミナルデータベースが、 terminfo(4) の「ライングラフィックス」の項で説明するように、 acsc 機能を使用して値を指定していない場合に使用されます。 | | | POSIX ロケール | |
|---|
| char 定数 | cchar_t 定数 | のデフォルト | 浮き彫りの説明 |
|---|
| ACS_ULCORNER | WACS_ULCORNER | + | 左上隅 | | ACS_LLCORNER | WACS_LLCORNER | + | 左下隅 | | ACS_URCORNER | WACS_URCORNER | + | 右上隅 | | ACS_LRCORNER | WACS_LRCORNER | + | 右下隅 | | ACS_RTEE | WACS_RTEE | + | 右ティー | | ACS_LTEE | WACS_LTEE | + | 左ティー | | ACS_BTEE | WACS_BTEE | + | 下ティー | | ACS_TTEE | WACS_TTEE | + | 上ティー | | ACS_HLINE | WACS_HLINE | - | 横線 | | ACS_VLINE | WACS_VLINE | | | 縦線 | | ACS_PLUS | WACS_PLUS | + | プラス | | ACS_S1 | WACS_S1 | - | スキャンライン 1 | | ACS_S9 | WACS_S9 | _ | スキャンライン 9 | | ACS_DIAMOND | WACS_DIAMOND | + | ダイヤモンド | | ACS_CKBOARD | WACS_CKBOARD | : | E | | ェッカーボード (縦縞) | | | | | ACS_DEGREE | WACS_DEGREE | ' | 度記号 | | ACS_PLMINUS | WACS_PLMINUS | # | プラス/マイナス | | ACS_BULLET | WACS_BULLET | o | 黒丸 | | ACS_LARROW | WACS_LARROW | < | 左向き矢印 | | ACS_RARROW | WACS_RARROW | > | 右向き矢印 | | ACS_DARROW | WACS_DARROW | v | 下向き矢印 | | ACS_UARROW | WACS_UARROW | ^ | 上向き矢印 | | ACS_BOARD | WACS_BOARD | # | 矩 a | | のボード | | | | | ACS_LANTERN | WACS_LANTERN | # | ランタン記号 | | ACS_BLOCK | WACS_BLOCK | # | 正方 a | | ボックス | | | |
カラー関連マクロ以下のカラー関連マクロが定義されます。 COLOR_BLACK COLOR_BLUE COLOR_GREEN COLOR_CYAN COLOR_RED COLOR_MAGENTA COLOR_YELLOW COLOR_WHITE 座標関連マクロ以下の座標関連マクロが定義されます。 void getbegyx(WINDOW *win, int y, int x); void getmaxyx(WINDOW *win, int y, int x); void getparyx(WINDOW *win, int y, int x); void getyx(WINDOW *win, int y, int x); キーコードファンクションキー値を表す以下の記号定数が定義されます。 | キーコード | 説明 |
|---|
| KEY_CODE_YES | wchar_t 変数にキーコードが入っていることを示す | | KEY_BREAK | ブレークキー | | KEY_DOWN | 下向き矢印キー | | KEY_UP | 上向き矢印キー | | KEY_LEFT | 左向き矢印キー | | KEY_RIGHT | 右向き矢印キー | | KEY_HOME | ホームキー | | KEY_BACKSPACE | バックスペース | | KEY_F0 | ファンクションキー ;64 個のキー用スペースが予約される | | KEY_F(n) | n は、0≤n≤63 | | KEY_DL | 行を削除 | | KEY_IL | 行を挿入 | | KEY_DC | 文字を削除 | | KEY_IC | 文字を挿入または挿入モードに入る | | KEY_EIC | 文字挿入モードを終了 | | KEY_CLEAR | 画面をクリア | | KEY_EOS | 画面の最後までクリア | | KEY_EOL | 行の最後までクリア | | KEY_SF | 順方向に 1 行スクロール | | KEY_SR | 逆方向に 1 行スクロール | | KEY_NPAGE | 次のページ | | KEY_PPAGE | 前のページ | | KEY_STAB | タブを設定 | | KEY_CTAB | タブをクリア | | KEY_CATAB | すべてのタブをクリア | | KEY_ENTER | 入力または送信 | | KEY_SRESET | ソフト (部分的な) リセット | | KEY_RESET | リセットまたはハードリセット | | KEY_PRINT | プリントまたはコピー | | KEY_LL | ホームダウンまたはボトム | | KEY_A1 | キーパッドの左上 | | KEY_A3 | キーパッドの右上 | | KEY_B2 | キーパッドの中央 | | KEY_C1 | キーパッドの左下 | | KEY_C3 | キーパッドの右下 |
仮想キーパッドは、次のように配置された 3 × 3 のキーパッドです。 | A1 | UP | A3 | | LEFT | B2 | RIGHT | | C1 | DOWN | C3 |
A1 などのそれぞれの記号は、KEY_A1 などの上記の表のキーコードに対する記号定数に対応しています。
ファンクションキー値を表す以下の記号定数も定義されます。 | キーコード | 説明 |
|---|
| KEY_BTAB | バックタブキー | | KEY_BEG | 開始キー | | KEY_CANCEL | 取り消しキー | | KEY_CLOSE | クローズキー | | KEY_COMMAND | Cmd (コマンド) キー | | KEY_COPY | コピーキー | | KEY_CREATE | 作成キー | | KEY_END | エンドキー | | KEY_EXIT | 終了キー | | KEY_FIND | 検索キー | | KEY_HELP | ヘルプキー | | KEY_MARK | マークキー | | KEY_MESSAGE | メッセージキー | | KEY_MOVE | 移動キー | | KEY_NEXT | 次のオブジェクトキー | | KEY_OPEN | オープンキー | | KEY_OPTIONS | オプションキー | | KEY_PREVIOUS | 前のオブジェクトキー | | KEY_REDO | 再実行キー | | KEY_REFERENCE | 参照キー | | KEY_REFRESH | リフレッシュキー | | KEY_REPLACE | 置き換えキー | | KEY_RESTART | 再起動キー | | KEY_RESUME | 再開キー | | KEY_SAVE | 保存キー | | KEY_SBEG | シフトされた開始キー | | KEY_SCANCEL | シフトされた取り消しキー | | KEY_SCOMMAND | シフトされたコマンドキー | | KEY_SCOPY | シフトされたコピーキー | | KEY_SCREATE | シフトされた作成キー | | KEY_SDC | シフトされた文字削除キー | | KEY_SDL | シフトされた行削除キー | | KEY_SELECT | 選択キー | | KEY_SEND | シフトされた終了キー | | KEY_SEOL | シフトされたクリアキー | | KEY_SEXIT | シフトされた終了キー | | KEY_SFIND | シフトされた検索キー | | KEY_SHELP | シフトされたヘルプキー | | KEY_SHOME | シフトされたホームキー | | KEY_SIC | シフトされた入力キー | | KEY_SLEFT | シフトされた左矢印キー | | KEY_SMESSAGE | シフトされたメッセージキー | | KEY_SMOVE | シフトされた移動キー | | KEY_SNEXT | シフトされた次のオブジェクトキー | | KEY_SOPTIONS | シフトされたオプションキー | | KEY_SPREVIOUS | シフトされた前のオブジェクトキー | | KEY_SPRINT | シフトされた印刷キー | | KEY_SREDO | シフトされた再実行キー | | KEY_SREPLACE | シフトされた置き換えキー | | KEY_SRIGHT | シフトされた右矢印キー | | KEY_SRSUME | シフトされた再開キー | | KEY_SSAVE | シフトされた保存キー | | KEY_SSUSPEND | シフトされた保留キー | | KEY_SUNDO | シフトされた取り消しキー | | KEY_SUSPEND | 保留キー | | KEY_UNDO | 取り消しキー |
関数のプロトタイプ以下のものは関数として宣言されますが、マクロとして定義される可能性もあります。 int addch(const chtype ch); int addchstr(const chtype *chstr); int addchnstr(const chtype *chstr, int n); int addnstr(const char *str, int n); int addstr(const char *str); int addnwstr(const wchar_t *wstr, int n); int addwstr(const wchar_t *wstr); int add_wch(const cchar_t *wch); int add_wchnstr(const cchar_t *wchstr, int n); int add_wchstr(const cchar_t *wchstr); int attroff(int attrs); int attron(int attrs); int attrset(int attrs); int attr_get(attr_t *attrs, short *color_pair, void *opts); int attr_off(attr_t attrs, void *opts); int attr_on(attr_t attrs, void *opts); int attr_set(attr_t attrs, short color_pair, void *opts); int baudrate(void); int beep(void); int bkgd(chtype ch); void bkgdset(chtype ch); void bkgrndset(const cchar_t *wch); int bkgrnd(const cchar_t *wch); int border(chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br); int border_set(const cchar_t *ls, const cchar_t *rs, const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, const cchar_t *tr, const cchar_t *bl, const cchar_t *br); int box(WINDOW *win, chtype verch, chtype horch); int box_set(WINDOW *win, const cchar_t *verch, const cchar_t *horch); bool can_change_color(void); int cbreak(void); int chgat(int n, attr_t attr, short color, const void *opts); int clear(void); int clearok(WINDOW *win, bool bf); int clrtobot(void); int clrtoeol(void); int color_content(short color, short *red, short *green, short *blue); int COLOR_PAIR(int n); int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int overlay); int curs_set(int visibility); int def_prog_mode(void); int def_shell_mode(void); int delay_output(int ms); int delch(void); void delscreen(SCREEN *sp); int delwin(WINDOW *win); int deleteln(void); WINDOW *derwin(WINDOW *orig, int nlines, int ncols, int begin_y, int begin_x); int doupdate(void); WINDOW *dupwin(WINDOW *win); int echo(void); int echochar(const chtype ch); int echo_wchar(const cchar_t *wch); int endwin(void); int erase(void); char erasechar(void); int erasewchar(wchar_t *ch); void filter(void); int flash(void); int flushinp(void); chtype getbkgd(WINDOW *win); int getbkgrnd(cchar_t *wch); int getcchar(const cchar_t *wcval, wchar_t *wch, attr_t *attrs, short *color_pair, void *opts); int getch(void); int getnstr(char *str, int n); int getn_wstr(wint_t *wstr, int n); int getstr(char *str); int get_wch(wint_t *ch); WINDOW *getwin(FILE *filep); int get_wstr(wint_t *wstr); int halfdelay(int tenths); bool has_colors(void); bool has_ic(void); bool has_il(void); int hline(chtype ch, int n); int hline_set(const cchar_t *wch, int n); void idcok(WINDOW *win, bool bf); int idlok(WINDOW *win, bool bf); void immedok(WINDOW *win, bool bf); chtype inch(void); int inchnstr(chtype *chstr, int n); int inchstr(chtype *chstr); WINDOW *initscr(void); int init_color(short color, short red, short green, short blue); int init_pair(short pair, short f, short b); int innstr(char *str, int n); int innwstr(wchar_t *wstr, int n); int insch(chtype ch); int insdelln(int n); int insertln(void); int insnstr(const char *str, int n); int insstr(const char *str); int instr(char *str); int ins_nwstr(const wchar_t *wstr, int n); int ins_wch(const cchar_t *wch); int ins_wstr(const wchar_t *wstr); int intrflush(WINDOW *win, bool bf); int in_wch(cchar_t *wcval); int in_wchstr(cchar_t *wchstr); int in_wchnstr(cchar_t *wchstr, int n); int inwstr(wchar_t *wstr); bool isendwin(void); bool is_linetouched(WINDOW *win, int line); bool is_wintouched(WINDOW *win); char *keyname(int c); char *key_name(wchar_t c); int keypad(WINDOW *win, bool bf); char killchar(void); int killwchar(wchar_t *ch); int leaveok(WINDOW *win, bool bf); char *longname(void); int meta(WINDOW *win, bool bf); int move(int y, int x); int mvaddch(int y, int x, const chtype ch); int mvaddchnstr(int y, int x, const chtype *chstr, int n); int mvaddchstr(int y, int x, const chtype *chstr); int mvaddnstr(int y, int x, const char *str, int n); int mvaddnwstr(int y, int x, const wchar_t *wstr, int n); int mvaddstr(int y, int x, const char *str); int mvaddwstr(int y, int x, const wchar_t *wstr); int mvadd_wch(int y, int x, const cchar_t *wch); int mvadd_wchnstr(int y, int x, const cchar_t *wchstr, int n); int mvadd_wchstr(int y, int x, const cchar_t *wchstr); int mvchgat(int y, int x, int n, attr_t attr, short color, const void *opts); int mvcur(int oldrow, int oldcol, int newrow, int newcol); int mvdelch(int y, int x); int mvderwin(WINDOW *win, int par_y, int par_x); int mvgetch(int y, int x); int mvgetnstr(int y, int x, char *str, int n); int mvgetn_wstr(int y, int x, wint_t *wstr, int n); int mvgetstr(int y, int x, char *str); int mvget_wch(int y, int x, wint_t *ch); int mvget_wstr(int y, int x, wint_t *wstr); int mvhline(int y, int x, chtype ch, int n); int mvhline_set(int y, int x, const cchar_t *wch, int n); chtype mvinch(int y, int x); int mvinchnstr(int y, int x, chtype *chstr, int n); int mvinchstr(int y, int x, chtype *chstr); int mvinnstr(int y, int x, char *str, int n); int mvinnwstr(int y, int x, wchar_t *wstr, int n); int mvinsch(int y, int x, chtype ch); int mvinsnstr(int y, int x, const char *str, int n); int mvinsstr(int y, int x, const char *str); int mvinstr(int y, int x, char *str); int mvins_nwstr(int y, int x, const wchar_t *wstr, int n); int mvins_wch(int y, int x, const cchar_t *wch); int mvins_wstr(int y, int x, const wchar_t *wstr); int mvinwstr(int y, int x, wchar_t *wstr); int mvin_wch(int y, int x, cchar_t *wcval); int mvin_wchnstr(int y, int x, cchar_t *wchstr, int n); int mvin_wchstr(int y, int x, cchar_t *wchstr); int mvprintw(int y, int x, char *fmt, ...); int mvscanw(int y, int x, char *fmt, ...); int mvvline(int y, int x, chtype ch, int n); int mvvline_set(int y, int x, const cchar_t *wch, int n); int mvwaddch(WINDOW *win, int y, int x, const chtype ch); int mvwaddchnstr(WINDOW *win, int y, int x, const chtype *chstr, int n); int mvwaddchstr(WINDOW *win, int y, int x, const chtype *chstr); int mvwaddnstr(WINDOW *win, int y, int x, const char *str, int n); int mvwaddnwstr(WINDOW *win, int y, int x, const wchar_t *wstr, int n); int mvwaddstr(WINDOW *win, int y, int x, const char *str); int mvwaddwstr(WINDOW *win, int y, int x, const wchar_t *wstr); int mvwadd_wch(WINDOW *win, int y, int x, const cchar_t *wch); int mvwadd_wchnstr(WINDOW *win, int y, int x, const cchar_t *wchstr, int n); int mvwadd_wchstr(WINDOW *win, int y, int x, const cchar_t *wchstr); int mvwchgat(WINDOW *win, int y, int x, int n, attr_t attr, short color, const void *opts); int mvwdelch(WINDOW *win, int y, int x); int mvwgetch(WINDOW *win, int y, int x); int mvwgetnstr(WINDOW *win, int y, int x, char *str, int n); int mvwgetn_wstr(WINDOW *win, int y, int x, wint_t *wstr, int n); int mvwgetstr(WINDOW *win, int y, int x, char *str); int mvwget_wch(WINDOW *win, int y, int x, wint_t *ch); int mvwget_wstr(WINDOW *win, int y, int x, wint_t *wstr); int mvwhline(WINDOW *win, int y, int x, chtype ch, int n); int mvwhline_set(WINDOW *win, int y, int x, const cchar_t *wch, int n); int mvwin(WINDOW *win, int y, int x); chtype mvwinch(WINDOW *win, int y, int x); int mvwinchnstr(WINDOW *win, int y, int x, chtype *chstr, int n); int mvwinchstr(WINDOW *win, int y, int x, chtype *chstr); int mvwinnstr(WINDOW *win, int y, int x, char *str, int n); int mvwinnwstr(WINDOW *win, int y, int x, wchar_t *wstr, int n); int mvwinsch(WINDOW *win, int y, int x, chtype ch); int mvwinsnstr(WINDOW *win, int y, int x, const char *str, int n); int mvwinsstr(WINDOW *win, int y, int x, const char *str); int mvwinstr(WINDOW *win, int y, int x, char *str); int mvwins_nwstr(WINDOW *win, int y, int x, const wchar_t *wstr, int n); int mvwins_wch(WINDOW *win, int y, int x, const cchar_t *wch); int mvwins_wstr(WINDOW *win, int y, int x, const wchar_t *wstr); int mvwinwstr(WINDOW *win, int y, int x, wchar_t *wstr); int mvwin_wch(WINDOW *win, int y, int x, cchar_t *wcval); int mvwin_wchnstr(WINDOW *win, int y, int x, cchar_t *wchstr, int n); int mvwin_wchstr(WINDOW *win, int y, int x, cchar_t *wchstr); int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...); int mvwscanw(WINDOW *win, int y, int x, char *fmt, ...); int mvwvline(WINDOW *win, int y, int x, chtype ch, int n); int mvwvline_set(WINDOW *win, int y, int x, const cchar_t *wch, int n); int napms(int ms); WINDOW *newpad(int nlines, int ncols); SCREEN *newterm(char *type, FILE *outfile, FILE *infile); WINDOW *newwin(int nlines, int ncols, int begin_y, int begin_x); int nl(void); int nonl(void); int nocbreak(void); int nodelay(WINDOW *win, bool bf); int noecho(void); void noqiflush(void); int noraw(void); int notimeout(WINDOW *win, bool bf); int overlay(const WINDOW *srcwin, WINDOW *dstwin); int overwrite(const WINDOW *srcwin, WINDOW *dstwin); int pair_content(short pair, short *f, short *b); int PAIR_NUMBER(int value); int pechochar(WINDOW *pad, chtype *ch); int pecho_wchar(WINDOW *pad, const cchar_t *wch); int pnoutrefresh(WINDOW *pad, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol); int prefresh(WINDOW *pad, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol); int printw(char *fmt, ...); int putp(const char *str); int putwin(WINDOW *win, FILE *filep); void qiflush(void); int raw(void); int redrawwin(WINDOW *win); int refresh(void); int resetty(void); int reset_prog_mode(void); int reset_shell_mode(void); int ripoffline(int line, int (*init)(WINDOW *win, int columns)); int savetty(void); int scanw(char *fmt, ...); int scr_dump(const char *filename); int scr_init(const char *filename); int scrl(int n); int scroll(WINDOW *win); int scrollok(WINDOW *win, bool bf); int scr_restore(const char *filename); int scr_set(const char *filename); int setcchar(cchar_t *wcval, const wchar_t *wch, const attr_t attrs, short color_pair, const void *opts); int setscrreg(int top, int bot); SCREEN *set_term(SCREEN *new); int slk_attroff(const chtype attrs); int slk_attr_off(const attr_t attrs, void *opts); int slk_attron(const chtype attrs); int slk_attr_on(const attr_t attrs, void *opts); int slk_attrset(const chtype attrs); int slk_attr_set(const attr_t attrs, short color_pair, void *opts); int slk_clear(void); int slk_init(int fmt); char *slk_label(int labnum); int slk_noutrefresh(void); int slk_refresh(void); int slk_restore(void); int slk_set(int labnum, const char *label, int justify); int slk_touch(void); int slk_wset(int labnum, const wchar_t *label, int justify); int standend(void); int standout(void); int start_color(void); WINDOW *subpad(WINDOW *orig, int nlines, int ncols, int begin_y, int begin_x); WINDOW *subwin(WINDOW *orig, int nlines, int ncols, int begin_y, int begin_x); int syncok(WINDOW *win, bool bf); chtype termattrs(void); attr_t term_attrs(void); char *termname(void); int tigetflag(char *capname); int tigetnum(char *capname); char *tigetstr(char *capname); void timeout(int delay); int touchline(WINDOW *win, int start, int count); int touchwin(WINDOW *win); char *tparm(char *cap, long p1, long p2, long p3, long p4, long p5, long p6, long p7, long p8, long p9); int typeahead(int fildes); int ungetch(int ch); int unget_wch(const wchar_t wch); int untouchwin(WINDOW *win); void use_env(bool boolvalue); int vidattr(chtype attr); int vid_attr(attr_t attr, short color_pair, void *opts); int vidputs(chtype attr, int (*putfunc)(int)); int vid_puts(attr_t attr, short color_pair, void *opt, int (*putwfunc)(int)); int vline(chtype ch, int n); int vline_set(const cchar_t *wch, int n); int vwprintw(WINDOW *win, char *fmt, void *varglist); int vw_printw(WINDOW *win, char *fmt, void *varglist); int vwscanw(WINDOW *win, char *fmt, void *varglist); int vw_scanw(WINDOW *win, char *fmt, void *varglist); int waddch(WINDOW *win, const chtype ch); int waddchnstr(WINDOW *win, const chtype *chstr, int n); int waddchstr(WINDOW *win, const chtype *chstr); int waddnstr(WINDOW *win, const char *str, int n); int waddnwstr(WINDOW *win, const wchar_t *wstr, int n); int waddstr(WINDOW *win, const char *str); int waddwstr(WINDOW *win, const wchar_t *wstr); int wadd_wch(WINDOW *win, const cchar_t *wch); int wadd_wchnstr(WINDOW *win, const cchar_t *wchstr, int n); int wadd_wchstr(WINDOW *win, const cchar_t *wchstr); int wattroff(WINDOW *win, int attrs); int wattron(WINDOW *win, int attrs); int wattrset(WINDOW *win, int attrs); int wattr_get(WINDOW *win, attr_t *attrs, short *color_pair, void *opts); int wattr_off(WINDOW *win, attr_t attrs, void *opts); int wattr_on(WINDOW *win, attr_t attrs, void *opts); int wattr_set(WINDOW *win, attr_t attrs, void *opts); int wbkgd(WINDOW *win, chtype ch); void wbkgdset(WINDOW *win, chtype ch); int wbkgrnd(WINDOW *win, const cchar_t *wch); void wbkgrndset(WINDOW *win, const cchar_t *wch); int wborder(WINDOW *win, chtype ls, chtype rs, chtype ts, chtype bs, chtype tl, chtype tr, chtype bl, chtype br); int wborder_set(WINDOW *win, const cchar_t *ls, const cchar_t *rs, const cchar_t *ts, const cchar_t *bs, const cchar_t *tl, const cchar_t *tr, const cchar_t *bl, const cchar_t *br); int wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts); int wclear(WINDOW *win); int wclrtobot(WINDOW *win); int wclrtoeol(WINDOW *win); void wcursyncup(WINDOW *win); int wdelch(WINDOW *win); int wdeleteln(WINDOW *win); int wechochar(WINDOW *win, const chtype ch); int wecho_wchar(WINDOW *win, const cchar_t *wch); int werase(WINDOW *win); int wgetbkgrnd(WINDOW *win, cchar_t *wch); int wgetch(WINDOW *win); int wgetnstr(WINDOW *win, char *str, int n); int wgetn_wstr(WINDOW *win, wint_t *wstr, int n); int wgetstr(WINDOW *win, char *str); int wget_wch(WINDOW *win, wint_t *ch); int wget_wstr(WINDOW *win, wint_t *wstr); int whline(WINDOW *win, chtype ch, int n); int whline_set(WINDOW *win, const cchar_t *wch, int n); chtype winch(WINDOW *win); int winchnstr(WINDOW *win, chtype *chstr, int n); int winchstr(WINDOW *win, chtype *chstr); int winnstr(WINDOW *win, char *str, int n); int winnwstr(WINDOW *win, wchar_t *wstr, int n); int winsch(WINDOW *win, chtype ch); int winsdelln(WINDOW *win, int n); int winsertln(WINDOW *win); int winsnstr(WINDOW *win, const char *str, int n); int winsstr(WINDOW *win, const char *str); int winstr(WINDOW *win, char *str); int wins_nwstr(WINDOW *win, const wchar_t *wstr, int n); int wins_wch(WINDOW *win, const cchar_t *wch); int wins_wstr(WINDOW *win, const wchar_t *wstr); int winwstr(WINDOW *win, wchar_t *wstr); int win_wch(WINDOW *win, cchar_t *wcval); int win_wchnstr(WINDOW *win, cchar_t *wchstr, int n); int win_wchstr(WINDOW *win, cchar_t *wchstr); int wmove(WINDOW *win, int y, int x); int wnoutrefresh(WINDOW *win); int wprintw(WINDOW *win, char *fmt, ...); int wredrawln(WINDOW *win, int beg_line, int num_lines); int wrefresh(WINDOW *win); int wscanw(WINDOW *win, char *fmt, ...); int wscrl(WINDOW *win, int n); int wsetscrreg(WINDOW *win, int top, int bot); int wstandend(WINDOW *win); int wstandout(WINDOW *win); void wsyncdown(WINDOW *win); void wsyncup(WINDOW *win); void wtimeout(WINDOW * |