¸®´ª½º ÇÁ·Î±×·¡¸Ó¸¦ À§ÇÑ °¡À̵å
8.9 À©µµ¿ì¿Í ÁÙ Áö¿ì±â (Clear Window and Lines)
- int erase()
int werase(win)
werase(...)¿Í erase()´Â À©µµ¿ì win»óÀÇ ¸ðµç À§Ä¡¿¡ °ø¹éÀ» º¹»çÇÑ´Ù.
¿¹¸¦ µé¾î, À©µµ¿ì¿¡ »ö»ó ¼Ó¼ºÀ» ÁöÁ¤ÇÏ°í werase()¸¦ È£ÃâÇÒ ¶§, À©µµ¿ì´Â color°¡ µÉ
°ÍÀÌ´Ù. Èò»ö À§¿¡ °ËÁ¤»öó·³ ´Ù¸¥ ¼Ó¼ºÀ» Á¤ÀÇÇÏ¿© ÀڽŸ¸ÀÇ erase ÇÔ¼ö¸¦ ¸¸µé¶§
COLOR_PAIRS¿¡ ¾à°£ÀÇ ¹®Á¦°¡ ÀÖ´Ù. (ÀÌ°ÍÀº WINDOW ±¸Á¶¿¡ Á¢±ÙÇÏ´Â ÇÏÀ§ ¼öÁØ(low level)ÀÌ´Ù.):
¹®Á¦´Â ncurses°¡ ¶§¶§·Î ȸéÀÌ °ø¹éÀÏ ¶§ À©µµ¿ì ¼Ó¼ºµéÀ» »ç¿ëÇÒ ¼ö ¾ø´Ù´Â °ÍÀÌ´Ù.
¿¹¸¦ µé¾î, _clrtoeol.c ¾È¿¡ BLANK´Â Á¤ÀǵǾî ÀÖ´Ù.
±×·¡¼ ´Ù¸¥ À©µµ¿ì ¼Ó¼ºµéÀº ÁÙÀÌ Áö¿öÁö´Â µ¿¾È¿¡ ÀÒ¾î¹ö¸°´Ù.
- int clear()
int wclear(win)
erase¿Í °°Áö¸¸ clearok()¸¦ ÁöÁ¤ÇÒ °ÍÀÌ´Ù.
(ȸéÀº ´ÙÀ½ refresh¿¡ ÀÇÇØ Áö¿ö(clear)Áø´Ù.)
- int clrtobot()
int wclrtobot(win)
ÇöÀç Ä¿¼ ÁÙ(½ÃÀÛÁ¡Àº Ä¿¼ÀÇ ¿À¸¥ÂÊ ÇÑ ¹®ÀÚÀÌ´Ù)°ú Ä¿¼ ¾Æ·¡ÀÇ ÁÙÀ» Áö¿î´Ù(clearing).
- int clrtoeol()
int wclrtoeol(win)
Ä¿¼·Î ºÎÅÍ ³¡±îÁö ÇöÀç ÁÙÀÇ ¿À¸¥ÂÊÀ» Áö¿î´Ù.
ÀÌÀü:8.8.4 »ç¿ë ¼±ÅûçÇ× (Use Options)
´ÙÀ½:8.10 ´Ü¸»±â ¾÷µ¥ÀÌÆ® (Updating the Trminal)
Copyright (c) 1996,1997 by Euibeom.Hwang & SangEun.Oh All Rights Reserved
Email To:Webmaster ,
Another address
LAST UPDATE Dec 15,1997
Created Dec 15,1997