Glulx Status Window Control
version 1/100630 by Erik Temple
Section: Changing the background color of the status window
By default, Inform's status line appears "reversed out", with white letters on a black background. If we wish to change this, we first tell Inform that we want a colored instead of a reversed-out background:
set the background of the status window to colored
We then specify a background color:
set the background color of the status window to g-light-grey
If we like, we can also specify a text color:
set the text color of the status window to g-black
Most interpreters will set the text color to black by default when we have elected to use a colored status window, rather than a reversed status window. However, not all interpreters do. Gargoyle, for example, renders Inform's default instruction, for a reversed status window, as dark gray text on a light gray background. We can override this--and attain a much more uniform look across interpreters--by specifically setting the colors. So, to get the default "reversed-out" look even in Gargoyle:
set the background color of the status window to g-black;
set the text color of the status window to g-white
If we've changed are background color and wish to change things back to the default, we type:
set the background of the status window to reversed-out
If we've changed the text color, we will likely need to set it back to the default (reversed) white manually. Note again that none of these styles will take effect until the status window is re-opened.
It should be noted that Spatterlight ignores the reversed styling hint, and Gargoyle uses shades of gray for the type and reversed background. If using an alternate color scheme, we should test the appearance on as wide a range of interpreters as possible.