note 27900 added to function.ncurses-attron
| From: | joeldegan at rack1 dot php dot net | Date: | Mon, 23 Dec 2002 23:34:34 +0000 |
| Subject: | note 27900 added to function.ncurses-attron | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41237@lists.php.net to get a copy of this message | ||
The following are defined constants..
NCURSES_A_ALTCHARSET Alternate character set
NCURSES_A_BLINK Blinking
NCURSES_A_BOLD Extra bright or bold
NCURSES_A_DIM Half bright
NCURSES_A_INVIS Invisible
NCURSES_A_PROTECT Protected
NCURSES_A_REVERSE Reverse video
NCURSES_A_STANDOUT Best highlighting mode of the terminal
NCURSES_A_UNDERLINE Underlining
so as the following:
ncurses_attron(NCURSES_A_BOLD); // turn on
ncurses_addstr("Press ESC to exit"); // out put
ncurses_hline(NCURSES_ACS_DIAMOND,5);// other fun stuff
ncurses_attroff(NCURSES_A_BOLD); // turn off
Then I start looking around and see that for some reason they are creating functions to do this?
i.e.
ncurses_standout(); // in place of NCURSES_A_STANDOUT ???
and
ncurses_standend();
umm.. guys, this makes no sense to create functions for each of the attr's
Guess we will see once it is final.
--
http://www.php.net/manual/en/function.ncurses-attron.php
http://master.php.net/manage/user-notes.php?action=edit+27900
http://master.php.net/manage/user-notes.php?action=delete+27900
http://master.php.net/manage/user-notes.php?action=reject+27900