reverse text in window
- Posted by dcole Dec 29, 2011
- 1388 views
Hello everyone,
How do I print reverse text in windows?
in DOS:
include graphics.e procedure norm_text() text_color(BRIGHT_RED) bk_color(WHITE) end procedure procedure rev_text() text_color(WHITE) bk_color(BRIGHT_RED) end procedure norm_text() puts(1,"hello" &"\n") rev_text() puts(1,"hello" &"\n")
This works
in Windows:
procedure norm_text() setTextColor(Window1,BrightRed) ????????????(Window1White) end procedure procedure rev_text() setTextColor(Window1,White) ????????????(Window1,BrightRed) end procedure norm_text() wPuts(Window1,"hello") rev_text() wPuts(Window1,"hello")
I don't want to change the background color of the whole window. Just the line that says "hello".
I must be missing something here.
Don Cole