|
̾??newwin, delwin, mvwin, subwin, derwin, mvderwin, dupwin, wsyncup, syncok, wcursyncup, wsyncdown - create ncurses windows????#include <ncurses.h>WINDOW *newwin(int nlines, int ncols, int begin_y, intbegin_x); int delwin(WINDOW *win);
????newwin ?롼?????ϡ????????ιԤ????Τ??뿷???????????ɥ????ؤ??ݥ??? ?????????֤??ޤ??????????ɥ??κ??女???ʡ????? begin_y ???? begin_x ?Ǥ??? nlines ?ޤ??? ncols ?Τɤ??餫???????ξ??硢?ǥե????Ȥ? LINES - begin_y ?????? COLS - begin_x ?ˤʤ??ޤ??????????ե륹????????ɥ??? newwin(0,0,0,0) ???ƤӽФ????ȤǺ????????ޤ???delwin ?롼?????ϡ?̾???դ????????ɥ??????????????????б????뤹?٤ƤΥ????? ?????????ޤ? ( ?ºݤˤϥ??????ɥ??β??̥???????õ?ޤ??? ) ?? ???֥??????ɥ??????????Ƥ??顢?ᥤ?????ɥ??????????ޤ??? mvwin ?롼?????ϡ????女???ʡ??????? (x, y) ?ˤ????褦?˥??????ɥ??? ??ư???ޤ?????ư?ˤ??äƥ??????ɥ??????̤????Ϥ߽ФƤ??ޤ??????ϡ??????? ???顼?Ȥʤꥦ?????ɥ??ϰ?ư?????ޤ????֥??????ɥ??? ??ư???뤳?Ȥ??Ǥ??ޤ????????????Ƥ????????? subwin ?롼?????ϡ????????ι? nlines ???? ncols ?Τ??뿷???????????ɥ??? ?ؤ??ݥ????????????֤??ޤ??????????ɥ??ϲ??̾??ΰ??? (begin_y, begin_x) ?ˤ????ޤ? ( ???ΰ??֤ϲ??̤?????Ū?Ǥ??äơ????????ɥ??? orig ??????Ū?ˤǤϤ????ޤ??? ) ?????????ɥ??ϥ??????ɥ? orig ???????˺??????????Τǡ? 1 ?ĤΥ??????ɥ??ˤĤ??ƹԤ??줿?ѹ???ξ???Υ??????ɥ??? ?ƶ????ڤܤ??ޤ??????֥??????ɥ??ϥ??????ɥ? orig ?ȥ?????????ͭ???ޤ??? ???Υ롼?????????Ѥ????Ȥ??ϡ????֥??????ɥ??? wrefresh ???ƤӽФ????ˡ? orig ???? touchwin ?ޤ??? touchline ???ƤӽФ?ɬ?פ??????ޤ??? derwin ?롼?????? subwin ??Ʊ???Ǥ????? begin_y ?? begin_x ???????̤ǤϤʤ????????ɥ? orig ?θ?????????Ū?Ǥ??????ϰۤʤ??ޤ??????֥??????ɥ??? Ƴ?Ф??줿???????ɥ??δ֤˰㤤?Ϥ????ޤ????? mvderwin ?롼?????ϡ??ƥ??????ɥ?????????Ƴ?Ф??줿???????ɥ? ( ?ޤ??ϥ??֥??????ɥ? ) ????ư???ޤ??????????ɥ??β??̤?????Ū?ʥѥ?????? ?ѹ??????ޤ????Υ롼?????????Ѥ??ơ????̾???Ʊ??ʪ??Ū???֤˿? ???????ɥ??Τ??ޤ??ޤ???ʬ??ɽ???Ǥ??ޤ??? dupwin ?롼?????ϡ????????ɥ? win ?????Τ?ʣ???????????ޤ??? ncurses ?γƥ??????ɥ??ϡ??????饯?????????¤?ȥ??ơ???????¤?Ȥ??? 2 ?ĤΥǡ?????¤???ݻ????ޤ????????饯?????????¤?ϡ? ???????ɥ????????Τ??٤ƤΥ??????ɥ??δ֤Ƕ?ͭ?????ޤ? ( ???ʤ????????٤ƤΥ??֥??????ɥ??Τ??륦?????ɥ??Ǥ? ) ?????????ɥ????θ??̤ι??ѹ??˴ؤ??? ?????????äƤ??륹?ơ???????¤?Ϥ??ߤ??Υ??????ɥ????Ф??ƥץ饤?١??? ?Ǥ????롼???? wrefresh ?ϡ????̹??????¹Ԥ????Ȥ??˥??ơ??????ǡ?????¤?? ???Ѥ??ޤ??????ơ???????¤?϶?ͭ?ǤϤʤ??Τǡ????????? 1 ?ĤΥ??????ɥ??? ?Ф??ƹԤ??줿?ѹ??ϲ??̾???Ŭ?ڤ?ȿ?Ǥ????ʤ???ǽ?????????ޤ??? ?롼???? wsyncup ?ϡ????????ɥ??Υ??ơ???????¤?????Ѳ????????????Ĥ? ???ơ???????¤????ȿ?Ǥ??????褦?ˤ??ޤ??? syncok ?? 2 ?֤??ΰ??? TRUE ?? ???ꤷ?ƸƤӽФ??줿???硢???????ɥ??????ѹ??????뤿?Ӥˡ? wsyncup ????ưŪ?˸ƤӽФ????ޤ??? ?롼???? wcursyncup ?ϡ????????ɥ??Τ??٤Ƥ????Ĥθ??ߤΥ??????????֤? ???????ơ????????ɥ??θ??ߤΥ??????????֤?ȿ?Ǥ????褦?ˤ??ޤ??? ?롼???? wsyncdown ?ϡ????????ɥ??Υ??ơ???????¤?????ơ????Ĥ? ???ơ???????¤???Ѳ???ȿ?Ǥ????褦?ˤ??ޤ??????ץꥱ?????????Υ롼???? ???ƤӽФ????ȤϤۤȤ??ɤ????ޤ????? wrefresh ?ˤ??äƼ?ưŪ?˸ƤӽФ????뤫???Ǥ??? ???????롼???????????Ԥ????????? ERR ???֤??Ƥ??ޤ??????????????˴?λ?????????ϡ? ERR ?ʳ????????ͤ??֤??ޤ???delwin ?Ͻ??????Ԥ????????? ERR ???֤??????????????˴?λ?????? OK ???֤??ޤ??? ?ݥ????֤??롼?????ϥ??顼???????? NULL ???֤??ޤ??? ???????????ɥ???¿???ξ??????ѹ????Ԥ????????硢 wsyncup ???ץ??????ˤ??ä???ǽ???㲼??????ǽ?????????ޤ???syncok ?ϥޥ????Ǥ?????ǽ???????뤳?Ȥ????դ??Ƥ????????? ?Х????֥??????ɥ??ؿ? (subwin ?? derwin ?ʤ? ) ?ϡ??Ȥ????¸????Դ????Ǥ??ꡢ?ɤ? ??????Ƥ??ޤ??????äˡ????????????Ȥ????ߺ??Ѥˤ????ƤǤ?????Ϣ????ncurses(3), curs_refresh(3), curs_touch(3) Visit the GSP FreeBSD Man Page Interface. |