aboutsummaryrefslogblamecommitdiff
path: root/documentation/manual-pages/ja/man3/curs_attr.3
blob: 569075349968ba97b6ea66ea54e1b732bba901e0 (plain) (tree)
1
             




















































































                                                                               
.\" $FreeBSD$
.\"
.TH curs_attr 3 ""
.SH ̾¾Î
\fBattroff\fR, \fBwattroff\fR, \fBattron\fR, \fBwattron\fR,
\fBattrset\fR, \fBwattrset\fR, \fBstandend\fR, \fBwstandend\fR, \fBstandout\fR,
\fBwstandout\fR - \fBncurses\fR ʸ»ú¤ª¤è¤Ó¥¦¥£¥ó¥É¥¦Â°À­À©¸æ¥ë¡¼¥Á¥ó
.SH ½ñ¼°
\fB#include <ncurses.h>\fR
.br
\fBint attroff(int attrs);\fR
.br
\fBint wattroff(WINDOW *win, int attrs);\fR
.br
\fBint attron(int attrs);\fR
.br
\fBint wattron(WINDOW *win, int attrs);\fR
.br
\fBint attrset(int attrs);\fR
.br
\fBint wattrset(WINDOW *win, int attrs);\fR
.br
\fBint standend(void);\fR
.br
\fBint wstandend(WINDOW *win);\fR
.br
\fBint standout(void);\fR
.br
\fBint wstandout(WINDOW *win);\fR
.br
.SH ²òÀâ
¤³¤ì¤é¤Î¥ë¡¼¥Á¥ó¤Ï¡¢Ì¾Á°ÉÕ¤­¥¦¥£¥ó¥É¥¦¤Î¸½ºß¤Î°À­¤òÁàºî¤·¤Þ¤¹¡£
¥¦¥£¥ó¥É¥¦¤Î¸½ºß¤Î°À­¤Ï¡¢\fBwaddch\fR, \fBwaddstr\fR ¤ª¤è¤Ó
\fBwprintw\fR ¤Ç¥¦¥£¥ó¥É¥¦¤Ë½ñ¤­¹þ¤Þ¤ì¤ë¤¹¤Ù¤Æ¤Îʸ»ú¤ËŬÍѤµ¤ì¤Þ¤¹¡£
°À­¤Ïʸ»ú¤Î¥×¥í¥Ñ¥Æ¥£¤Ç¤¢¤ê¡¢¥¹¥¯¥í¡¼¥ë¤ª¤è¤Ó¹Ô / ʸ»ú¤Î
ÁÞÆþ / ºï½üÁàºî¤Ë¤è¤Ã¤Æʸ»ú¤È¤È¤â¤Ë°ÜÆ°¤·¤Þ¤¹¡£
²Äǽ¤ÊÈϰϤǡ¢¤³¤ì¤Ï²èÌ̤Ëɽ¼¨¤µ¤ì¤¿Ê¸»ú¤Î
¥°¥é¥Õ¥£¥Ã¥¯²ò¼á¤ÎŬÀڤʽ¤Àµ¤È¤·¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£

¥ë¡¼¥Á¥ó \fBattrset\fR ¤Ï¡¢»ØÄê¤Î¥¦¥£¥ó¥É¥¦¤Î¸½ºß¤Î°À­¤ò
\fIattrs\fR ¤ËÀßÄꤷ¤Þ¤¹¡£¥ë¡¼¥Á¥ó \fBattroff\fR ¤Ï¡¢
¾¤Î°À­¤ò¥ª¥ó¤Þ¤¿¤Ï¥ª¥Õ¤ËÀÚ¤êÂؤ¨¤ë¤³¤È¤Ê¤·¤Ë̾Á°ÉÕ¤­Â°À­¤ò¥ª¥Õ¤Ë¤·¤Þ¤¹¡£
¥ë¡¼¥Á¥ó \fBattron\fR ¤Ï¡¢Â¾¤Ë±Æ¶Á¤òµÚ¤Ü¤µ¤º¤Ë̾Á°ÉÕ¤­Â°À­¤ò¥ª¥ó¤Ë¤·¤Þ¤¹¡£
¥ë¡¼¥Á¥ó \fBstandout\fR ¤Ï¡¢\fBattron(A_STANDOUT)\fR ¤ÈƱ¤¸¤Ç¤¹¡£
¥ë¡¼¥Á¥ó \fBstandend\fR ¤Ï¡¢\fBattrset(A_NORMAL)\fR ¤Þ¤¿¤Ï
\fBattrset(0)\fR ¤ÈƱ¤¸¤Ç¤¹¡£
¤¹¤Ê¤ï¤Á¡¢¤¹¤Ù¤Æ¤Î°À­¤ò¥ª¥Õ¤Ë¤·¤Þ¤¹¡£

.SS °À­
\fB<ncurses.h>\fR ¤ËÄêµÁ¤µ¤ì¤¿¼¡¤Î¥Ó¥Ç¥ªÂ°À­¤Ï¡¢
¥ë¡¼¥Á¥ó \fBattron\fR, \fBattroff\fR ¤ª¤è¤Ó
\fBattrset\fR ¤ËÅϤ¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¤·¡¢
\fBaddch\fR ¤ËÅϤµ¤ì¤ëʸ»ú¤ÈÏÀÍýÏ (OR) ¤ò¼è¤ë¤³¤È¤â¤Ç¤­¤Þ¤¹¡£

.nf
\fBA_NORMAL\fR       Ä̾ï¤Îɽ¼¨ (¶¯Ä´É½¼¨¤Ê¤·)
\fBA_STANDOUT\fR     ¥¿¡¼¥ß¥Ê¥ë¤ÎºÇÎɤζ¯Ä´É½¼¨¥â¡¼¥É
\fBA_UNDERLINE\fR    ²¼Àþ¤òÉÕ¤±¤ë
\fBA_REVERSE\fR      ȿž¥Ó¥Ç¥ª
\fBA_BLINK\fR        ¥Ö¥ê¥ó¥¯
\fBA_DIM\fR          Ⱦʬ¤ÎÌÀ¤ë¤µ
\fBA_BOLD\fR         ÆÃÊ̤ÊÌÀ¤ë¤µ¤Þ¤¿¤ÏÂÀ»ú
\fBA_ALTCHARSET\fR   Âå¤ï¤ê¤Î¥­¥ã¥é¥¯¥¿¥»¥Ã¥È
\fBA_CHARTEXT\fR     ʸ»ú¤ò¼è¤ê½Ð¤¹¤¿¤á¤Î¥Ó¥Ã¥È¥Þ¥¹¥¯
\fBCOLOR_PAIR(\fR\fIn\fR\fB)\fR  ¿§¤Î¥Ú¥¢¤ÎÈÖ¹æ \fIn\fR
.fi

¼¡¤Î¥Þ¥¯¥í¤Ï \fBCOLOR_PAIR(\fR\fIn\fR\fB)\fR ¤ÎµÕ¤Ç¤¹¡£

.DS C
\fBPAIR_NUMBER(\fIattrs\fR) \fBCOLOR_PAIR(\fR\fIn\fR\fB)\fR °À­¤ËÂбþ¤¹¤ë
                   ¥Ú¥¢¤ÎÈÖ¹æ¤òÊÖ¤·¤Þ¤¹¡£
.DE

¤³¤ì¤é¤Î¥ë¡¼¥Á¥ó¤ÎÌá¤êÃͤˤϰÕÌ£¤¬¤¢¤ê¤Þ¤»¤ó
(¿¿ô¤¬¡¢¥Þ¥¯¥íŸ³«¤µ¤ì¤¿³ä¤êÅö¤Æ¤È¤·¤Æ¼Â¸½¤µ¤ì¤Æ¤ª¤ê¡¢
ñ¤Ë°ú¿ô¤òÊÖ¤¹¤À¤±¤Ç¤¹)¡£
SVr4 ¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ë¤Ï¡¢¤³¤ì¤é¤Î¥ë¡¼¥Á¥ó¤¬É¬¤º
\fB1\fR ¤òÊÖ¤¹¤È½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢¤³¤ì¤Ï´Ö°ã¤¤¤Ç¤¹¡£
.SH Ãí¼á
\fBattroff\fR, \fBwattroff\fR, \fBattron\fR, \fBwattron\fR,
\fBattrset\fR, \fBwattrset\fR, \fBstandend\fR ¤ª¤è¤Ó
\fBstandout\fR ¤Ï¥Þ¥¯¥í¤Ç¤¢¤ë²ÄǽÀ­¤¬¤¢¤ë¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£
.SH ´ØÏ¢¹àÌÜ
\fBncurses\fR(3), \fBcurs_addch\fR(3), 
\fBcurs_addstr(3), \fBcurs_printw\fR(3)