



SetColour (lines 5546-5567)
Back to List
Browsing parserm.h
5546 #Endif;
5547
5548 [ SetColour f b window;
5549 if (clr_on && f && b) {
5550 if (window == 0) { ! if setting both together, set reverse
5551 clr_fgstatus = b;
5552 clr_bgstatus = f;
5553 }
5554 if (window == 1) {
5555 clr_fgstatus = f;
5556 clr_bgstatus = b;
5557 }
5558 if (window == 0 or 2) {
5559 clr_fg = f;
5560 clr_bg = b;
5561 }
5562 if (statuswin_current)
5563 @set_colour clr_fgstatus clr_bgstatus;
5564 else
5565 @set_colour clr_fg clr_bg;
5566 }
5567 ];
Last updated 27 February 2004. The librarian in charge of this page is Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight. Please email any comments, suggestions or corrections to cedenqs@inform-fiction.org.