1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
|
.\"***************************************************************************
.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. *
.\" *
.\" Permission is hereby granted, free of charge, to any person obtaining a *
.\" copy of this software and associated documentation files (the *
.\" "Software"), to deal in the Software without restriction, including *
.\" without limitation the rights to use, copy, modify, merge, publish, *
.\" distribute, distribute with modifications, sublicense, and/or sell *
.\" copies of the Software, and to permit persons to whom the Software is *
.\" furnished to do so, subject to the following conditions: *
.\" *
.\" The above copyright notice and this permission notice shall be included *
.\" in all copies or substantial portions of the Software. *
.\" *
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
.\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
.\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
.\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
.\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
.\" *
.\" Except as contained in this notice, the name(s) of the above copyright *
.\" holders shall not be used in advertising or otherwise to promote the *
.\" sale, use or other dealings in this Software without prior written *
.\" authorization. *
.\"***************************************************************************
.\"
.\" $Id: curs_window.3x,v 1.9 2000/07/01 20:08:37 tom Exp $
.\" Japanese Version Copyright (c) 2002 HAYASHI Kentaro
.\" all rights reserved.
.\"
.TH curs_window 3X ""
.SH ̾
\fBnewwin\fR, \fBdelwin\fR, \fBmvwin\fR, \fBsubwin\fR, \fBderwin\fR,
\fBmvderwin\fR, \fBdupwin\fR, \fBwsyncup\fR, \fBsyncok\fR, \fBwcursyncup\fR,
\fBwsyncdown\fR - \fBcurses\fR ɥ
.SH
\fB#include <curses.h>\fR
\fBWINDOW *newwin(int nlines, int ncols, int begin_y,\fR \fBint begin_x);\fR
.br
\fBint delwin(WINDOW *win);\fR
.br
\fBint mvwin(WINDOW *win, int y, int x);\fR
.br
\fBWINDOW *subwin(WINDOW *orig, int nlines, int ncols,\fR \fBint begin_y, int
begin_x);\fR
.br
\fBWINDOW *derwin(WINDOW *orig, int nlines, int ncols,\fR \fBint begin_y, int
begin_x);\fR
.br
\fBint mvderwin(WINDOW *win, int par_y, int par_x);\fR
.br
\fBWINDOW *dupwin(WINDOW *win);\fR
.br
\fBvoid wsyncup(WINDOW *win);\fR
.br
\fBint syncok(WINDOW *win, bool bf);\fR
.br
\fBvoid wcursyncup(WINDOW *win);\fR
.br
\fBvoid wsyncdown(WINDOW *win);\fR
.br
.SH
\fBnewwin\fRؿƤ֤ȡͿ줿ȹԿĿɥ
Υݥ֤
ɥκιԤ \fIbegin\fR_\fIy\fR, \fIbegin\fR_\fIx\fRǤ롣
⤷\fInlines\fR \fIncols\fR Τɤ餫ʤС
ǥեȤȤ \fBLINES -\fR \fIbegin\fR_\fIy\fR ڤ \fBCOLS -\fIbegin\fR_\fIx\fR
ꤵ롣
Υե륹ɥ\fBnewwin(0,0,0,0)\fRƤ֤Ȥ롣
\fBdelwin\fRؿϴ¸ΥɥϢŤƤ뤹٤ƤΥ롣
ᥤɥκ˥֥ɥͤФʤʤ
\fBmvwin\fRؿϥɥưη̺夬 (\fIx\fR, \fIy\fR)Ȥʤ롣
⤷ɥưȤǥϤߤƤޤʤХ顼Ȥʤꡢ
ɥưʤ
֥ɥưϵƤϤ뤬٤Ǥ롣
\fBsubwin\fRؿͿ줿Կ \fInlines\fR \fIncols\fR
οɥΥݥ֤
ɥϥ(\fIbegin\fR_\fIy\fR, \fIbegin\fR_\fIx\fR)ˤ롣
(ΰ֤ϥФŪʤΤǡ \fIorig\fR ɥФƤǤϤʤ)
֥ɥ \fIorig\fR ɥ濴졢Υɥؤѹ
ΥɥФƱƶڤܤ
֥ɥ \fIorig\fR ɥȥͭ롣
δؿѤݤˤϡ֥ɥ \fBwrefresh\fR Ƥ
\fIorig\fR \fBtouchwin\fR \fBtouchline\fR Ƥɬפ롣
\fBderwin\fRؿ \fBsubwin\fR Ƥ֤ΤƱͤǤꡢ\fIbegin\fR_\fIy\fR
\fIbegin\fR_\fIx\fR ǤϤʤ \fIorig\fR
ɥŪǤƤϡ֥ɥȤΰ㤤Ϥʤ
\fBmvderwin\fRؿϿƥɥ륦ɥ(뤤ϥ֥ɥ)ư
ФŪǤ륦ɥΰѹʤ
δؿϥʪŪƱ֤ˤƥɥȤκ褹
Τ˻Ѥ롣
\fBdupwin\fRؿ \fIwin\fR ɥΤʣ롣
\fBwsyncup\fRؿ \fIwin\fR ѹʤ줿 \fIwin\fR Τ־
롣
⤷ \fBsyncok\fR Ȥ \fBTRUE\fR ȤȤ˸ƤӽФ줿ʤС
ɥѹȤϤĤǤ \fBwsyncup\fR ưŪ˸ƤФ롣
\fBwsyncdown\fRؿΥɥѹ \fIwin\fR ؤȿǤ롣
δؿ \fBwrefresh\fR ˤƤӽФ졢ưǸƤӽФɬפϤʤϤ
\fBwcursyncup\fRؿϥɥΥ֤ȿǤ뤿ˡ
ƤΥɥΥ֤롣
.SH ֤
֤ؿ \fBERR\fR Ի֤\fBOK\fR (SVr4 Ǥ
"\fBERR\fRʳ")֤
.SH
ɥ¿κ٤ѹʤ줿硢\fBwsyncup\fR ץϥѥեޥ㲼⤿餹
\fBsyncok\fR ޥΤʤȤա
.SH Х
֥ɥؿ(\fIsubwin\fR, \fIderwin\fR, \fImvderwin\fR,
\fBwsyncup\fR, \fBwsyncdown\fR, \fBwcursyncup\fR, \fBsyncok\fR)
ԴʼǤꡢʬ˥ƥȤʤƤʤ
System V curses ʸ \fBwsyncup\fR ڤ \fBwsyncdown\fR
μºݤοˤĤƤǤ롣
ñѹˤƶԤ뤳ȤˤʤäƤ褦Ǥ롣
Ǥθ졢 \fBcurses\fR μο XPG4 curses ɸ˽Ƥ롣
XPG4 ͤ١Ȥʤ뤫⤷ʤ
.SH ܿ
XSI Curses 4ϤǤδؿˤĤƴҤ롣
.SH Ϣ
\fBcurses\fR(3X), \fBcurs_refresh\fR(3X), \fBcurs_touch\fR(3X)
.\"#
.\"# The following sets edit modes for GNU EMACS
.\"# Local Variables:
.\"# mode:nroff
.\"# fill-column:79
.\"# End:
|