updating oE text_color


include graphics.e 
namespace graphics 
public procedure text_color(color c) 

sets the foreground text color.

  1. c : the new text color. Add BLINKING to get blinking text in some modes.

Text that you print after calling text_color will have the desired color.

When your program terminates, the last color that you selected and actually printed on the screen will remain in effect. Thus you may have to print something, maybe just '\n', in WHITE to restore white text, especially if you are at the bottom line of the screen, ready to scroll up.

Example 1:
See Also:

bk_color , clear_screen

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu