Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

SetColour (lines 5546-5567)

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. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson assisted by C Knight.